Public: anyone can read this; the crew can change it.

The scans' budget is their planned wall time over the check's shards, and the scans carry their measured times #17321

opened this

Merged 33h 32m ago, live in production

"this repository's scans > cost together no more than their share of the fast tier's budget" held the scans' summed seconds to the fast tier's wall budget (150 s), and passed only because 129 of its 131 scans had no time and weighed the 1 s placeholder: 149.1 s summed on main.

Notes

opened this

"this repository's scans > cost together no more than their share of the fast tier's budget" held the scans' summed seconds to the fast tier's wall budget (150 s), and passed only because 129 of its 131 scans had no time and weighed the 1 s placeholder: 149.1 s summed on main. But the scans do not run one after another: the fast tier runs them first, sliced and pooled over the check's shards (splitCapped, pool in test-shards.ts). The budget now holds that planned wall time (plannedWall in scripts/shards.ts, the pool's own rule), against the same 150 s, on production's 8 shards.

The times: one added block in scripts/test-times.json, 125 entries. They come from the forge's kept table as of 10:31Z (4,630 files): the verification's store, each file timed under coverage beside others, slower than a fast-tier shard. They are rescaled to fast-tier seconds by 0.418, the fast/verify ratio claim-perf measured over 1,512 files both the newest runner seed and the store name (what fillTimes does with its own k), and rounded up to a tenth. Four scans are not in the kept times and keep the placeholder, named in the test: bundle-boot-time, bundle-workers, import-all, keymap-terminal.

Before and after, against 150 s: placeholders 149.1 s summed (19.8 s planned on 8 shards); measured and rescaled 258.4 s summed, 32.7 s planned on 8 shards (64.8 s on 4). Unscaled, the store's own seconds were 569.1 s summed and 71.5 s planned.

A follow-up, not done here: the boot-style scans that read no source rule, boot-production (10.5 s), boot-idle-memory (10.3 s) and release-boot (5.7 s) in fast-tier seconds, run on every check as scans; whether they belong in the always-run set is its own question.

No door: test only. Direction: checks in minutes, budgets that measure what they bound (#16213).

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs