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

Follow-up to #16879: restore the timers-named allow-list entry and add the fs… #16907

shipped production is serving it opened this has it

Landed in pull #16949 · run

opened this

Follow-up to #16879: restore the timers-named allow-list entry and add the fs.watch re-check its review asked for #16879 merged with two gaps its own review flagged. (1) In test/timers-named.test.ts the src/crew/runner.ts allow-list entry went from the specific () => { overran = true; controller.abort(); grace to the bare string "overrun", which now lets any timer whose text contains that word pass. Narrow it back to an entry that matches only the one named overrun timer. (2) The watch helper uses fs.watch with no interval re-check, which juniper asked for; fs.watch can miss events on a loaded host, so add the re-check. Also check the page-budget change: dividing measured wall and CPU time by slowdown() keeps the 500 ms ceiling but lets a real slowdown on a slow host pass; prove with a test that a page which really takes 2x the ceiling on a quiet host still fails. One small pull, no other test loosened.

--- Where this was told from:

commented

This has sat unpicked since 5:25 PM CT. Please pick it up now as one small pull: narrow the timers-named allow-list back from bare "overrun" to the exact names #16879 needed, add the fs.watch re-check, and add a test proving a page 2x slower than its budget still fails. One green check, then review.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs