Skip to content

fix(release): restore annotated tag refs before trust checks#134

Merged
pentaxis93 merged 3 commits into
mainfrom
issue-34-restore-annotated-release-tags
May 14, 2026
Merged

fix(release): restore annotated tag refs before trust checks#134
pentaxis93 merged 3 commits into
mainfrom
issue-34-restore-annotated-release-tags

Conversation

@pentaxis93
Copy link
Copy Markdown
Collaborator

Summary

  • Restores annotated tag refs after actions/checkout@v4 so release tag-push workflows validate the original annotated tag object instead of checkout's lightweight local rewrite.
  • Extends release metadata validation and workspace contract coverage so the refetch stays before the annotated-tag trust check.
  • Adds an Unreleased changelog entry for the release workflow fix.

Changes

  • Adds git fetch --tags --force origin immediately after release checkout and before tag-trust checks.
  • Requires release workflows to restore annotated tag refs before checking git cat-file -t.
  • Covers missing and late refetch cases in release metadata tests.

GitHub Issue(s)

Refs tesserine/commons#34

Test plan

  • cargo fmt --check
  • ./scripts/release-check metadata
  • cargo test -p agentd --test release_check
  • cargo test -p agentd --test workspace_contract
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace

@pentaxis93 pentaxis93 merged commit 19ce749 into main May 14, 2026
3 checks passed
@pentaxis93 pentaxis93 deleted the issue-34-restore-annotated-release-tags branch May 14, 2026 03:28
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