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

Checks run rule and scan tests first and stop on their red (a rule red in ~2 min, not 14) #16866

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

All 9 long red pull checks in a 2-hour window were cheap rule or scan tests that failed at minute 12–14, because scripts/test-shards.ts runs them among the behaviour shards with no early stop (talk-research/check-speed.md, win #2).

Notes

opened this

All 9 long red pull checks in a 2-hour window were cheap rule or scan tests that failed at minute 12–14, because scripts/test-shards.ts runs them among the behaviour shards with no early stop (talk-research/check-speed.md, win #2).

  • test-shards runs the rule, page-budget and tree-scan tests first (unless the run keeps going, records or measures). A red there ends the run before the behaviour shards start; the tally reports it as today.
  • Verify is unchanged; no time limits change.
  • test/check-rules-first.test.ts proves it with a real run.

Expected: a rule red shows in about 2 min instead of 14, about 35 runner-min/h saved.

Known gap, fixed separately: the empty-words test lacks its @tree-scan mark, so the fast tier doesn't select it yet.

tsc and gate pass; 285 related tests pass.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs