Skip to content

[CTX-1806] chore(ci): raise the Windows job ceiling to 60 minutes - #3135

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-1806/chore-windows-ci-timeout
Nov 13, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-1806/chore-windows-ci-timeout

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The windows job (.github/workflows/ci.yml, Windows check and test) has been cancelled at exactly 40:0x on every run since 2026-11-13, even though every step that completed passed. The ceiling no longer covers a warm-cache run: Run tests (nextest ci profile) alone takes ~24 minutes, and the compat-matrix steps that follow overrun the remaining budget.

Reproduced from the job logs (gh run view <run> --json jobs), all times UTC:

Run Trigger Job start Cancelled Job wall time Step running at cancel Step 12 Run tests (nextest ci profile)
43373625694 PR #3134 06:27:23 07:07:42 40m19s 20 Run compat release matrix 23m45s
43368187475 main push 04:51:26 05:31:43 40m17s 18 Run M1 compatibility matrix 24m15s
43339768784 main push 00:46:50 01:27:10 40m20s 18 Run M1 compatibility matrix 23m56s
43311837317 main push 21:36:01 (11-12) 22:16:19 (11-12) 40m18s 18 Run M1 compatibility matrix 24m17s

In each run steps 1-19 report success; only the cancelled step fails, and the Compat release matrix (Tier 1 aggregate) / M1 matrix (Tier 1 aggregate) jobs then fail as a consequence of that cancellation. Nothing in the job actually regressed — the budget did.

Isolating the shape of a run: ~10 minutes of setup + compile gets to nextest, nextest burns ~24, and ~5-6 minutes of doctests / harness / dev-CLI / WSL2 steps follow before the compat matrices even start. That puts the matrices at ~40 minutes on their own.

Change

timeout-minutes: 40 → 60 for the windows job, with the adjacent comment rewritten to record the current reason (nextest plus the compat release matrix exceed 40 on a warm cache) instead of the stale cold-Cargo.lock/cache-save explanation.

Scope is deliberately minimal:

  • Only the windows job's timeout-minutes and its comment changed.
  • No other job's timeout touched, no steps added/removed/reordered, no continue-on-error.
  • git diff --stat: .github/workflows/ci.yml | 12 +++++++----- (1 file).

60 leaves ~14 minutes for steps 20-25 beyond the 40-minute cutoff. Estimation caveat: step 20 was cancelled before it produced a duration on the PR run, so the precise total under 60 will only be confirmed by the next real Windows run; 60 is 50% headroom over the observed 40-minute wall.

Gates

Gate Command Result
Workflow lint just actionlint exit 0 (no findings)
Diff scope git diff --stat exit 0 — exactly .github/workflows/ci.yml
Comment accuracy gh run view 43373625694 --json jobs exit 0 — step 20 cancelled at 40m19s

actionlint was verified to be able to fail in this worktree (a deliberately malformed timeout-minutes: nope file exits 1 with [syntax-check]), so the clean exit on ci.yml is a real pass, not a no-op.

Observation (not changed here)

Quality gates (timeout-minutes: 30) reached 28m56s in run 43311837317 — 1.1 minutes of headroom left, and 23m36s in 43339768784. It is not this PR's scope, but it is the next job likely to start cancelling at its ceiling and deserves its own follow-up.

Follow-up to the Windows cancellation reported on PR #3134.

Summary by CodeRabbit

  • Chores
    • Increased the Windows CI job timeout to allow more time for checks to complete.

The windows job was cancelled at 40:0x on main runs 43311837317, 43339768784 and 43368187475, and on PR #3134's run 43373625694, each time while step 20 (Run compat release matrix) was still executing. nextest alone takes ~24 minutes warm, so 40 no longer covers nextest plus the compat matrix. 60 restores headroom; per-step bounds are unchanged.
@Xuepoo Xuepoo added chore Chore / maintenance P1 Priority: high labels Nov 13, 2026
@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Windows CI job timeout increases from 40 to 60 minutes. Its comment now describes the test and compatibility-matrix runtime.

Changes: Windows CI

Layer / File(s) Summary
Windows job timeout
.github/workflows/ci.yml
The Windows job timeout changes from 40 to 60 minutes. The comment now describes the test and compatibility-matrix runtime.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested labels: area:ci

Merge Risk: Minimal · up to 687f8

This raises the Windows CI timeout so runs are less likely to be cancelled partway through. It has no production impact, and the next Windows run will show whether 60 minutes is enough.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the Windows CI job timeout is raised from 40 to 60 minutes. The raw summary and PR objectives both describe this single change to .github/workflows/ci.yml, so the titl…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the Windows CI job timeout is raised from 40 to 60 minutes. The raw summary and PR objectives both describe this single change to .github/workflows/ci.yml, so the title matches the changeset. The conventional-commit prefix and ticket tag are acceptable and do not make the title vague.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3e458db8-631c-4793-b415-b0883af55084
Commits

Reviewing files that changed from the base of the PR and between 0b92e27 and 687f855.

Files selected for processing: 1

  • .github/workflows/ci.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@Xuepoo Xuepoo left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guard verification (independent of the lane)

Reviewed PR #3135 ([CTX-1806] chore(ci): raise the Windows job ceiling to 60 minutes) — independent check by the blitz guard, 2026-11-13 16:1x CST.

Checks, PASS each:

  1. Scope is minimal — gh pr diff 3135 touches exactly .github/workflows/ci.yml (git apply --stat: 1 file, +7/-5). No other job's timeout-minutes, no steps added/removed/reordered, no continue-on-error.
  2. The change is only the ceiling + its comment — windows.timeout-minutes: 40 → 60, adjacent comment rewritten to record the current cause (nextest ~24 min + compat matrix) instead of the stale cold-Cargo.lock explanation.
  3. The stated failure mode is real, verified from run data, not prose — gh run view --json jobs on main 43368187475 and 43339768784 both report Windows check and test | completed | cancelled with 29 steps, i.e. cancelled at the ceiling, not a step failure. Matches the PR's table.
  4. The fix is proven by this PR's own leg — Windows check and test PASSES on 687f855b (the only run in the fleet that executes with timeout-minutes: 60). Every other check on the head is green (19 pass, 2 skipping = VM tier main/nightly, expected on a PR).
  5. No dependency/lockfile or gate-weakening side effects — no Cargo.toml/Cargo.lock, no test-skip, no if: false; the job is still a required gate and each step keeps its own bounds.

Residual, non-blocking: the precise wall time under 60 min will only be confirmed by the next real Windows run; 60 gives 50 % headroom over the observed 40:1x, and the PR says so explicitly rather than claiming a measured total.

VERDICT: APPROVE

@Xuepoo
Xuepoo merged commit 9fad582 into main Nov 13, 2026
21 checks passed
@Xuepoo
Xuepoo deleted the ctx-1806/chore-windows-ci-timeout branch November 13, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore / maintenance P1 Priority: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant