GitHub Actions run stuck queued; UI and API cancellation fail #211761
Replies: 3 comments
This looks like a classic backend desynchronization bug on GitHub's end. It usually happens when the orchestrator registers the top-level workflow run in the database but fails to actually initialize or expand the underlying jobs, leaving the run permanently orphaned in a ghost state. |
|
Your three observations are not conflicting — together they're the exact signature of the orphaned-run family documented in #209225 and #210429:
Since it's a private repo I can't verify the run externally, but the self-serve path for a run stuck this way is documented and time-gated: a workflow run can be deleted once it's completed or older than two weeks. If your run has been queued "several days," wait out the two-week mark from its creation, then:
For preserving the run as evidence, export the job list and metadata first ( |
|
When a run is stuck in
For the stuck one right now: try the API cancel once; if it errors, contact support with the run URL — that's the only remaining path, since a run that can't be cancelled from either surface is wedged on GitHub's end. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Workflow Deployment
Discussion Details
A manually triggered workflow run in a private repository has remained queued for several days with zero jobs and no pending deployment approvals. The Actions UI says “Failed to cancel workflow.” gh run cancel reports that the run is completed, while the force-cancel API returns HTTP 409, saying it has not been queued yet.
Is there a supported way to reconcile the run while preserving its history? I have not deleted or rerun it. Could a stuck run affect future runs in the same concurrency group?
All reactions