Skip to content

reap release candidate tags within each component's namespace #295

Description

@joshua-temple

Problem / why

Release-candidate tag reaping enumerates tags by the global tag_prefix
(internal/release/release.go). For a multi-component manifest with per-component tag
namespaces, reaping must be confined to the component's prefix so it does not delete another
component's rc tags.

Scope (firm intent, to be refined after P1)

  • Drive cleanupRCTags by the component's tag_prefix, replacing the global ListTags /
    listTags enumeration with a per-component-namespace query.

Files / areas touched

  • internal/release/release.go.

Tests and coverage required

  • Unit / e2e: rc-tag reaping confined to one component's namespace; another component's rc tags
    are untouched.
  • A single-component regression test that rc-tag reaping is unchanged.

Acceptance criteria

  • rc-tag reaping never crosses a component's tag namespace.
  • Single-component reaping is unchanged.

Dependencies

Blocked by the independent promotion milestone. Can land alongside R1 / R2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions