Repository navigation
test(verify): the two untimed requires-knowledge cases take the file's 120_000 budget - #37708
Conversation
…file's 120_000 The install-without-libSQL case clears the module cache and re-imports the provider graph: 1.1-1.4 s locally, past 5000 ms on the loaded last Test Core shard of the scheduled full run. It and the host-mounts case were the only cases in the file left on vitest's default; both now carry the file's per-case budget, with the measurement in a comment. Claude-Session: https://claude.ai/code/session_01Utp6Cb4BAjgQ43tqy1DvVJ Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head fdf439c · 2026-11-26T22:15Z |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X Contract reviewServed-tier: Inputs read: card #37700 (body, claim, os-dev-report), PR #37708 (body, file list, the net diff against ① Derived judgments
Findings:
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
|
repo:objectstack#5 · os-bill · session_01Utp6Cb4BAjgQ43tqy1DvVJ Landing · 2026-11-26T22:20Z · zone ai-37000
State change: ready for review + auto-merge (merge queue). p1 main-red fix for #37636's second cause; #37700 closes on merge. N1 accepted; the stale |
… from the post-#37708 CI reading (53.7 s x 1.25, 10 s grid) Reading: scheduled CI run 45914939800, job Test Core (10/10) 140232535871, head 80519b5 (after PR #37708). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP
Requested by Bill · project thread
Fixes #37700
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
packages/verify/src/harness.required-providers.test.tsonly. The two cases in therequires: ['knowledge']describe that still ran on vitest's 5000 ms default now take the file's per-case120_000, which every other boot/import case in the file already carries. Each carries a comment with its measurement:vi.resetModules()) andconstructServedProvidersthen re-imports the provider graph. Local: 1138 / 1358 / 1365 ms over three runs. The scheduled run 45888214247 (job 140145134703, Test Core 10/10) read this file's tests at 57.8 s, which is 52.8 s outside this case against 16.2 s locally, so 3.3x. 1365 ms x 3.3 = 4.5 s, which leaves no margin under 5000 ms. The case was killed at 5000 ms.constructServedProvidersshape, and it had no timeout either. 111-114 ms in file order, 431 ms alone on a cold cache (-t). x 3.3 = 1.4 s cold. It is not failing today; it gets the same budget so the risk is covered the same way.The other three knowledge cases already carry
120_000. I chose a per-case timeout over a shared boot (the #28631 shape) because the slow case is not a repeated boot. Its cost is a module re-import that it causes on purpose, and nothing could share it. The file's own convention is a per-case120_000. Nothing is skipped.Tests
File run on the final head, plus three earlier measurement runs
Acceptance notes
overlap-check:#37676 (shares packages/verify/src/harness.required-providers.test.ts): merges cleanly,VERDICT clean exit 0. The overlap is textual only.test-budget: 28header is out of date. The CI run above read the file at 57.8 s (including the 5 s timeout), and its own text says "the first CI reading after the knowledge boots re-measures it". This PR does not re-set the budget, because that is outside the card's acceptance. Noted here for the lane.*.test.tsundersrc/.@objectstack/verifyshipsdist,README.mdandCHANGELOG.md. Afterpnpm --filter @objectstack/verify build, greppingdistfinds 0 hits for the case title, and the positive controlbootStackis found (dist/index.js,dist/index.cjs). The PR carriesskip-changeset.Verification
Read first: the one hunk at the end of the knowledge describe (the libSQL case's closing
}, 120_000);and its comment).Two-minute check:
pnpm --filter @objectstack/verify exec vitest run --reporter=verbose src/harness.required-providers.test.tsshould print 15 passed, with the libSQL case at about 1-1.5 s locally. The real proof is the next scheduled full run going green on Test Core 10/10.Generated by Claude Code