Skip to content

Keep release verification from losing its base ref on tag runs#348

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-release-workflow-base-ref-2026-04-22-23-34
Apr 22, 2026
Merged

Keep release verification from losing its base ref on tag runs#348
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-release-workflow-base-ref-2026-04-22-23-34

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The v7.0.23 GitHub release was created successfully, but the release workflow failed before npm publish because the tag checkout did not expose main for the Active Agents base-version guard test. This fetches full history during checkout and locks that behavior with metadata coverage so workflow_dispatch or release-tag runs can resolve the base ref consistently.

Constraint: The release workflow runs on published tags where the default checkout can omit origin/main
Rejected: Weaken the version-guard test on release runs | the guard stays useful when the workflow supplies the expected base ref
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep release verification able to resolve a protected base ref on tag-triggered runs; if checkout behavior changes again, update workflow + metadata test together
Tested: node --test test/metadata.test.js --test-name-pattern "release workflow publishes with provenance in CI|release workflow only publishes from published releases or manual dispatch"; openspec validate --specs
Not-tested: Full GitHub Actions rerun until after merge
@NagyVikt NagyVikt merged commit cf0472b into main Apr 22, 2026
@NagyVikt NagyVikt deleted the agent/codex/fix-release-workflow-base-ref-2026-04-22-23-34 branch April 22, 2026 21:36
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