Skipped job leaves its workflow run stuck at in_progress; cancel, force-cancel and delete all fail #204560
Replies: 2 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. ⭐ |
|
This looks much more like a stuck workflow-run record on GitHub's side than a workflow configuration problem. The strongest signals are:
GitHub documents One potentially useful detail: GitHub's workflow-run management documentation says a run can be deleted if it is completed or more than two weeks old. So for these particular runs, I would try the delete endpoint again once each run is older than 14 days. That would not repair the incorrect Until then, I would treat this as a GitHub Actions backend/state reconciliation issue and open a GitHub Support ticket with:
I would not change the job-level So the practical answer seems to be: there is no documented client-side way to repair the run state once both cancellation endpoints fail; retry deletion after the 14-day threshold, and report the stuck records to GitHub Support. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Workflow Configuration
Discussion Details
Six workflow runs have been sitting at
status: in_progresssince August 7–9. Their jobs are finished — the run record just never closed out.Each run has exactly one job, and that job reports
completed/skipped, because the job-levelif:evaluated false. The run itself staysin_progressindefinitely:run 31146705075 in_progress/- job completed/skipped since 2026-08-07T04:12Z
run 31208144696 in_progress/- job completed/skipped since 2026-08-07T18:41Z
run 31257213082 in_progress/- job completed/skipped since 2026-08-08T12:25Z
run 31257343842 in_progress/- job completed/skipped since 2026-08-08T12:29Z
run 31295686247 in_progress/- job completed/skipped since 2026-08-09T04:58Z
run 31308328478 in_progress/- job completed/skipped since 2026-08-09T10:26Z
It is intermittent rather than systematic. The same workflow has ~48 other runs whose single job was also skipped, and every one of those correctly ended as
completed/skipped. Only these six failed to transition.Nothing clears them:
POST /repos/{owner}/{repo}/actions/runs/{id}/cancelFailed to cancel workflow runPOST /repos/{owner}/{repo}/actions/runs/{id}/force-cancelFailed to cancel workflow runDELETE /repos/{owner}/{repo}/actions/runs/{id}Could not delete the workflow runworkflow_runand gates on the upstream conclusion:All reactions