Repository navigation
ci(release): remove the dispatch recovery path - #4870
Merged
Merged
Conversation
#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 ran through it, and its keyless signing certificate names release.yaml@refs/tags/release-recovery-nov14 instead of refs/tags/v0.82.0, so aqua and mise refuse to install 0.82.0 (#4829). The trigger also lets anyone with write access start a release run that reaches the release environment (#4797). release.yaml goes back to cargo-dist's tag-push form. The macOS runner pins in dist-workspace.toml stay, as does persist-credentials: false on the crates.io and AUR checkouts. A release whose workflow breaks now ships as the next patch version; the release skill says so at the step that watches the run. Closes #4797
worktrunk-bot
approved these changes
Nov 21, 2026
The source-sha output it pinned to no longer exists; the default checkout is the version tag on a tag push and the PR ref on a PR.
worktrunk-bot
approved these changes
Nov 21, 2026
worktrunk-bot
approved these changes
Nov 21, 2026
1 task
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.
#4789 added a
workflow_dispatchtrigger with arelease_taginput, 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 ofrefs/tags/v0.82.0, so aqua, and mise'saqua:backend, refuse to install 0.82.0 (#4829). The trigger also lets anyone with write access start a run that reaches thereleaseenvironment (#4797).This removes the trigger and its plumbing.
release.yamlnow matches its pre-#4789 form apart from #4805's packslip bump, #4823's PyPI jobs, and twopersist-credentials: falselines (below). The macOS runner pins indist-workspace.tomlstay. 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:
release-recovery-nov14tag is the only ref whoserelease.yamlstill has the trigger, so a dispatch against it reachesreleaseuntil an admin deletes the tag.tend checkreads only the default branch, so it passes once this merges.persist-credentials: falselines Repair macOS release runners and recover existing tags #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.build-pypi-wheelschecked outneeds.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 Repair macOS release runners and recover existing tags #4789.Max chose this on a review page. Checks:
dist plan(0.30.2) still puts the macOS targets onmacos-26andmacos-26-intel; actionlint reports the same 7 shellcheck findings asmain; pre-commit passes.Closes #4797