Skip to content

feat(release): 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 schema-2 manifests 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 M3)

  • 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 schema-1 regression test that single-service rc-tag reaping is unchanged.

Acceptance criteria

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

Dependencies

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions