Actions run stuck queued with zero jobs; cancel and force-cancel return 409 #206436
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. ⭐ |
|
Your diagnostic work is thorough and the contradiction is real — this isn't a user-side issue, this is a genuine orphaned record on GitHub's backend. The core problem: the workflow-run and check-suite records were created in the API/metadata layer, but the job-scheduler never actually got a workload to process. So:
This is exactly the kind of split-brain record that can't be fixed from the user side — the scheduler and metadata layers disagree on whether a workload actually exists. Your original instinct to disable the workflow was correct — until this is cleared, re-enabling could theoretically cause unexpected behavior if that orphaned record suddenly materializes. Better safe than having a stale run execute old code on production. This needs GitHub staff investigation. Community discussions can't access the scheduler layer to see if a workload actually exists or to manually purge it. File a formal report with GitHub Support and reference this discussion — include:
This is exactly the type of case that needs staff with backend access — they can query the scheduler state directly, determine if there's a stuck workload, and either force-complete or purge the orphaned record. Until then, keeping the workflow disabled is the right call. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Other
Discussion Details
Summary
I appear to have an orphaned / internally inconsistent GitHub Actions workflow run in a production repository.
The public Actions API reports the run as
queued, but the run has zero jobs and zero check runs, and both the normal cancel endpoint and the official force-cancel endpoint return HTTP 409 saying that the workflow run has not been queued yet.Because I cannot determine whether this old run could unexpectedly materialize later, I have disabled the production workflow. This is currently stopping a periodic data-collection workflow and causing gaps in production historical data.
Repository and affected run
MrAlvaro2U/dolarbolivia-widgetActualizar precio del dólar.github/workflows/update_dolar.yml168933053334566809541402541workflow_dispatchmainc98439160f855445a4def820138dec1e92dbf32190658196634Observed state
The public Actions API reports:
status: queuedconclusion: nullrun_attempt: 1previous_attempt_url: nullcreated_at: 2026-09-01T00:55:10Zrun_started_at: 2026-09-01T00:55:10Zupdated_at: 2026-09-01T00:55:10ZAll timestamps have remained frozen at the creation time.
However, the run has:
The associated check suite also remains
queuedwithconclusion: null, but contains zero check runs.This looks like the workflow-run/check-suite records were created, but no actual job/scheduler workload was created.
Cancellation behavior
I first attempted normal cancellation using GitHub's official Actions API.
It returned:
HTTP 409 Conflict
indicating that the workflow run had not yet been queued.
I then made exactly one request to the official force-cancel endpoint:
POST /repos/MrAlvaro2U/dolarbolivia-widget/actions/runs/33456680954/force-cancelIt also returned:
HTTP 409 Conflict
with the exact message:
Force-cancel request ID:
9721:3C9755:30E67C3:C7EC18D:6A965F78No retry or alternative mutation was attempted afterward.
This seems internally contradictory:
queuedqueued00Additional diagnostics
I verified that:
writedisabled_manuallyI also reproduced the same workflow successfully in a separate disposable repository. The workflow completed normally there, including the scraper, validation, commit and normal push.
This suggests that the workflow definition itself is not inherently unable to execute.
Production impact
This workflow periodically collects a USD/Boliviano exchange-rate observation and appends it to historical JSON data used by an application.
I have disabled the production workflow because I cannot establish whether this orphaned run could unexpectedly materialize later and execute its old workflow revision.
As a result, production price-history collection is currently stopped and historical observations are being lost while this issue remains unresolved.
Data integrity checks
Before and after the cancellation attempts I verified that:
mainSHA did not changegh-pagesSHA did not changedolarbolivia.jsondid not changehistorial_dolarbolivia.jsondid not changeTherefore, the diagnostic and cancellation attempts did not modify production data.
What I need help with
Could someone from GitHub please help determine whether this is an orphaned Actions scheduler/control-plane record?
Specifically:
33456680954?cancelled/completedstate or purged server-side?If this requires internal GitHub investigation rather than community troubleshooting, I would appreciate it if this report could be escalated to the appropriate GitHub Actions team.
I can provide the complete REST API responses and additional diagnostics if needed.
Thank you.
All reactions