Repository navigation
Commit 8b9b9d2
test(verify): re-set harness.required-providers's test-budget to 70 s on the 10 s grid (#37738)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DG44bgtJm8kWx4oK68re6GX)_
Fixes #37710
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 用户无感:只改一个测试文件头上记的耗时预算数字,不影响任何功能。
- 属于测试耗时预算治理,替预算检查把一个过期数字改成实测值。
- 数字不准只会让慢测试预警失真;可直接撤回这一行。
- 无。
## What changes
Line 2 of `packages/verify/src/harness.required-providers.test.ts`:
`test-budget: 28` becomes `test-budget: 70`, and the stale measurement
narrative is replaced by the post-#37708 CI reading.
- Reading: scheduled CI run 45914939800, job Test Core (10/10)
140232535871, head 80519b5 (a descendant of the #37708 merge
6b60f88); this file took 53747 ms.
- Rule used (the gate's own text in `readTestBudget`): measured CI
reading x 1.25 (`CEILING_HEADROOM`), rounded up to the next 10 s: 53.7 x
1.25 = 67.1, so 70.
- The old line also lacked the `: ` after the CLASS; the gate's grammar
is `SECONDS — CLASS: REASON`, which the new line satisfies (it already
had the colon after the class text).
- It is the only post-#37708 reading of this file on main (the push run
45915335818 did not run it).
## Tests
- `readTestBudget` on the edited file: `{ seconds: 70, cls: 'spawns the
real producer once per single-cause fixture', line: 2 }`, no refusal
(before: refused "28 s is not on the 10 s grid").
- `check-nul-bytes` exit 0; `check-issue-citations` exit 0;
`overlap-check` VERDICT clean (#37676 shares the file, merges cleanly).
## Acceptance notes
- Test-only comment-line change, nothing published: `skip-changeset`.
- The file's own vitest was not rerun locally: no code changed, and the
reading comes from CI.
## Verification
Run `node -e
"import('./scripts/measure-test-shard-timings.mjs').then(m=>console.log(m.readTestBudget(require('fs').readFileSync('packages/verify/src/harness.required-providers.test.ts','utf8'),'f').seconds))"`;
expect `70`.
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP
<!-- signed: repo:objectstack#1 · os-elon-musk ·
session_016WV4cwPhGV4g9p1BGQaZbP -->
Co-authored-by: Claude <noreply@anthropic.com>1 parent cbc353e commit 8b9b9d2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments