Skip to content

Repair macOS release runners and recover existing tags - #4789

Merged
max-sixty merged 2 commits into
mainfrom
codex/release-runner-recovery
Nov 14, 2026
Merged

max-sixty merged 2 commits into
mainfrom
codex/release-runner-recovery

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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.

This was written by Codex on behalf of max-sixty

@max-sixty
max-sixty merged commit 9ececf3 into main Nov 14, 2026
37 checks passed
@max-sixty
max-sixty deleted the codex/release-runner-recovery branch November 14, 2026 21:07
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_
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.

2 participants