Skip to content

ci: checkout steps in ci.yml get their own time bound - #11442

Merged
cixzhang merged 5 commits into
mainfrom
ci/checkout-step-timeout
Nov 13, 2026
Merged

cixzhang merged 5 commits into
mainfrom
ci/checkout-step-timeout

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Who this helps

Every pull request when GitHub's git service is slow. Three jobs today used their whole 15-minute time inside actions/checkout, before any code ran:

These were on both arm and x64 standard runners within about an hour. Each one cost a full job and a re-run on a fresh grant.

What changes

  • .github/workflows/ci.yml: each checkout step gets its own bound, so a hung checkout fails by name instead of using up the job's time. The bound is for the checkout alone: no job's time, test budget, retry or runner class changes.
    • 54 steps: timeout-minutes: 8. That is above the slowest checkout that still succeeded tonight: docsite-browser took 445 s in green run 43332441339. So no green run would have failed, and a hang still fails by name about 7 minutes before the job's cap.
    • 10 steps in the seven jobs with their own 5-minute time (heavy-ci, native-swift-runner, run-labels, interaction-legs, pr-rtl, release-specs-plan, a11y-dependent-audits-plan): timeout-minutes: 3, so the step fails by name before the job's time runs out. Their slowest normal checkout took 33 s.
    • release-bump and release-merge-back: timeout-minutes: 10. They fetch the whole history (fetch-depth: 0), which takes longest: release-bump took up to 143 s, release-merge-back 45 s (run 43291111597). They run only on release work, where a few more minutes cost little.
    • release-authority: no step bound. The release lanes read a failed release-authority as a refused authority, so a checkout failure there would hold the release window instead of sending the check again. Its job time still bounds a stalled checkout, as today.
  • .github/scripts/ci-checkout-timeout.test.mjs (new): fails if any checkout step in ci.yml lacks its bound (8 minutes, 3 in a job capped at 8 or less, or the named 10-minute and unbounded exceptions), or has a bound that does not fire before its job's own time. Red-first: it fails on main and passes here.
  • .github/scripts/ci-docsite-browser.test.mjs: reads the docsite-browser job's checkout step with its bound.
  • .github/scripts/playwright-legs.test.mjs: compares the interaction counter's checkout with each lane's apart from timeout-minutes, since each takes the bound its own job's time allows.

How long checkouts take today

Sampled at about 23:24Z on 12 November: the 60 newest green CI runs then (2,809 checkout steps), the steps named Checkout in the newest 20 of them, and 52 dispatched release runs for release-authority. Outside tonight's degradation, no checkout took more than 143 s. Green runs after the sample reached 42 s (test, run 43329954756 at 23:48Z) and 30 s (test-ui, run 43328307776 at 23:45Z). An older run outside the 20-run Checkout sample had pr-interaction-webkit's Checkout at 42 s (run 43288665510, 19:56Z). Every step with the 8-minute bound took 45 s or less, and every step with the 3-minute bound 33 s or less.

Job — step fetch-depth Samples p95 Max
release-bump 0 2 143 s 143 s
release-authority (release runs) 0 or 50 52 71 s 80 s
release-merge-back 0 1 45 s 45 s
build-storybook — Checkout 50 20 41 s
docsite-build 1 54 19 s 40 s
test-node 2 258 14 s 37 s
Touched components — Checkout 1 19 34 s
native-swift-runner — scope action 1 57 10 s 33 s
a11y-dependent-audits-plan — scope action 1 57 15 s 32 s
test 1 56 25 s 28 s
typecheck — Checkout 1 20 28 s
test-ui 2 212 16 s 25 s

Every other step shape took 30 s or less (a planner checkout took 27 s in run 43327694170).

The trade-off

A slow fetch that would have recovered after more than 8 minutes now fails, and the job runs again on a fresh grant. Tonight's slowest such fetch took 445 s, under the bound. A fetch that hangs fails at 8 minutes by name, instead of at the 15-minute cap with no reason.

Checkout options today

Asked for to see whether a slow full fetch is the cause. It isn't: typecheck and test-build fetch one commit and test-node fetches two, so the hangs point at the git service, not at what the jobs fetch.

fetch-depth lfs filter tree Jobs
1 (default) false (default) — sparse room, admission, heavy-ci, docsite-build, test-ui, test-node, native-swift-runner, test, run-labels, build-storybook, typecheck, pr-a11y-guards, pr-a11y-specs, interaction-legs, pr-interaction, pr-interaction-webkit, test-build, visual-scout, pr-visual, pr-rtl-shard, pr-rtl-merge, pr-rtl, pr-touched-components, pr-component-a11y-contracts, release-specs-plan, release-specs, a11y-dependent-audits-plan, pr-a11y-dependent-audits
1 (default) false (default) — full tree docsite-build, docsite-browser, test-native-swift, test-registry-e2e, test, typecheck, pr-a11y-shard, pr-a11y-audit, pr-a11y-guards, pr-a11y-specs, a11y-contracts-shard, pr-interaction, pr-interaction-webkit, test-build, visual-scout, pr-visual, pr-rtl-shard, pr-rtl-merge, pr-rtl, pr-touched-components, pr-component-a11y-contracts, release-specs, a11y-dependent-audits-plan, pr-a11y-dependent-audits
0 false (default) — full tree release-bump, release-merge-back
2 false (default) — full tree test-ui, test-node
${{ inputs['release-branch'] != 'main' && '0' '50' }} false (default) —
50 false (default) — full tree build-storybook

No step uses lfs or a partial-clone filter.

CI impact

+0 jobs or steps; one key on 66 existing checkout steps. Runner classes, job minutes, runner pools and time to green are unchanged until a bound fires, which happens only when a checkout takes more than 8 minutes (3 in the 5-minute jobs, 10 in the two release jobs). actionlint reports nothing new.

Three jobs today used their whole 15-minute time inside actions/checkout,
before any code ran (#9810 typecheck, #8690 test-node 2/5, #10424 test-build).
Each checkout step now has its own 5-minute bound, so a hung checkout fails
by name in minutes. The bound is for the tool alone and lowers no test
budget. A workflow test keeps every checkout step bounded.
@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 13, 2026 2:09am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 12, 2026
@astracat-bot

astracat-bot Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 13, 2026, 2:30 AM UTC

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 765723f

Storybook · Sandbox · built from this PR's head

Package size: no published package changed; no new dependencies.

Not run on this PR: add ci:run-visual, ci:run-a11y or ci:run-rtl to run them.

CI impact: +52.7 job-min per update · pool +44% · time to green +0.7 min · non-standard runners · 3 CI action or script files changed (not measured) ⚠️
Before After Change
Job-minutes per PR update 118.6 171.3 +52.7
Runner pool, runner-minutes a day 52,955 76,481 +23,526 (+44%)
Average concurrent jobs 36.8 53.1 +16.3
Time to green (median → this run) 22.4 min 23.1 min +0.7 min
Runs a day 446 446 0

Changed jobs: Accessibility spec-test contracts changed: standard or non-standard by event (4-core-ubuntu) · a11y-dependent-audits-plan changed: standard · admission changed: standard · build-storybook changed: standard or non-standard by event (4-core-ubuntu) · docsite-browser changed: standard · docsite-build changed: standard · heavy-ci changed: standard · interaction-legs changed: standard · native-swift-runner changed: standard · pr-a11y changed: standard or non-standard by event (2-core-ubuntu-arm, 4-core-ubuntu) · Dependent audits changed: standard · Component accessibility contracts changed: standard · pr-interaction changed: standard · pr-interaction-webkit changed: standard · pr-rtl changed: standard or non-standard by event (2-core-ubuntu-arm, 4-core-ubuntu) · Touched components changed: standard · Stable visual regression changed: standard or non-standard by event (2-core-ubuntu-arm) · release-bump changed: non-standard (2-core-ubuntu-arm) · release-merge-back changed: standard or non-standard by event (4-core-ubuntu) · release-specs changed: non-standard (4-core-ubuntu) · release-specs-plan changed: standard · room changed: standard · run-labels changed: standard · test changed: standard · test-build changed: standard · test-native-swift changed: standard · test-node changed: standard · test-registry-e2e changed: standard · test-ui changed: standard · typecheck changed: standard or non-standard by event (2-core-ubuntu-arm) · Stable visual scout changed: standard or non-standard by event (4-core-ubuntu)

Not measured (the jobs that use these keep their recent minutes above): .github/scripts/ci-checkout-timeout.test.mjs, .github/scripts/ci-docsite-browser.test.mjs, .github/scripts/playwright-legs.test.mjs.

Flags: runner-pool usage +44%.

Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.


Generated by PR Enrichment workflow | View full report

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested: the 5-minute checkout bound looks right, but this head breaks one existing workflow test and the description misstates one fact.

  • .github/scripts/ci-docsite-browser.test.mjs:233 still expects the docsite-browser job's first step to equal {uses: 'actions/checkout@v7'}, so it fails now that the step has timeout-minutes: 5 (CI's test-node (3/5) fails on it); change it to {uses: 'actions/checkout@v7', 'timeout-minutes': 5}.
  • The description says the three hung jobs all fetch one commit (depth 1), but test-node (2/5) hung in its fetch-depth: 2 checkout (ci.yml:1174-1178, as the description's own table shows); please say that typecheck and test-build fetch one commit and test-node fetches two.

Worth a look, not blocking: a stalled release-authority checkout now ends as a failure, which main-heavy-lanes.yml reads as a refused authority, so that release-check holds the 175-minute window and counts as the pre-cut start instead of being sent again. The CI impact section could also name the runner class, which is unchanged.

Claims and files checked
  • Three jobs spent their whole 15 minutes inside checkout before any code ran: verified (896 s, 895 s and 891 s in checkout).
  • Those jobs ran on arm and x64 standard runners within about an hour: verified (two arm, one x64, within 45 minutes).
  • Each cost a full job and a re-run: the full job is verified; the re-run is not visible in the runs.
  • Every one of the 67 checkout steps in ci.yml gets timeout-minutes: 5: verified (67 of 67; none had one before).
  • The bound covers only the checkout, with no job time, test budget or retry setting changed: verified for job limits and test budgets; see the note on the release scheduler.
  • A checkout normally takes seconds: verified (median 2 s, slowest 45 s across 347 recent checkouts).
  • The new test fails when a checkout step lacks the bound, failing on main and passing here: verified (on main it lists all 67 steps).
  • The checkout-options table, and no step uses lfs or a partial-clone filter: verified against ci.yml.
  • The three hung jobs all fetch one commit (depth 1): false for test-node, which fetches two.
  • No jobs or steps are added, and a hung job ends about 10 minutes sooner: verified for the 15-minute jobs.
  • actionlint reports nothing new: verified (Lint's actionlint step passes on this head).
  • .github/workflows/ci.yml: breaks ci-docsite-browser.test.mjs:233 (above); otherwise clear.
  • .github/scripts/ci-checkout-timeout.test.mjs: clear.

Automated review (maintainer link)

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
…thority keeps none

release-bump and release-merge-back fetch the whole history (release-bump
took up to 143 s), so their checkouts stop after 10 minutes. The release
lanes read a failed release-authority as a refused authority, so its
checkout keeps only its job's time. The docsite-browser test reads the
bounded checkout step.
@cixzhang
cixzhang marked this pull request as draft November 13, 2026 00:37
@cixzhang
cixzhang marked this pull request as ready for review November 13, 2026 00:40

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested: both earlier fixes landed (the docsite-browser test now expects the bounded step, and the fetch depths are right), but the title and the description's evidence no longer match this head.

  • The title "every checkout step in ci.yml stops after 5 minutes" and the guard's header comment (ci-checkout-timeout.test.mjs:4) are broader than the change, since release-bump and release-merge-back stop after 10 minutes and release-authority has no step bound; please retitle (for example "ci: checkout steps in ci.yml get their own time bound"), update the header, and change "67 existing steps" to 66.
  • The timing table leaves out all 14 steps named Checkout (five of them took 28–42 s in recent green runs, against "every other shape's maximum is under 14 s"), and release-merge-back did run recently: its checkout took 45 s in run 43291111597 on 12 November.
  • "No cost unless a checkout hangs" does not hold for a slow fetch that recovers: in green run 43332441339, docsite-browser's checkout took 445 s and the job still passed, while at this head that step fails at 5 minutes and takes the required docsite-test with it, so please state that trade-off or set a bound above the slowest checkout that still succeeded.

Worth a look, not blocking: the CI impact section could name the runner classes (unchanged) and the job-minute and pool figures, as the CI spec asks.

Claims and files checked
  • Three jobs spent their whole 15 minutes in checkout before any code ran: verified (896 s, 895 s and 891 s).
  • Those ran on arm and x64 standard runners within about an hour: verified (two arm, one x64, within 30 minutes).
  • Each cost a full job and a re-run: the full job is verified; a re-run is visible for the typecheck run only.
  • 64 checkout steps get a 5-minute bound and the two full-history checkouts get 10 minutes: verified.
  • No job time, test budget, retry or runner class changes: verified (job limits and runners are identical).
  • release-bump's checkout took up to 143 s: verified.
  • release-merge-back has no recent run to measure: false (45 s on 12 November).
  • release-authority keeps no step bound because the release lanes read its failure as a refused authority, and its runner still stops a stalled checkout: verified.
  • The new test fails on main and passes here: verified (66 steps listed on main; both tests pass here).
  • The docsite-browser test reads the bounded checkout step: verified (14 of 14 pass).
  • typecheck and test-build fetch one commit and test-node fetches two: verified.
  • The checkout options table, with no lfs or partial-clone filter: verified.
  • The 12 slowest shapes are listed and every other shape stays under 14 s: false (steps named Checkout are missing; five took 28–42 s).
  • build-storybook's checkout timing is to be added: not yet in the description (p95 15 s, slowest 41 s over 43 recent runs).
  • No jobs or steps added: verified; one key on 67 steps: false (66).
  • No cost unless a checkout hangs: false for a 445 s fetch that recovered.
  • actionlint reports nothing new: verified (the actionlint step passes on this head).
  • .github/workflows/ci.yml: bound values and exceptions match the description; see the cost finding above.
  • .github/scripts/ci-checkout-timeout.test.mjs: its header overstates the rule (above); otherwise clear.
  • .github/scripts/ci-docsite-browser.test.mjs: clear.

Automated review (maintainer link)

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
…hat still succeeded

A green run tonight had a checkout take 445 s and still pass, so 5 minutes
would have failed it. Hangs still fail by name, about 7 minutes before the
job's cap.
@cixzhang cixzhang changed the title ci: every checkout step in ci.yml stops after 5 minutes ci: checkout steps in ci.yml get their own time bound Nov 13, 2026
@cixzhang
cixzhang marked this pull request as draft November 13, 2026 01:06
@cixzhang
cixzhang marked this pull request as ready for review November 13, 2026 01:12

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested: the earlier fixes landed (the retitle, the guard's header, the 45 s merge-back figure, and an 8-minute bound above the 445 s checkout that still passed), but two points remain.

  • Miss: the seven jobs capped at 5 minutes (heavy-ci, native-swift-runner, run-labels, interaction-legs, pr-rtl, release-specs-plan, a11y-dependent-audits-plan) stop their 10 checkout steps before the 8-minute bound can fire, so a hang there still ends as an unnamed 5-minute job timeout, against the description's "fails by name about 7 minutes before the job's cap", and the guard (ci-checkout-timeout.test.mjs:51) locks in that unreachable value; a bound under the job limit for those jobs in the guard's BOUND table (their checkouts took 33 s at most, so 3 minutes fits) would fix it.
  • The timing figures do not hold for the 60 newest green CI runs before this head: there the test checkout took 42 s (run 43329954756) and a test-ui checkout 30 s (run 43328307776), not 28 s and 25 s, and pr-interaction-webkit's Checkout took 42 s (run 43288665510), against "Every other step shape took 24 s or less", so please correct them or say when the sample was taken.

Worth a look, not blocking: the CI impact section could add the job-minute, runner-pool and time-to-green figures the CI spec lists, all unchanged until a bound fires.

Claims and files checked
  • Three jobs spent their whole 15 minutes in checkout before any code ran: verified (896 s, 895 s and 891 s).
  • They ran on arm and x64 standard runners within about an hour: verified (two arm, one x64, within 30 minutes).
  • Each cost a full job and a re-run: the full job is verified; a re-run is visible for the typecheck run only.
  • 64 checkout steps get an 8-minute bound, above the slowest checkout that still succeeded (445 s): verified.
  • No green run would have failed: verified over 75 recent green runs.
  • A hang still fails by name about 7 minutes before the job's cap: false for the seven jobs capped at 5 minutes.
  • The two full-history release checkouts get 10 minutes and took up to 143 s and 45 s: verified.
  • release-authority keeps no step bound because the release lanes read its failure as a refused authority, and its job time still bounds a stalled checkout: verified.
  • No job time, test budget, retry or runner class changes: verified (the workflow is otherwise identical).
  • The new test fails on main and passes here: verified (66 steps listed on main).
  • The docsite-browser test reads the bounded checkout step: verified (14 of 14 pass).
  • Timing rows for release-bump, release-authority, release-merge-back, build-storybook, docsite-build, test-node, touched components, native-swift-runner, a11y-dependent-audits-plan and typecheck: verified maxima.
  • Timing rows for test (28 s) and test-ui (25 s): false for the 60 newest green runs (42 s and 30 s).
  • Every other step shape took 24 s or less: false for the 60 newest green runs (42 s and 27 s).
  • Outside the degradation no checkout took over 143 s and every bounded step took 45 s or less: verified.
  • typecheck and test-build fetch one commit and test-node two; the checkout options table; no lfs or partial-clone filter: verified.
  • No jobs or steps added, one key on 66 steps, runner classes unchanged: verified.
  • No cost unless a checkout passes its bound: verified.
  • actionlint reports nothing new: verified (the actionlint step passes on this head).
  • .github/workflows/ci.yml: bounds and exceptions match the description, except the seven 5-minute jobs (above).
  • .github/scripts/ci-checkout-timeout.test.mjs: compares step values only, so it accepts the unreachable bounds (above); otherwise clear.
  • .github/scripts/ci-docsite-browser.test.mjs: clear.

Automated review (maintainer link)

Comment thread .github/workflows/ci.yml Resolved
Seven jobs have their own 5-minute time, so an 8-minute checkout bound there
never fired: a hang still ended as an unnamed job timeout. Their 10 checkout
steps stop after 3 minutes, about five times their slowest normal checkout
(33 s). The guard checks every checkout bound is below its job's time.
@cixzhang
cixzhang marked this pull request as draft November 13, 2026 01:33
@cixzhang
cixzhang marked this pull request as ready for review November 13, 2026 01:34

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested: the seven 5-minute jobs now get a 3-minute checkout bound and the guard checks every bound against its job's limit, which fixes the last review's code blocker, but two points remain.

  • .github/scripts/playwright-legs.test.mjs:654 now fails in CI's test-node (1/5), so the required test check fails, because it expects the first step of interaction-legs to equal the first step of pr-interaction and pr-interaction-webkit, and this head gives that checkout 3 minutes (ci.yml:2687) while those lanes keep 8; comparing the two steps without timeout-minutes there would fix it, since the new guard already owns each bound.
  • The timing section dates its sample to "about 00:00Z" but calls runs 43329954756, 43328307776 and 43288665510 later, though they went green at 23:48, 23:45 and 19:56 UTC on 12 November, inside that sample, where the test 28 s, test-ui 25 s and "24 s or less" figures do not hold (the planner checkout took 27 s in run 43327694170); please give the real sample time and describe 43288665510 as outside the 20-run Checkout sample instead of as a later run.
Claims and files checked
  • Three jobs spent their whole 15 minutes in checkout before any code ran: verified (896 s, 895 s and 891 s).
  • They ran on arm and x64 standard runners within about an hour: verified (two arm, one x64, within 45 minutes).
  • Each cost a full job and a re-run: the full job is verified; a re-run is visible for the typecheck run only.
  • 54 checkout steps get an 8-minute bound, above the slowest checkout that still succeeded (445 s), so no green run would have failed: verified.
  • A hang fails by name about 7 minutes before the job's limit: verified for the 15-minute jobs.
  • The 10 checkout steps in the seven 5-minute jobs get 3 minutes, which fires before the job's limit, and their slowest normal checkout took 33 s: verified.
  • The two full-history release checkouts get 10 minutes, took up to 143 s and 45 s, and run only on release work: verified.
  • release-authority keeps no step bound because the release lanes read its failure as a refused authority, and its job time still bounds a stall: verified.
  • No job time, test budget, retry or runner class changes: verified (the workflow is otherwise identical).
  • The guard enforces each bound and that it fires before its job's limit, fails on main and passes here: verified.
  • The docsite-browser test reads the bounded checkout step: verified.
  • The sample was taken at about midnight UTC and the 42 s and 30 s runs came later: false (they went green before then, inside the sample).
  • The pr-interaction-webkit 42 s checkout came from a later run: false (that run went green about four hours earlier).
  • Table maxima for release-bump, release-authority, release-merge-back, build-storybook, docsite-build, test-node, touched components, native-swift-runner, the a11y plan's scope action and typecheck: verified.
  • Table maxima for test (28 s) and test-ui (25 s), and every other step shape at 24 s or less: false for a sample at midnight UTC (42 s, 30 s and 27 s).
  • Outside the degradation no checkout took over 143 s; every 8-minute step took 45 s or less and every 3-minute step 33 s or less: verified.
  • typecheck and test-build fetch one commit and test-node two; the checkout options table; no lfs or partial-clone filter: verified.
  • No jobs or steps added, one key on 66 steps; runner classes, job minutes, runner pools and time to green unchanged until a bound fires: verified.
  • actionlint reports nothing new: verified (the actionlint step passes on this head).
  • .github/workflows/ci.yml: bounds and exceptions match the description; the 3-minute interaction-legs bound breaks an existing test (above).
  • .github/scripts/ci-checkout-timeout.test.mjs: clear.
  • .github/scripts/ci-docsite-browser.test.mjs: clear.

Automated review (maintainer link)

Comment thread .github/workflows/ci.yml Resolved

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved: CI's full run passed on this head.

Each ci.yml checkout step except release-authority's now stops on its own bound (8 minutes, 3 in the seven 5-minute jobs, 10 for the two full-history release fetches), and the new guard fails on main and passes here. Both earlier issues are fixed: playwright-legs.test.mjs compares the interaction counter's checkout without the bound, and the description's sample time now matches the runs it calls later.

Claims and files checked
  • Claim: three jobs used their whole 15 minutes in checkout (typecheck, test-node 2/5, test-build) on arm and x64 runners within about an hour: verified against the run records (896 s, 895 s, 891 s).
  • Claim: 54 steps get 8 minutes, above the slowest checkout that still succeeded (docsite-browser, 445 s): verified in the parsed ci.yml and that run's record.
  • Claim: the 10 checkout steps in the seven 5-minute jobs get 3 minutes, and their slowest normal checkout took 33 s: verified in the parsed ci.yml and the sampled runs.
  • Claim: release-bump and release-merge-back get 10 minutes, after full-history checkouts of up to 143 s and 45 s: verified in the parsed ci.yml and their run records.
  • Claim: release-authority keeps no step bound because the release scheduler reads its failure as a refused authority: verified (main-heavy-lanes.yml:110-114).
  • Claim: the new guard fails on main and passes here: verified (66 steps listed on the base; green on this head).
  • Claim: ci-docsite-browser.test.mjs reads the bounded step and playwright-legs.test.mjs compares the checkouts apart from the bound: verified (:233, :654-659; both pass).
  • Claim: the timing table, every bounded step's maximum (45 s or less, 33 s or less), the later 42 s and 30 s runs and the older 42 s run: verified against the 60 newest green CI runs at the sample time (each row's p95 and maximum match) and the runs' completion times.
  • Claim: the checkout options table, and no step uses lfs or a filter: verified row for row against the parsed ci.yml.
  • Claim: no job or step is added, one key on 66 steps, runner classes and job minutes unchanged until a bound fires, and actionlint reports nothing new: verified (the ci.yml diff is 66 added lines; the Lint workflow's actionlint step passed on this head).
  • .github/workflows/ci.yml: clear.
  • .github/scripts/ci-checkout-timeout.test.mjs: clear.
  • .github/scripts/ci-docsite-browser.test.mjs: clear.
  • .github/scripts/playwright-legs.test.mjs: clear.

Automated review (maintainer link)

@cixzhang
cixzhang merged commit f04a3d6 into main Nov 13, 2026
122 of 128 checks passed
@github-actions
github-actions Bot deleted the ci/checkout-step-timeout branch November 13, 2026 06:03

This branch was successfully deployed

1 active deployment
Preview — 765723f3 Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant