Repository navigation
ci: add workflow_dispatch so a dropped run can be re-triggered - #228
Merged
Merged
Conversation
On 2026-08-06 a GitHub Actions incident throttled webhook triggers. Push and pull_request events stopped creating workflow runs entirely — for ~3.5 hours no ci.yml run was created anywhere in the repo. Events were still arriving: GitHub-managed workflows (CodeQL) fired and completed on the same commits, so only user workflow runs went missing. PR #219 sat unmergeable with no recovery path. Every remedy depends on the trigger that was broken: - `gh run rerun` needs an existing run for the head sha; none was created - an empty commit fires `synchronize` — throttled - close + reopen fires `reopened` — throttled - `workflow_dispatch` — not declared workflow_dispatch is the only trigger that does not ride a webhook. It cannot be applied retroactively, because a dispatchable workflow must already exist on the default branch — so it only helps if it lands before the next incident, which is the whole argument for adding it now. No job, permission or step changes: the diff is 15 added lines, 14 of them comment. actionlint clean, verified against a positive control (it reports 16 findings on a deliberately-bad runner label, so its silence here is meaningful). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ZacxDev
added a commit
that referenced
this pull request
Aug 7, 2026
…-push run (#229) The 2026-08-06 Actions incident stopped push events from creating workflow runs. #228 added workflow_dispatch to ci.yml for the same reason; release.yml was left with no recovery at all — its only option is deleting and re-pushing a tag users already install from. The dispatch path cannot simply reuse the default checkout: actions/checkout resolves to the default branch on a dispatch, while goreleaser derives the version, changelog and artifact names from the git tag at HEAD. So the trigger takes a `tag` input and checks it out explicitly, and a guard asserts HEAD is exactly that tag before goreleaser runs. The tag-push path is untouched — the diff is 63 insertions and 0 deletions. `ref: ${{ github.event.inputs.tag }}` renders empty on a push, which actions/checkout treats identically to omitting the key, and the guard step is gated on github.event_name == 'workflow_dispatch'. Co-authored-by: Claude Opus 5 (1M context) <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.
What
Adds
workflow_dispatch:toci.yml. No job, permission or step changes — 15 added lines, 14 of them comment explaining why it exists.Why
On 2026-08-06 a GitHub Actions incident (status page: "Webhook triggers remain throttled during recovery, so many push and pull request events aren't yet triggering new workflow runs") stopped
ci.ymlruns from being created at all. For ~3.5 hours the newestci.ymlrun repo-wide did not advance, across every branch.Events were still arriving — GitHub-managed workflows (CodeQL) fired and completed on the same commits. Only user workflow runs went missing, which made it look like a problem with this repo's config rather than an outage.
#219 was complete, locally green, and unmergeable, with no recovery path. Every remedy depends on the trigger that was broken:
gh run rerunsynchronizereopenedworkflow_dispatchworkflow_dispatchis the only trigger that does not ride a webhook.The catch, and why this can't wait for the next outage
It cannot be applied retroactively — a dispatchable workflow must already exist on the default branch. Adding it during an incident does nothing, because landing it on
mainneeds the same broken CI. It only ever helps if it lands beforehand.That also means it will look permanently unused. The comment in the file says so explicitly, so nobody prunes it as dead config.
Verification
actionlintclean on the changed file and on the unmodifiedorigin/mainversion, checked against a positive control — actionlint reports 16 findings on a deliberately-bad runner label, so its silence here is meaningful rather than a tool that failed to run.Follow-up to #206 / #219.
🤖 Generated with Claude Code