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

Two order-dependent flakes made deterministic: tui-crawlers pins loop lag; job-alloc measures a kept buffer after a full collection #16875

Merged opened this

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

Merged

Both reds random pull checks, each costing a full re-check. test/tui-crawlers.test.ts (cause reproduced): crawl budgets are divided by four whenever the process-wide loop-lag reading says behind, so a busy file earlier in the shard left it behind ("address 7" instead of "address 2").

Notes

opened this

Both reds random pull checks, each costing a full re-check.

  • test/tui-crawlers.test.ts (cause reproduced): crawl budgets are divided by four whenever the process-wide loop-lag reading says behind, so a busy file earlier in the shard left it behind ("address 7" instead of "address 2"). It now uses pinCrawlLag(app, false), the seam crawl.ts keeps for this.
  • test/job-alloc.test.ts (likely cause, measured): a garbage collection inside the measured slice reclaimed earlier files' leftovers (-42.9 MiB measured), reading as no growth. It now runs a full collection before each slice and grows one kept 4 MiB ArrayBuffer (3.96 MiB counted even with junk and a collection inside). One try, no retries (the 40-try loop is gone), bounds unchanged.

The failing order (job-slices, held, job-alloc, tui-crawlers) and its reverse, five times each: 20/20. Gate and typecheck pass.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs