You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows shards 2 and 3 hang in the nextest step past the 55 min step cap and 44 min watchdog, leaving no log #12092
release-checkRun package, publish dry-run, VSIX, server archive, and release-readiness proof.status/needs-workActionable and not started. Do not use for partially landed work.
Governing issue or accepted claim: #9272 (terminal Windows test verdict inside the job limit), related #12035.
Observed (run 41281026443, main f99cce6, dispatched 06:29Z):
Shards 1 and 4 completed green (nextest step 33 and 28 min).
Shards 2 and 3 entered Run workspace tests at 06:41Z and 06:39Z and were still in_progress at 07:48Z, 67+ minutes in. The step's timeout-minutes: 55 (~07:34Z) never ended the step, and the in-step watchdog (44 min, ~07:23Z) left no .watchdog or .processes artifact.
The run was cancelled at 07:54Z, at the 80 min job cap. Both shard jobs ended cancelled with the step in_progress, no Upload shard logs, and job logs return HTTP 404. Artifacts exist only for shards 1 and 4 and the doctests.
What this means: the stall reproduces on a run with the 9-of-10 nested-cargo timeouts already cleared (#12015) and the #12051 phase markers in place, but this time it is a whole-step hang, not a 360 s TIMEOUT row, and it produced no evidence. It matches the earlier run 39854834481 (shard 3 outlived GNU timeout and the step cap, cancelled with no log). #12035's phase markers cannot report from a run that loses its logs, so #12035 is not yet explained.
Not established: which test or process hung; whether the runner itself stopped reporting (step timers and the watchdog both failed to fire, which points at the runner or a process-tree wedge rather than at one test); whether shard assignment is deterministic (--partition count:N/4) so the same tests land in shards 2/3 each time.
Next justified actions (not done):
Recover the hung tests by shard: dump cargo nextest list --partition count:2/4 and 3/4 and diff against the known-slow set.
Make the evidence survive a wedge: stream nextest output to the step log (not only a file) and upload partial target/shard-N.log from a separate always-run step on a shorter job cap, so a cancelled shard still leaves a log.
Run shards 2 and 3 with --no-capture/--test-threads reduced to see whether the wedge is concurrency-related.
I have not changed the workflow; filing first because the fix changes how the lane reports and should be reviewed against #9272's design.
#9812 - ci(windows): bound each shard with timeout so a stuck run still uploads its log [closed]
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Decision (coordinator relay, 08:05Z, recorded here and on #9272): go ahead with the diagnosability change because it is reversible and Windows qualification needs it. Scope: stream the nextest log, run Summarize and Upload under always(), leave pass/fail semantics unchanged. Draft PR: #12096. If a wedged runner stops reporting entirely, this cannot help and the next step is the shard-list diff in this issue.
Run 41295637804 (main fc03675, after #12096): shards 2 and 4 failed on ordinary test results, and Summarize failures and Upload shard logs ran and uploaded on both. Shard 4 shows the SLOW rows and the per-test timeout in the streamed log. That is native evidence the streaming and always() steps work for a failing shard on Windows. It is not yet evidence for a job-cap cancel: shard 1 was still running at last check (started 10:14Z). Keeping open until shard 1 either finishes or hits the cap and we can read what survives.
Native result for the job-cap case, run 41295637804 shard 1 (job 124816075930): cancelled at the 80 min job cap (11:28:06Z), and Summarize failures / Upload shard logs stayed pending. They never ran.Run workspace tests (shard 1 of 4) is still recorded as in_progress, so the 55 min step timeout and the 44 min in-step watchdog also did not end the step. No artifact was produced for this shard.
So #12096's always() plus streamed log did not survive a job-cap cancel here. always() runs after a failed or step-cancelled step, but it does not run when the whole job is cancelled at its cap or when the runner stops reporting. This corrects the "intended, not yet observed" wording: it is now observed, and it does not help in this case. The streamed step output is the only possible survivor, and the job log is not retrievable through the API for this job (the live-log read returned nothing useful), so the hung test in shard 1 is still unnamed.
What follows from it: the watchdog at 44 min did not fire or did not kill the process tree, and the step timeout at 55 min did not end the step. The wedge looks like it sits below bash (runner or process-tree level), which is the same shape as the earlier shards 2 and 3 whole-step hangs. Next: read shard 1's log in the Actions UI if retained, and compare against windows-watchdog-qualification.yml, which shows what the watchdog does natively. #12092 and #12035 stay open.
release-checkRun package, publish dry-run, VSIX, server archive, and release-readiness proof.status/needs-workActionable and not started. Do not use for partially landed work.
Activity
coderabbitai commentedon Nov 1, 2026
🔗 Related PRs
#9812 - ci(windows): bound each shard with timeout so a stuck run still uploads its log [closed]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
EffortlessSteven commentedon Nov 1, 2026
Decision (coordinator relay, 08:05Z, recorded here and on #9272): go ahead with the diagnosability change because it is reversible and Windows qualification needs it. Scope: stream the nextest log, run Summarize and Upload under
always(), leave pass/fail semantics unchanged. Draft PR: #12096. If a wedged runner stops reporting entirely, this cannot help and the next step is the shard-list diff in this issue.Generated by Claude Code
Soften #12092 claims to what is observed; give tail 5 s to drain
Follow the shard log with tail -F; file the #12092/#12035/#10847 note…
ci(windows): stream shard log and run summary/upload under always() (#…
EffortlessSteven commentedon Nov 1, 2026
Run 41295637804 (main fc03675, after #12096): shards 2 and 4 failed on ordinary test results, and
Summarize failuresandUpload shard logsran and uploaded on both. Shard 4 shows the SLOW rows and the per-test timeout in the streamed log. That is native evidence the streaming andalways()steps work for a failing shard on Windows. It is not yet evidence for a job-cap cancel: shard 1 was still running at last check (started 10:14Z). Keeping open until shard 1 either finishes or hits the cap and we can read what survives.Generated by Claude Code
EffortlessSteven commentedon Nov 1, 2026
Native result for the job-cap case, run 41295637804 shard 1 (job 124816075930): cancelled at the 80 min job cap (11:28:06Z), and
Summarize failures/Upload shard logsstayedpending. They never ran.Run workspace tests (shard 1 of 4)is still recorded asin_progress, so the 55 min step timeout and the 44 min in-step watchdog also did not end the step. No artifact was produced for this shard.So #12096's
always()plus streamed log did not survive a job-cap cancel here.always()runs after a failed or step-cancelled step, but it does not run when the whole job is cancelled at its cap or when the runner stops reporting. This corrects the "intended, not yet observed" wording: it is now observed, and it does not help in this case. The streamed step output is the only possible survivor, and the job log is not retrievable through the API for this job (the live-log read returned nothing useful), so the hung test in shard 1 is still unnamed.What follows from it: the watchdog at 44 min did not fire or did not kill the process tree, and the step timeout at 55 min did not end the step. The wedge looks like it sits below bash (runner or process-tree level), which is the same shape as the earlier shards 2 and 3 whole-step hangs. Next: read shard 1's log in the Actions UI if retained, and compare against windows-watchdog-qualification.yml, which shows what the watchdog does natively. #12092 and #12035 stay open.
Generated by Claude Code
Qualify the ci slow-timeout claims: late hangs end at the job cap, 20…
Name a hung test on the ci nextest profile with a slow-timeout (#12164)