Skip to content

cleanup: dedup resolve_namespace + minor coordinate tidy-ups #68

Description

@mostlymaxi

Follow-up to #64. Low-risk, not in any hot path; good first issues.

  • resolve_namespace: submit and prune (cargo-athena/src/submit.rs) copy-paste the same 4-tier namespace chain (--namespace -> $ARGO_NAMESPACE -> [defaults].namespace -> "default"). Extract one helper.
  • ProbeInfo.channel is just a serialized derivative of the tag; the one consumer could call api::munge::channel_of(&info.version_tag) and the wire field could be dropped (shrinks the probe protocol).
  • BuildCtx::versioned_name char/edge-dash assert (cargo-athena-core/src/lib.rs) is belt-and-suspenders now that seal_tag is the single tag chokepoint; could become a debug_assert! (keep the load-bearing length assert).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions