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

pull-check-again: a writer's ask waits for the pull's own check, so the run it gets is the asked one #17231

opened this

Merged 38h 3m ago, live in production

"a writer queues a check and gets the run" failed 1 in 8 alone. Opening the pull queues its own check of the head (reason "pull"), and checks/request.ts answers an ask on a head whose check is running with that running check, not a second one; a queued one is replaced by the ask.

Notes

opened this

"a writer queues a check and gets the run" failed 1 in 8 alone. Opening the pull queues its own check of the head (reason "pull"), and checks/request.ts answers an ask on a head whose check is running with that running check, not a second one; a queued one is replaced by the ask. So when the ask landed while the pull's check was running (after main's push check, before its own end), the answer's reason was "pull". Reproduced by holding the pull's check at running: red every time. The test now waits, on the runs themselves, for no check to be active before it asks.

No door: test only. Direction: checks in minutes, no test that races what it reads (#16213).

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs