From 4621f80aee1a78d5e47e3a631d5b1c677b19e96b Mon Sep 17 00:00:00 2001 From: ZacxDev Date: Thu, 6 Aug 2026 18:29:22 -0500 Subject: [PATCH] ci: add workflow_dispatch so a dropped run can be re-triggered MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45d2a2a6..e834c041 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,21 @@ on: push: branches: [main] pull_request: + # Manual trigger — the recovery path when GitHub drops a run. + # + # On 2026-08-06 an Actions incident throttled webhook triggers: push and + # pull_request events stopped creating workflow runs entirely (GitHub-managed + # workflows like CodeQL kept firing, so events WERE arriving — only user + # workflow runs went missing). PR #219 sat unmergeable for hours with no way + # to re-run anything: `gh run rerun` needs an existing run for the head sha, + # and empty commits and a close/reopen both produced nothing, because the + # trigger they rely on was the throttled thing. + # + # workflow_dispatch is the only trigger that does not depend on a webhook. + # It cannot be back-applied — a dispatchable workflow must already exist on + # the default branch — so it is only useful if it lands BEFORE the next + # incident. Do not remove it because it looks unused. + workflow_dispatch: permissions: contents: read