Workflow run stuck "in_progress" indefinitely; job finished but run never closes, Cancel workflow fails #209225
Replies: 6 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
One unexplored path: you tried the unauthenticated REST API, but both recovery endpoints work authenticated against your own repo with a PAT (repo scope):
For the support report, your diagnosis is already the complete one — this is a lost job-completion event: the runner finished (
|
|
I'm experiencing a similar issue in Affected run: 36803191551 The WebKit job logs show:
However, the API still reports:
We attempted recovery using an authenticated GitHub CLI:
A separate manually triggered run, 36815485141, on the exact same Head SHA completed successfully:
The original pending WebKit check remains on the PR. We have preserved the job logs and artifacts and have not changed code or merged the PR. Could GitHub staff investigate this apparent inconsistency between the reported run state and the cancellation endpoints, and help finalize the original run/check? Original run: https://github.com/zjch022/gongjuzhan/actions/runs/36803191551 The repository is private, so these links may not be accessible to community members. |
|
We are seeing the same run-state inconsistency in another repository. Could GitHub staff investigate and reconcile the original run/check to its correct terminal state? Please do not rerun it or delete its history. Repository: Timeline on 2026-10-01 (UTC):
At 05:39 UTC, the run page and authenticated REST run/job/check-run/attempt/list endpoints still showed Authenticated recovery requests, attempted once each:
{"message":"Cannot cancel a workflow run that is not in progress.","documentation_url":"https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run","status":"409"}The workflow has We have not deleted the original run or altered its check result. The initial cancellation cause and the internal cause of the state inconsistency remain unknown. GitHub Status showed operational when checked. This inconsistent status prevents reliable operational checks. No credentials, database contents, or full logs are included. |
|
The fact that three separate repositories hit the exact same symptom within a couple of hours of each other is the strongest evidence in this thread. That timing makes a platform-side state glitch far more likely than anything in any of your workflows, and the fact that each of you could still trigger a fresh successful run backs that up. Since cancel, force-cancel, and delete have all been tried with authenticated requests and refused, the remaining route is GitHub Support, using the run IDs and job timelines already collected here as the evidence. Your workflows are not at fault and new runs are unaffected, so the stuck runs can safely be left in place while you wait for support. |
|
I hit the same issue on a self hosted runner on Azure, luckily I could ensure it wasn't keeping the vm alive.. https://github.com/medsplat/fact-batch/actions/runs/36801647450/job/110177562780 (non public, but happy to GH to investigate) |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Workflow Deployment
Discussion Details
Repo: seismik-org/seismik (public)
Run: https://github.com/seismik-org/seismik/actions/runs/36802223497 (CI #170, workflow ci.yml, push to main, commit f30c351)
The
iosjob's last step ("Complete job") reports completed/success at 2026-10-01T02:00:38Z (confirmed via GET /repos/seismik-org/seismik/actions/jobs/110178858154). Despite that, both the job and the parent run still report status=in_progress with no conclusion, and the UI still shows the job spinning, now past 1h10m.Clicking "Cancel workflow" in the UI returns: "Cannot cancel a workflow run that is not in progress." The "..." menu offers no re-run option while the run is in this state, so there is no UI path to recover it. Three downstream jobs (deploy-api, deploy-workers, deploy-web) are gated on this job via
needs:and are stuck waiting indefinitely.Worked around by pushing an empty commit to start a fresh run (https://github.com/seismik-org/seismik/actions/runs/36807560999), but the original run (#170) is still stuck and, as far as I can tell, has no way to be cancelled or cleaned up from the UI or the unauthenticated REST API.
All reactions