Repository navigation
Repair macOS release runners and recover existing tags - #4789
Merged
Merged
Conversation
worktrunk-bot
approved these changes
Nov 14, 2026
This was referenced Nov 15, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 21, 2026
#4789 added a `workflow_dispatch` trigger with a `release_tag` input, so a run started from a trusted non-version tag could publish an existing version tag, plus plumbing that pinned every job to that tag's commit. The 0.82.0 recovery used it. Its keyless signing certificate names the run's own ref, `release.yaml@refs/tags/release-recovery-nov14`, instead of `refs/tags/v0.82.0`, so aqua, and mise's `aqua:` backend, refuse to install 0.82.0 (#4829). The trigger also lets anyone with write access start a run that reaches the `release` environment (#4797). This removes the trigger and its plumbing. `release.yaml` now matches its pre-#4789 form apart from #4805's packslip bump, #4823's PyPI jobs, and two `persist-credentials: false` lines (below). The macOS runner pins in `dist-workspace.toml` stay. A release whose workflow breaks now ships as the next patch version, and the release skill says so at the step that watches the run. To weigh: - The `release-recovery-nov14` tag is the only ref whose `release.yaml` still has the trigger, so a dispatch against it reaches `release` until an admin deletes the tag. `tend check` reads only the default branch, so it passes once this merges. - The `persist-credentials: false` lines #4789 added to the crates.io and AUR checkouts stay. They don't depend on the dispatch path, and both jobs passed with them in the recovery run. - #4823's `build-pypi-wheels` checked out `needs.plan.outputs.source-sha`. It now takes the default checkout, which is the version tag on a tag push and the PR ref on a PR, as it was for every job before #4789. Max chose this on a review page. Checks: `dist plan` (0.30.2) still puts the macOS targets on `macos-26` and `macos-26-intel`; actionlint reports the same 7 shellcheck findings as `main`; pre-commit passes. Closes #4797 > _This was written by Claude Code on behalf of max-sixty_
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v0.82.0 release stopped before publication because cargo-dist selected a retired macOS ARM runner. Pin supported macOS ARM and Intel runners, and allow a trusted workflow tag to publish an existing version tag without moving it.
Recovery resolves the release source once and pins builds, archives, publishers, and packslip metadata to that commit. Only runner configuration may differ from the source tag; other dist configuration changes fail before building. The existing tag-only release environment remains the publishing gate.
Requested as part of the approved v0.82.0 release. Independent review checked source identity and publishing boundaries. Validation: cargo-dist 0.30.2 plan, actionlint workflow validation, pre-commit, source-tag validation cases, and runner-overlay acceptance/rejection checks. Existing ShellCheck findings are unchanged.