Skip to content

Harden v2.0.1 release tag verification - #2

Merged
d-init-d merged 2 commits into
mainfrom
agent/v201-release-guard
Jul 14, 2026
Merged

Harden v2.0.1 release tag verification#2
d-init-d merged 2 commits into
mainfrom
agent/v201-release-guard

Conversation

@d-init-d

Copy link
Copy Markdown
Owner

Summary

  • preserve and verify the remote annotated tag object in a private Git ref namespace
  • bind the tag target to the checked-out source and require main ancestry
  • add explicit failure diagnostics and a regression contract
  • refresh v2.0.1 notes, changelog, and distribution manifest

Verification

  • uv run --no-sync python scripts/release_gate.py --with-dev
  • remote refspec smoke: tag object type, checked-out commit, and main ancestry all pass
  • git diff --check

Root cause

actions/checkout fetches the peeled commit back into refs/tags/<tag> while checking out an annotated tag, so inspecting that local ref incorrectly reports a lightweight tag. The workflow now refetches the authoritative remote tag into refs/aleph-release-tags/<tag> before validation.

@d-init-d
d-init-d merged commit fdadbc2 into main Jul 14, 2026
28 checks passed
@d-init-d
d-init-d deleted the agent/v201-release-guard branch July 26, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant