Skip to content

ci(check): 45-minute Check budget — merge groups were killed at the 30-minute cap while still green - #2153

Merged
zackees merged 1 commit into
mainfrom
agent/check-timeout-headroom
Nov 22, 2026
Merged

zackees merged 1 commit into
mainfrom
agent/check-timeout-headroom

Conversation

@zackees

@zackees zackees commented Nov 22, 2026

Copy link
Copy Markdown
Member

What

crates-free, one-budget change: .github/workflows/check-ubuntu.yml — the
check job's timeout-minutes goes 30 → 45.

The suite is unchanged. No test is skipped, no per-test budget or retry count
is touched, no gate is relaxed.

Why: three merge-group runs today died at the 30-minute ceiling

run merge group outcome
45023302280 pr-2146-676287f2 cancelled — ##[error]The operation was canceled. at job-cpu: wall=1823s (30.4 min)
45026460907 pr-2146-676287f2 failed on a real flaky test (§ below), not on time
45028183293 pr-2146-676287f2 cancelled at wall=1862s, killed mid-compile of the test binaries
137202752996 PR-run, the green one wall=1650s — 2.5 min of headroom under the cap

A GitHub job that hits timeout-minutes reports as cancelled (the last log
line is ##[error]The operation was canceled., which is exactly what both
killed runs show). CI summary is needs: [..., linux, ...] and fails on any
cancelled need, so a timeout is indistinguishable from a real red from the
merge queue's point of view: the PR was ejected three times today, twice with
no test having failed at all.

Two structural reasons the wall time grew into the cap:

  1. A merge-group ref never restores a warm build cache. setup-soldr reports
    verdict: save skipped: ref refs/heads/gh-readonly-queue/main/pr-… is not the default branch, so every queue build compiles the workspace from cold —
    the 04:25 PR run (whose cache save is allowed) logged 0 HIT, 606 MISS.
  2. The Dell pool was throttled all morning: throttled=3008/17128 periods (18%), throttled_time=2907.7s, host_cpu_pressure=13%, load=40.15 on
    nproc=6 (sibling runs: 16% and 19% throttling, load 47).

45 minutes keeps a bound on a genuinely wedged job while putting the observed
27.5-31 min cycle back inside the budget. If the pool recovers and the cycle
returns to ~20 min, 45 is still cheap: the timeout only costs wall time when
the job is actually stuck.

Verification (real output, this branch)

$ uv run --no-project --with pyyaml python -c "yaml.safe_load(...)"   # parses
jobs: ['pool', 'check', 'glibc-floor', 'python-facade-tests']
check timeout: 45

$ uv run --no-project --with pyyaml python ci/render_workflows.py --check
exit=0                                  # check-ubuntu.yml is hand-written; no render drift

$ uv run --no-project --with pyyaml python -m unittest ci.test_fractional_workflows
Ran 26 tests in 2.661s
OK                                      # caller job timeouts still exceed step budgets

CI on this PR is the real proof: linux / Check must still pass, and the
Render-and-diff / LOC Gate / Crate Gate / Dylint Full jobs are untouched
by a YAML budget.

Related

Drives #2146 (which is otherwise fully green: 25 checks SUCCESS, 9 skipped, 0
failing, mergeStateStatus: CLEAN). #2146 stays open until it merges.

Separately filed while triaging this: #2152 — the merge-group failure in
45026460907 was a real flaky assertion
(empty_core_leg_does_not_inherit_the_sketch_time compares an empty compile
leg against an absolute 30 ms wall-clock bound), a different problem from the
timeout and not fixed here.

…ed at the 30-minute cap

Three merge-group runs today show the old 30-minute ceiling is now inside the
noise band of the Dell pool:

- 45023302280 (pr-2146) cancelled at wall=1823s -> "The operation was canceled."
- 45028183293 (pr-2146) cancelled at wall=1862s, mid-compile of the test binaries
- the one green run of the day, 137202752996, wall=1650s -- 2.5 min of headroom

A merge-group ref never restores a warm build cache (setup-soldr skips
save-cache on a non-default ref), so every queue build compiles from cold, and
the pool was throttled 16-19% of periods all morning. A timed-out job reports
as ,  then fails, and the merge queue ejects the PR --
which is what happened to #2146 three times, twice with no test failure at all.

45 minutes keeps a bound on a wedged job while giving the compile+test cycle
real headroom. The suite itself is unchanged; no test, timeout budget inside a
test, or gate is relaxed here.
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "enabled" at "reviews.pre_merge_checks"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
  • 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

@zackees
zackees added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 7b2aebe Nov 22, 2026
32 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant