Repository navigation
chore(release): adopt the release-commit recovery dispatch - #112
Merged
Merged
Conversation
Refs #107 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Adopt the release-commit recovery dispatch (added by #111) in this repository's own
Releaseworkflow, so a release whosemainpush produced no run can be replayed withgh workflow run. This is the bootstrap needed to recover v6.8.0 (commit 8637b93, PR #109), which GitHub never ran during the Actions incident.Issues
Refs #107 (tracking issue; the recovery of v6.8.0 and the 6.9.0 release happen after merge).
Changes
.github/workflows/release.yml: add aworkflow_dispatchtrigger with a requiredrelease-commitinput, make the concurrency grouprelease-${{ inputs.release-commit || github.sha }}, and move both reusable-workflow pins to 19ffb00 (feat(release-tag): recover a release whose main push produced no run #111).README.md: in the recovery section, document that a caller must adopt the trigger before an outage, and what to do once the recovered tag exists.Test plan
actionlint: pass.github/tests/check-concurrency.sh: passconformance/check-concurrency.sh --local . --repo github-workflows: pass.github/tests/examples.sh: passScreenshots
N/A
Risk
Intent
change, depthstandard: a workflow change on the release path, localized, with contracts defined by #111. Thechoretitle releases nothing. This PR's own push run onmainwill still fail at the release-tag reconciliation (Tag v6.8.0 of PR #109 is missing); that failure is expected until the recovery dispatch runs. No breaking change for callers. Review findings awaiting decision or pre-existing: none.How to revert
Revert the merge commit. The dispatch trigger and the pins return to their previous state.
Deployment notes
Merge to
main. After the merge:gh workflow run release.yml --ref main -f release-commit=8637b93fc008b2df9d52fcb307e679e1e7ade366; on HTTP 403, push the temporaryrecover-releasebranch at that commit, dispatch again, then delete the branch. Then re-run the failed jobs of the latest failing push run so release-please opens the 6.9.0 release PR (auto-merged).Post-deploy verification
After the dispatch and the re-run:
git ls-remote --tags origin v6.8.0 v6.9.0lists both tags once the 6.9.0 release PR has auto-merged. Tracked on #107.