Repository navigation
Description
Hitting a reproducible hang on a self-hosted Windows runner. After the
first job completes following a service start, the listener stops
polling the broker entirely. The process stays alive and the runner
shows "Idle" in the UI, but no new GET /message requests ever go
out, so queued jobs sit there until I restart the service.
Happened three times in the last 22 hours. Same log signature every
time — the last BrokerMessageListener line before the silence is:
Get messages has been cancelled using local token source. Continue to get messages with new status.
…and then nothing. OAuth token refreshes keep ticking over on schedule,
so credentials aren't the problem. Restarting the service clears it,
and the next job runs fine — until it finishes, and we're back here.
Runner: 2.334.0 (commit f1995ede5d885c997d13d8eca5467c4ce97fe69c)
OS: Windows Server 2022 Standard, x64, installed as a service
Flow: V2 (useV2Flow: true, serverUrlV2: https://broker.actions.githubusercontent.com/)
Proxy: none (HostContext: No proxy settings were found based on environmental variables)
To reproduce:
- Start the runner service
- Run any job — it succeeds
- Queue another job — runner never picks it up, stays "Idle" in UI
Log excerpt from one of the occurrences:
[2026-05-21 14:42:58Z INFO Listener] Version: 2.334.0
[2026-05-21 14:43:01Z INFO BrokerMessageListener] Session created.
[2026-05-21 14:47:16Z INFO BrokerMessageListener] Received job status event. JobState: Busy
[2026-05-21 14:48:13Z INFO JobDispatcher] Worker finished for job 25a4d756-... Code: 100
[2026-05-21 14:48:13Z INFO JobDispatcher] finish job request ... with result: Succeeded
[2026-05-21 14:48:13Z INFO BrokerMessageListener] Received job status event. JobState: Online
[2026-05-21 14:48:13Z INFO BrokerMessageListener] Get messages has been cancelled using local token source. Continue to get messages with new status.
<-- 73 minutes of silence, no broker polls -->
[2026-05-21 16:01:49Z INFO Runner] Received Ctrl-C signal, stop Runner.Listener and Runner.Worker.
This host was previously running sessions 6+ days at a time without
issue. Started seeing it mid-May.
Searched existing issues for the cancellation log line and didn't find
a match. #186811 (community) describes a similar UI-side symptom but
without listener logs, and #4312 / #1377 / #3526 look like different
root causes (worker hang, older versions, broker outage).
Happy to attach the full _diag logs or run anything diagnostic if it
helps.
Activity
jcdrive commentedon Aug 25, 2026
Hitting this issue as well on Linux.
jcdrive commentedon Aug 25, 2026
Why is this marked as completed, just curious?
fix(ci): move the container runner's workspace to a volume and add a …
menarzullayev commentedon Sep 17, 2026
We hit this on 2.337.0, the latest release, which came out the day after this issue was closed. Linux (the runner runs in a Docker container on Docker Desktop with the WSL2 backend), V2 broker flow, so it does not look fixed.
The signature matches the report. When a job ended (ours had been cancelled by
timeout-minutes), the listener logged:The listener then logged nothing for 7 minutes. The REST API showed the runner
onlinewithbusy: false, four jobs asking for its labels stayedqueued, and noRunner.Workerprocess was left, onlyRunner.Listener.Received ForceTokenRefreshMessageand thenConnection to Broker Server recreated, and jobs queued after that were picked up.Until there is a fix, we run an external watchdog. It restarts the runner when two checks at least 90 s apart both find it online and idle while a job it could take has been queued for more than 3 minutes.
We can share more
_diagexcerpts if that would help.