Skip to content

Download the release candidate outside the checkout - #193

Merged
mxsm merged 1 commit into
mainfrom
mxsm/fix-release-candidate-path
Nov 20, 2026
Merged

mxsm merged 1 commit into
mainfrom
mxsm/fix-release-candidate-path

Conversation

@mxsm

@mxsm mxsm commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Summary

The first 3.2.0 Release run failed at cargo publish: the publish job had downloaded the validated candidate into release-candidate/ inside the checkout, so cargo publish found two uncommitted files and refused to run. Validation had passed and the v3.2.0 tag was already pushed; nothing reached crates.io (latest is still 3.1.0), and no GitHub release was created.

  • the candidate downloads to ${{ runner.temp }}/release-candidate; the digest check runs there and gh release create attaches the crate from $RUNNER_TEMP/release-candidate
  • a repository contract test asserts the candidate stays outside the checkout

Verification

  • python -m unittest discover -s scripts/tests: 38 passed (1 new)
  • the publish job only runs from the Release workflow, so the end-to-end check is the re-run of the 3.2.0 release after this merges

Closes #192

🤖 Generated with Claude Code

The publish job downloaded the validated candidate into release-candidate/
inside the checkout, so cargo publish found two uncommitted files and
refused to run; the first 3.2.0 release failed there after pushing the
v3.2.0 tag. The candidate now goes to $RUNNER_TEMP/release-candidate,
and the digest check and the GitHub release asset read it from there. A
repository contract test keeps the download outside the checkout.

Closes #192

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 20, 2026 12:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@mxsm
mxsm merged commit a57f82b into main Nov 20, 2026
17 checks passed
@mxsm
mxsm deleted the mxsm/fix-release-candidate-path branch November 20, 2026 12:52
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.

Release workflow fails cargo publish on its own candidate files

2 participants