Skip to content

ci: Main's unit run plans its Node legs from the recorded times - #12120

Merged
cixzhang merged 5 commits into
mainfrom
ci/main-node-legs-planned
Nov 16, 2026
Merged

cixzhang merged 5 commits into
mainfrom
ci/main-node-legs-planned

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Who this helps

Everyone who waits on main's unit run, and the release cuts that need its verdict. Since 11/14, 14 main unit runs had a Node leg time out at the 15-minute job limit, so those runs gave no Node verdict on main: 11/14 05:29Z; 11/15 15:24Z, 21:11, 21:38, 22:12, 22:38, 23:14Z; 11/16 00:38, 01:02, 01:23, 07:32, 07:54, 16:25 and 18:27Z.

The cause is the suite's growth against a fixed six legs. The Node test record (scripts/vitest-node-durations.json) grew in 7 days:

Date (19:00Z) Files Recorded test-seconds theme-edit Swizzle-proof slices
11/09 830 3,475 0 0
11/12 1,074 6,033 817 1,711
11/14 1,230 9,092 2,468 2,338
11/16 1,581 12,243 5,660 2,338

That is 3.5× in a week. Over the last 24 hours, Main's six Node legs had a p95 of 15.3 min, and 43% ran past 12.5 min; pull-request legs, which the duration-balanced planner sizes, had 7.6%.

What changes

  • .github/workflows/deploy.yml:
    • main-commit plans the Node legs before the run waits for room: node scripts/vitest-node-legs.mjs plan --main --github-output, from a sparse checkout that also holds scripts/lib and .github/scripts/lib, as ci.yml's room does.
    • test-node's matrix reads the plan's shards. A plan that cannot run (continue-on-error) falls back to the widest matrix, twelve legs.
    • A push still runs only the fast checks.
  • scripts/vitest-node-legs.mjs: plan --main plans Main's Node legs, with the swizzle proof's slices, which Main runs in its Node legs.
    • As many legs as shorten the slowest leg (DEC-17), up to MAX_MAIN_NODE_LEGS = 12: the fewest legs whose longest leg is no longer than at twelve. Pull requests keep the fewest legs that fit their budget, up to eight.
    • It never fails Main's legs. A plan past its budget warns with the reason. A new never-failing notice, "Main Node legs near their limit", fires when the slowest leg would pass 12.5 min on a runner 1.28× slower than measured: an early warning instead of cancelled units. A pull request's plan past its budget still fails its legs, as today.
  • Admission (DEC-16, Main's peak): a unit run can now hold up to twelve Node legs. Its peak goes from 14 to 20 (six UI legs, at most twelve Node legs and the other two lanes), and count.mjs's estimate for a running unit run goes from 14 to 20.
    • ci-admission.test.mjs already asserts that the estimate equals deploy.yml's peak and covers every job's legs.
    • The ci-slot tool's main-hold reads main's waiting peak from that same count.mjs, so it picks up 20 with no change of its own.
    • A push stays at 4.
  • docs/specs/AST-030/spec.md FR22 (maintenance under DEC-17; Specs confirmed no card):
    • "six UI legs and as many Node legs as shorten the slowest one, at most twelve".
    • The body says a Main run past its Node budget runs its legs and warns, never failing for the plan.
    • The verification row adds Main's plan with the swizzle slices, even files and a file that sets the floor, the slowest leg under twelve minutes on a runner 1.28× slower than measured, and the distinction between a pull request's plan (it must fail its legs) and Main's (it must not).

Evidence

Replay on main's current Main file set (1,599 files with the swizzle slices, 13,126 planned test-seconds; 120 s setup; 2.6 test-seconds per wall second; a runner 1.28× slower):

Legs Worst leg (test-s) Wall at 1.28×
6 (today) 2,188 20.0 min
8 1,641 15.5 min
10 1,313 12.8 min
11 1,194 11.8 min
12 (this change) 1,094 11.0 min

The slowest single file plans 348 s, so the floor is far below; the leg cap was the limit. At twelve legs the plan fits its budget of 1,387 s a leg, so there is no warning today.

Tests:

  • vitest-node-legs.test.mjs:
    • Main's files are a pull request's plus exactly the swizzle slices.
    • Main's plan reaches the longest leg of twelve, and one fewer leg is longer.
    • The slowest Main leg stays under 12 minutes at 1.28× on the record the planner reads. A change that pushes the suite past that line fails here.
    • Even files get twelve legs; one file that sets the floor gets two.
    • Over budget, Main warns and a pull request fails.
    • The near-limit notice fires just past 12.5 min and not just below.
    • plan --main never prints an error.
  • main-validation-workflow.test.mjs:
    • test-ui stays at six fixed legs.
    • test-node reads main-commit's shards, with the twelve-leg fallback.
    • main-commit plans with --main from a checkout that holds the planner, before it waits for room.

Results:

  • With this change: 223 of 223 pass across ci-test-routing, vitest-node-legs, main-validation-workflow, ci-admission, ci-admission-count, ci-tooling-routing and workflow-paths.
  • With main's workflow and planner, the six new or changed cases fail: the five new vitest-node-legs.test.mjs cases and the test-node case in main-validation-workflow.test.mjs.
  • ci-test-routing.test.mjs now reads each workflow's shard matrix through matrixFor and accepts the planned matrix of each workflow's planning job (ci.yml's room, the Main workflow's main-commit).
  • prettier, actionlint and pnpm check:knowledge pass.

test-ui does not use the planner. Pull requests run four fixed legs and Main six. Main's test-ui (4) reached the 15-minute limit once, at 18:27Z, and is watched; if it repeats, the UI legs get the same treatment in a pull request of their own.

CI impact: each main unit run (about 32 a day) holds up to six more Node legs at once, about 190 more leg-runs a day. Each leg carries about half of today's share, so units finish inside the limit instead of timing out. Admission counts a unit run at 20 jobs instead of 14.

Overlap checked: #12100 (josephfarina's max-parallel leg count: other lines of count.mjs and vitest-node-legs.test.mjs, so a merge keeps both), #11921 (our early-warning step in deploy.yml's test-node, other lines of deploy.yml; it also edits FR22, and the two heads conflict on the adjacent FR22 verification rows in docs/specs/AST-030/spec.md, which a merge resolves by keeping both rows)

Owning session: noopbot (a61f66c2), under CI & Release (ca77f950). Land path: the shipper, through merge-guard.

main-commit runs the Node leg planner with --main, which keeps the swizzle proof's slices that Main's Node legs run, and test-node's matrix reads its shards (eight when the plan cannot run). A plan past its budget warns and runs the most legs instead of failing Main's legs. Main's admission peak and the shared estimate go from 14 to 16 jobs; FR22 says six UI legs and the Node legs the recorded times need, at most eight.
@vercel

vercel Bot commented Nov 16, 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 16, 2026 9:08pm UTC

Request Review

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

astracat-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 16, 2026, 9:19 PM UTC

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · bfe9b3d

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 for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.

CI impact: 0 job-min per update · pool 0% · time to green −1.6 min · standard runners · 1 other workflow changed (not measured) · 3 CI action or script files changed (not measured)
Before After Change
Job-minutes per PR update 180 180 0
Runner pool, runner-minutes a day 67,168 67,168 0 (0%)
Average concurrent jobs 46.6 46.6 0
Time to green (median → this run) 50.5 min 48.9 min −1.6 min
Runs a day 373 373 0

Other workflows: deploy.yml changed: runs on push, workflow_dispatch; standard runners; its minutes are not measured here

Not measured (the jobs that use these keep their recent minutes above): .github/actions/ci-admission/count.mjs, .github/scripts/ci-test-routing.test.mjs, .github/scripts/main-validation-workflow.test.mjs.

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

…egs and warns

The body now states what the verification row already checks: Main never fails its legs for the plan.
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 077f8f3

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026

@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. Two points still need correcting before Main's unit run plans its Node legs from the recorded times:

  • plan --main takes the fewest legs that fit the budget, which is the pull-request rule, while DEC-17 (unchanged here) says a full run gets as many legs as shorten its slowest lane, so either keep Main at eight legs unless the slowest file already sets the floor, or amend DEC-17 in this PR to say that Main follows the budget plan.
  • The description says #11921 overlaps only on other lines of deploy.yml, but it also edits FR22, and merging the two heads conflicts on the adjacent FR22 verification rows in docs/specs/AST-030/spec.md, so please name that conflict.

#12100 has since landed on main, and this branch still merges with it cleanly. Non-blocking: the comment above test-ui in deploy.yml (lines 173-180) still says six legs reach the floor and more would not help, and the Main over-budget warning is only tested while the recorded suite is over budget.

Claims and files checked

Review mode: same-head; reason: none

  • Claim: Main's legs ran near the watchdog over one day (p95 and share past 12.5 min). Not checkable from the repository; the run and leg counts are consistent.
  • Claim: main-commit plans with --main from a sparse checkout that also holds scripts/lib and .github/scripts/lib, as ci.yml's room does. Verified (deploy.yml:109-128).
  • Claim: test-node reads the planned shards and falls back to eight legs. Verified (deploy.yml:218).
  • Claim: a push still runs only the fast checks. Verified (deploy.yml:125, :212).
  • Claim: plan --main adds the swizzle-proof slices at their recorded times. Verified (vitest-node-legs.mjs:184-185; eight more files).
  • Claim: Main's over-budget plan warns and runs eight legs, while a pull request's still fails. Verified (vitest-node-legs.mjs:204-209 and a planner run).
  • Claim: Main's admission peak and the shared estimate go from 14 to 16, and a push stays at 4. Verified (deploy.yml:138, count.mjs:81).
  • Claim: FR22's body, verification row and failure clause change as described. Verified (spec.md:526-528, :552-554, :776).
  • Claim: no decision card was needed for the FR22 edit. Not a code claim; the edit carries an engineering owner's spec approval for this head.
  • Claim: today a pull request plans 10,773 s in eight legs and Main 13,126 s in eight legs with a warning. Verified (planner at the head and on its merge with main).
  • Claim: Main follows the record from here on, under FR22 and DEC-17. False for DEC-17 (first finding).
  • Claim: the new tests cover Main's file list, leg bounds, the never-failing command and the workflow shape. Verified (vitest-node-legs.test.mjs:89-116, main-validation-workflow.test.mjs:25-69).
  • Claim: 161 of 161 tests pass across the six named files. Verified; on the merge with main the same files plus two more pass, 199 of 199.
  • Claim: both new cases fail against main's workflow and planner. Verified.
  • Claim: prettier and the knowledge check pass. Verified; actionlint was not rerun.
  • Claim: about 64 more leg-runs a day, a quarter less of the suite per leg, and admission counts 16 jobs. Arithmetic verified; finishing inside the watchdog is a prediction (the longest planned leg is still over budget).
  • Claim: #12100 touches other lines and a merge keeps both. Verified: it has since landed on main, the merge is clean and keeps both changes.
  • Claim: #11921 touches only other lines of deploy.yml. False (second finding).
  • Claim: ownership and landing route. Not a code claim.
  • File: .github/actions/ci-admission/count.mjs: clear.
  • File: .github/scripts/main-validation-workflow.test.mjs: clear.
  • File: .github/workflows/deploy.yml: first finding (planning step); stale comment at 173-180 (non-blocking).
  • File: docs/specs/AST-030/spec.md: FR22 edit approved for this head; leaves DEC-17 contradicting it; conflicts with #11921.
  • File: scripts/vitest-node-legs.mjs: first finding (fewest-legs plan for Main).
  • File: scripts/vitest-node-legs.test.mjs: clear; the over-budget branch depends on the live record (non-blocking).

Automated review (maintainer link)

Comment thread .github/workflows/deploy.yml Resolved
Comment thread scripts/vitest-node-legs.test.mjs Resolved
DEC-17 gives Main's full run as many legs as shorten its slowest lane, not the fewest that fit a budget. On the recorded suite with the swizzle proof's slices, twelve legs keep the slowest under about eleven minutes on a runner 1.28 times slower than measured, where eight reach the fifteen-minute limit. Main never fails its legs for the plan; it warns when the slowest leg nears its limit. Main's admission peak and the shared estimate go to 20; FR22 says at most twelve.
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec fd57d5a

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026

@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. Main's planned Node legs now follow DEC-17, and the FR22 amendment is owner-approved for this head, but two points need fixing first:

  • Miss: .github/scripts/ci-test-routing.test.mjs ("splits each Vitest lane across legs that together run every file", lines 283-296) accepts only ci.yml's needs.room shard expression, so it fails on the new needs.main-commit.outputs.node-shards matrix at .github/workflows/deploy.yml:217 and turns the Node suite red; let it read the matrix through matrixFor in .github/scripts/ci-matrix.mjs and accept each workflow's planning job.
  • The description says the five new or changed cases fail with main's workflow and planner, but six do (the five new vitest-node-legs.test.mjs cases and the test-node case in main-validation-workflow.test.mjs), so please correct the count.

Non-blocking: the comment at scripts/vitest-node-legs.mjs:301-302 says each Main leg's watchdog names its slow files, but Main's test-node runs no shard watchdog. The earlier DEC-17 and #11921-overlap points are resolved.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: since 11/14, 14 Main unit runs had a Node leg time out, and the last day's legs had a p95 of 15.3 min. Not checkable from the repository (run history).
  • Claim: the Node record grew from 830 files and 3,475 s to 1,581 files and 12,243 s in a week, with the theme-edit and swizzle-slice columns as tabled. Verified from the record's history (3.5×).
  • Claim: main-commit plans with --main from a sparse checkout that also holds scripts/lib and .github/scripts/lib, as ci.yml's room does, before it waits for room. Verified (deploy.yml:109-128).
  • Claim: test-node reads the plan's shards and falls back to twelve legs. Verified (deploy.yml:126, :217).
  • Claim: a push still runs only the fast checks. Verified (deploy.yml:125, :211).
  • Claim: plan --main adds the swizzle-proof slices. Verified (1,599 files against 1,591).
  • Claim: Main gets as many legs as shorten the slowest, up to twelve, and pull requests keep the fewest that fit, up to eight. Verified (vitest-node-legs.mjs:83, :146-196; planner replay).
  • Claim: Main never fails for its plan, a pull request still does, and a near-limit notice fires past 12.5 min on a 1.28× slower runner. Verified (vitest-node-legs.mjs:85-116, :208-215, :303-309).
  • Claim: admission's peak and the shared estimate go from 14 to 20, a push stays at 4, and the admission test checks both. Verified (deploy.yml:138, count.mjs:81, ci-admission.test.mjs:524-549).
  • Claim: an outside capacity tool picks up 20 from the same count with no change of its own. Not checkable here (the tool is outside the repository); it reads the shared count by design.
  • Claim: FR22's body and verification row change as described. Verified (spec.md:524-528, :550-554, :776).
  • Claim: the replay table (6 to 12 legs), the slowest file at 348 s, and no over-budget warning at twelve legs. Verified (planner at this head).
  • Claim: the listed new test cases exist and check what they say. Verified (vitest-node-legs.test.mjs:96-190, main-validation-workflow.test.mjs:32-70).
  • Claim: 165 of 165 tests pass across the six named files. Verified.
  • Claim: with main's workflow and planner, the five new or changed cases fail. False: six fail.
  • Claim: prettier and the knowledge check pass. Verified; actionlint was not rerun.
  • Claim: test-ui does not use the planner; pull requests run four UI legs and Main six. Verified (ci.yml:1062, deploy.yml:189).
  • Claim: about 190 more leg-runs a day, each leg about half today's share. Consistent with 32 runs and 6 to 12 legs; the run count is not checkable here.
  • Claim: #12100 merges cleanly, and #11921 conflicts only on the adjacent FR22 verification rows. Verified by trial merges.
  • File .github/actions/ci-admission/count.mjs: clear.
  • File .github/scripts/main-validation-workflow.test.mjs: clear.
  • File .github/workflows/deploy.yml: finding (its new matrix fails the routing test).
  • File docs/specs/AST-030/spec.md: clear.
  • File scripts/vitest-node-legs.mjs: non-blocking note (watchdog comment).
  • File scripts/vitest-node-legs.test.mjs: clear.

Automated review (maintainer link)

Comment thread .github/workflows/deploy.yml Resolved
Comment thread scripts/vitest-node-legs.mjs Resolved
ci-test-routing.test.mjs accepted only ci.yml's planned shard matrix; it now reads each workflow's matrix through matrixFor and accepts the planning job of either workflow (room, main-commit). The over-budget comment no longer claims a watchdog Main's legs do not run.
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 9d562f4

@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 pending CI: CI has not run on this head yet, since the pull request is still a draft. The earlier points are fixed: the routing contract test now reads Main's planned Node matrix through matrixFor and passes, the description's red-first count matches the six cases that fail on main's workflow and planner, and the watchdog comment is gone. The FR22 amendment has an engineering owner's /approve-spec for this head.

Once CI runs green on the ready pull request, nothing else stands in the way.

Claims and files checked

Review mode: incremental; reason: none

  • Claim: since 11/14, 14 Main unit runs had a Node leg time out, and the last day's legs had a p95 of 15.3 min with 43% past 12.5 min. Not checkable here (run history).
  • Claim: the Node record grew from 830 files and 3,475 s to 1,581 files and 12,243 s in a week, with the theme-edit and swizzle-slice columns as tabled. Verified from the record's history on main (3.5×).
  • Claim: main-commit plans with --main from a sparse checkout that also holds scripts/lib and .github/scripts/lib, as ci.yml's room does, before it waits for room. Verified (deploy.yml:109-128, ci.yml:173-178).
  • Claim: test-node reads the plan's shards and falls back to twelve legs; a push still runs only the fast checks. Verified (deploy.yml:125, :211, :217).
  • Claim: plan --main adds the swizzle-proof slices, which Main's Node legs run. Verified (1,599 files against 1,591; no own-job setting in deploy.yml).
  • Claim: Main gets as many legs as shorten the slowest, up to twelve, and pull requests keep the fewest that fit, up to eight. Verified (vitest-node-legs.mjs:146-198; planner at this head).
  • Claim: Main never fails for its plan, a pull request still does, and a near-limit notice fires past 12.5 min on a 1.28× slower runner. Verified (vitest-node-legs.mjs:85-116, :200-215, :301-308).
  • Claim: admission's peak and the shared estimate go from 14 to 20, a push stays at 4, and the admission test already checks both. Verified (deploy.yml:138, count.mjs:81, ci-admission.test.mjs:524-549).
  • Claim: an outside capacity tool picks up 20 from the same count with no change of its own. Not checkable here (the tool is not in the repository).
  • Claim: FR22's body and verification row change as described. Verified (spec.md:524-528, :552-554, :776).
  • Claim: the replay table (6 to 12 legs), the slowest file at 348 s, and no warning at twelve legs within the 1,387 s budget. Verified (planner at this head).
  • Claim: the listed new test cases exist and check what they say. Verified (vitest-node-legs.test.mjs:96-190, main-validation-workflow.test.mjs:32-70).
  • Claim: 223 of 223 tests pass across the seven named files. Verified.
  • Claim: with main's workflow and planner, the six new or changed cases fail. Verified (exactly those six fail on the base).
  • Claim: ci-test-routing.test.mjs reads each workflow's shard matrix through matrixFor and accepts each planning job's matrix. Verified (ci-test-routing.test.mjs:290-308).
  • Claim: prettier and the knowledge check pass. Verified; actionlint was not rerun.
  • Claim: test-ui does not use the planner; pull requests run four UI legs and Main six. Verified (ci.yml:1062, deploy.yml:189); the one 18:27Z UI timeout is not checkable here.
  • Claim: about 190 more leg-runs a day, each leg about half today's share. Consistent (32 × 6; 1,094 s against 2,188 s); the run count is not checkable here.
  • Claim: #12100 merges cleanly (it is now on main), and #11921 conflicts only on the adjacent FR22 verification rows. Verified by trial merges; this head merged with main passes 238 of 238.
  • File .github/actions/ci-admission/count.mjs: clear.
  • File .github/scripts/ci-test-routing.test.mjs: clear.
  • File .github/scripts/main-validation-workflow.test.mjs: clear.
  • File .github/workflows/deploy.yml: clear.
  • File docs/specs/AST-030/spec.md: clear.
  • File scripts/vitest-node-legs.mjs: clear.
  • File scripts/vitest-node-legs.test.mjs: clear.

Automated review (maintainer link)

…nned

# Conflicts:
#	docs/specs/AST-030/spec.md
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 16, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec bfe9b3d

@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 pending CI: CI has not run on this head yet because the pull request is a draft; it runs once the pull request is marked ready. The merge of main keeps every change of this pull request, the earlier routing-test fix still holds, and the FR22 amendment carries an engineering owner's /approve-spec for this head.

Claims and files checked

Review mode: full; reason: merge-touches-pr-files

  • Claim: since 11/14, 14 Main unit runs had a Node leg time out, and the last day's Main legs had a p95 of 15.3 min with 43% past 12.5 min against 7.6% on pull requests. Not checkable here (CI run history).
  • Claim: the Node record grew from 830 files and 3,475 s (11/09) to 1,581 files and 12,243 s (11/16), with the theme-edit and swizzle-slice columns as tabled. Verified from the record's history on main.
  • Claim: main-commit plans with --main from a sparse checkout that also holds scripts/lib and .github/scripts/lib, as ci.yml's room does, before it waits for room. Verified (deploy.yml:109-128; room checks out the same paths).
  • Claim: test-node reads the plan's shards with a twelve-leg fallback, and a push still runs only the fast checks. Verified (deploy.yml:125, :184, :211, :217).
  • Claim: plan --main adds the swizzle-proof slices, which Main's Node legs run. Verified (1,600 files against 1,592; deploy.yml sets no own-job flag).
  • Claim: Main gets as many legs as shorten its slowest leg, up to twelve, and pull requests keep the fewest that fit, up to eight. Verified (vitest-node-legs.mjs:146-198).
  • Claim: Main never fails for its plan, a pull request still does, and a near-limit notice fires past 12.5 min on a 1.28× slower runner. Verified (vitest-node-legs.mjs:85-116, :200-215, :301-308).
  • Claim: admission's peak and the shared estimate go from 14 to 20, a push stays at 4, and the admission test already ties them together. Verified (deploy.yml:138, count.mjs:122, ci-admission.test.mjs:527-552).
  • Claim: an outside capacity tool picks up 20 from the same count with no change of its own. Not checkable here (the tool is not in this repository); FR16 requires it to read that count.
  • Claim: FR22's body and verification row change as described, as maintenance under DEC-17. Verified (spec.md:526-528, :552-554, :776); the amendment is owner-approved for this head.
  • Claim: the replay table, the slowest file at 348 s, and no warning at twelve legs inside the 1,387 s budget. Verified at this head (1,600 files and 13,140 s after the merge of main added one file; every wall time matches).
  • Claim: the listed new test cases exist and check what they say. Verified (vitest-node-legs.test.mjs:96-190, main-validation-workflow.test.mjs:32-69).
  • Claim: every test passes across the seven named files. Verified: 227 of 227 at this head (the description's 223 predates four admission tests that arrived with main).
  • Claim: with main's workflow and planner, the six new or changed cases fail. Verified (exactly those six fail on the base).
  • Claim: ci-test-routing.test.mjs reads each workflow's shard matrix through matrixFor and accepts each planning job's matrix. Verified (ci-test-routing.test.mjs:290-309).
  • Claim: prettier, actionlint and the knowledge check pass. prettier and the knowledge check verified; actionlint not run here.
  • Claim: test-ui does not use the planner; pull requests run four UI legs and Main six. Verified (deploy.yml:189, ci.yml's test-ui matrix); the single UI timeout is not checkable here.
  • Claim: about 190 more leg-runs a day, each leg about half today's share, and admission counts 20 jobs instead of 14. Consistent (32 × 6; 1,095 s against 2,190 s); the daily run count is not checkable here.
  • Claim: #12100 touches other lines of the same files, and #11921 conflicts with this head only on the FR22 verification rows. Verified by trial merges: #12100 is on main and merged cleanly here; #11921 conflicts in the AST-030 verification table, where it already conflicts with main.
  • Claim: the land-path line. Process context; nothing to check in code.
  • File .github/actions/ci-admission/count.mjs: clear.
  • File .github/scripts/ci-test-routing.test.mjs: clear.
  • File .github/scripts/main-validation-workflow.test.mjs: clear.
  • File .github/workflows/deploy.yml: clear.
  • File docs/specs/AST-030/spec.md: clear.
  • File scripts/vitest-node-legs.mjs: clear.
  • File scripts/vitest-node-legs.test.mjs: clear.

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as ready for review November 16, 2026 21:55
@cixzhang
cixzhang merged commit fbd84c2 into main Nov 16, 2026
135 checks passed
@github-actions
github-actions Bot deleted the ci/main-node-legs-planned branch November 17, 2026 06:03

This branch was successfully deployed

1 active deployment
Preview — bfe9b3d2 Deployed Nov 16, 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