Repository navigation
ci: Dogfood Regression Gate four shards on the queue (#36646) - #39667
Conversation
The merge-queue median sits on the dogfood floor once Test Core is set aside: across 258 green merge_group runs (2026-12-02..04) the CI run with Test Core removed reads p50 22.5 min, ended by Dogfood on 157. Widen the dogfood matrix 3 -> 4 and move every spelling of the count with it (job name, matrix, OS_TEST_SHARD, leftovers label, prune site, attestation --total and artifact name, the gate's --leg). Ruling record 6663883327's placement (dogfood on merge_group) is unchanged. Also folds the #36646 follow-ups N1 (ci.yml Test Core header no longer says "ten deterministic bins") and N2 (two partition-test-shards.mjs docblocks stale after placeByWall()). Claude-Session: https://claude.ai/code/session_01L9qibzyPxyFjuUBUKSRoMS Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibxRrrjrsQAWAcsbV46
|
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv Contract-review-claim: session_01L9qibvPFnj3TkGq8ps2Jgv · head 32509e0 · 2026-12-04T13:15Z L1-a thread starts the at-tier contract review of this head as an isolated sub-agent (governed face: |
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv Contract reviewServed-tier: Inputs read: card #36646 (body and all 20 comments), PR #39667 (body, file list, net diff against ① Derived judgments
② Semver level
Clause-②: no. Agreed: no accept-set narrows or widens, and no consumer-visible surface moves.
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
None broke. The N1 header rewrite is accurate: the bin count is read from the matrix, and the TWELVE paragraph it points to exists below it.
Nits. None affects correctness or the contract. None is to be fixed on this head; they go to a follow-up.
Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv Filled brief handed to the isolated at-tier reviewer whose record is the comment above (adopted by this L1-a thread): Contract review brief — PR #39667 @
|
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibvPFnj3TkGq8ps2Jgv L1-a · ACCEPT · #39667 @
Tier H (governed |
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB 维护者速读
Seat opinion: ACCEPT. The first merge_group run is the first real four-way run; the card thread watches it and takes the post-merge reading before lever A. 席位核对ACCEPT · head
|
|
repo:objectstack@os-tesla · os-tesla · session_01L9qibxjHbaJSwcu6suJxbB 2026-12-04T13:26Z · Hand-off: PR #39667 awaits the maintainer's approval (Tier H); seat record above. |
Requested by Tesla · project thread
Part of #36646
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
.github/workflows/ci.yml: thedogfoodmatrix goes from 3 to 4 shards. Every spelling of the count moves with it: the job nameDogfood Regression Gate (k/4),shard: [1, 2, 3, 4],OS_TEST_SHARD=k/4, the leftovers label, the prune-cache site, the attestation--total 4and artifactshard-attest-dogfood-k-of-4, and the gate's--leg "dogfood/4:…". The required context is the bareDogfood Regression Gate(thedogfood-gateaggregate), which does not change.merge_group, push and schedule, and never onpull_request. This PR only widens the matrix; theif:and the event placement are untouched.placeByWall(), the TWELVE paragraph).scripts/partition-test-shards.mjsare corrected. TheDECLARATION_READER_SLICESparagraph no longer claims the reader shard and the other slice shards "come out equal in the wall model": underplaceByWall()the reader shard is the heaviest modelled shard, by its closure. TheclosureAllowance()paragraph now lists 71.18 s at 12 shards beside 8 and 10. Comment-only; no code moved.test-nightly-tiers.yml,--shard k/4) reachesplaceByWall()throughplanRun()too. Its document states its own slicing, so it runs with no declaration readers: whole packages land by LPT on modelled wall under the cap and theLOAD_SENSITIVE_APARTpair rule. PR ci(test-core): place slice shards by wall and widen Test Core to twelve shards #38258 judged that right but did not name it.Before / after (modelled, advisory)
Source: the 258 green
merge_groupCI runs created 2026-12-02T11:00Z..2026-12-04T11:15Z (Actions API jobs and steps). Model: each dogfood shard'sBoot example apps and exercise real user flowsstep (p50 850 s) is cut by a quarter, and the rest of the job is held as measured.Test Core is untouched, and on full runs its slowest shard (p50 22.6 min,
@objectstack/runtimeon shard 5) stays the critical path. That is why the p90 does not move. The queue reading before this PR (queue-duration.mjs --since 7d, 2026-12-04T11:15Z): p50 24.6, p90 30.0, verdict OVER. Cost: one more runner per queue entry, about +4 runner-minutes at the measured per-shard overhead.The card stays open. Modelled with the next lever, splitting
@objectstack/runtime(shard 5), the CI p50 is about 23.0, still over 22. That lever goes to the maintainer separately (os-dev-report 7410451757 on #36646: it needs turbo.json, the ci.yml slice leg and a re-grounded pin 3c), and it is not in this PR. A real-run reading is owed on the card after this merges.Tests
Local gates on the final head: see Verification. No test was skipped or deleted, and
scripts/ci/queue-budget.jsonis untouched.Acceptance notes
OS_TEST_SHARD(packages/qa/dogfood/vitest.config.ts), sok/4needs no package change. That file's comments still sayk/3in two places, prose only and outside this PR's surface: noted, not filed.dogfood-optin.yml(the opt-in battery on labelled PRs) keeps its own three shards. It is a separate lane and is not touched here.dogfoodjob hunk inci.yml(name, matrix,OS_TEST_SHARD, attestation--totaland artifact name); (2) thedogfood-gate--leg "dogfood/4:…"line, which must match the matrix; (3) the N2 docblocks inscripts/partition-test-shards.mjs.merge_grouprun of this head, the Checks tab listsDogfood Regression Gate (1/4)…(4/4), andDogfood Regression Gatereads success, itsVerify dogfood shard resultsstep counting four dogfood attestations plus the CLI leg.Verification
Local gates
Head
32509e0d.node scripts/pm/dispatch-gates.mjs --commandsderived 67 families; exit codes captured before any pipe.--ran: "67 derived famil(ies) accounted for — 61 run, 6 NOT-MEASURED (4 DERIVED from a recorded exit 3, 2 claimed)".Selected verdict lines:
check-shard-attestation: 3 aggregate gate(s) count 4 declared leg(s) across 4 attesting job(s)and its self-test, 360 assertions;partition-test-shards.mjs --self-testexit 0;check:required-contexts,check:stall-guard-budget,check:stall-guard-headroom,check:pm-expected-skips,check:nul-bytesexit 0.NOT MEASURED locally (CI runs each):
pnpm check:dts-closure :: exit 3pnpm check:dual-build-cjs-loads :: exit 3pnpm check:lean-entry-closure :: exit 3pnpm check:sourcemap-no-sources-content :: exit 3NOT-MEASURED pnpm check:type-check-debt :: exit 124, the local 300 s timeout fired during its closure build; CI runs itNOT-MEASURED pnpm check:pm-dispatch-gates :: exit 124, the 580 s foreground limit fired after 2286 passing cases and no failing one; CI runs itExit 0:
node scripts/check-closing-keyword-parity.mjsnode scripts/check-closing-keyword-parity.mjs --self-testnode scripts/check-comment-mask-corpus.mjsnode scripts/check-declaration-mirrors.mjsnode scripts/check-declaration-mirrors.mjs --self-testnode scripts/check-dts-emitted.mjs --self-testnode scripts/check-self-test-wired.mjsnode scripts/check-self-test-wired.mjs --self-testnode scripts/check-self-test-workflow-commands.mjsnode scripts/check-self-test-workflow-commands.mjs --self-testnode scripts/check-step-collectors.mjsnode scripts/check-step-collectors.mjs --self-testnode scripts/check-temporal-live-filter.mjsnode scripts/check-temporal-live-filter.mjs --self-testnode scripts/check-whole-set-label-write.mjsnode scripts/check-whole-set-label-write.mjs --self-testnode scripts/ci/assert-turbo-remote-cache.mjs --self-testnode scripts/ci/plan-test-core-shards.mjs --self-testnode scripts/ci/prune-turbo-cache.mjs --self-testnode scripts/ci/scheduled-full-run.mjs --self-testnode scripts/docs-audit/check-drift-comment.mjsnode scripts/partition-test-shards.mjs --self-testnode scripts/pm/bare-root-worklist.mjs --self-testpnpm check:adr-anchorspnpm check:agent-test-spellingpnpm check:aggregator-rosterpnpm check:bash32-floorpnpm check:ci-filter-paritypnpm check:cli-command-idspnpm check:cross-package-test-inputspnpm check:declared-population-livepnpm check:driver-memory-censuspnpm check:entry-guardpnpm check:fetch-historypnpm check:gitlink-declaredpnpm check:node-versionpnpm check:nul-bytespnpm check:parse-guardpnpm check:pm-close-cardspnpm check:pm-expected-skipspnpm check:pm-fleet-write-dispatchpnpm check:pm-fleet-write-executepnpm check:pm-fleet-write-validatepnpm check:pm-governed-mergespnpm check:pm-issue-transferpnpm check:pm-post-stampedpnpm check:pm-record-recogniserspnpm check:pnpm-acquisitionpnpm check:pnpm-filter-targetspnpm check:pnpm-flag-spellingspnpm check:ratchet-remedy-authoritypnpm check:refd-timer-probepnpm check:required-contextspnpm check:scripts-symbol-anchorspnpm check:shard-attestationpnpm check:stall-guard-budgetpnpm check:stall-guard-headroompnpm check:type-check-coveragepnpm check:watch-hint-literalpnpm check:workflow-status-functionspnpm check:workflow-step-name-quotingGenerated by Claude Code