What failed: the push runs for #80 and #81 both failed cancel_command (#8) › cancelling stops the command and everything it started, so neither was deployed. Production is still on #79.
Why: the test waited for a pid file to appear, then read it. But the shell creates a redirect target before writing to it. So the test could read an empty file, get pid 0, and conclude the child process wasn't running.
Fix: the command writes the pid to a temporary file and renames it into place. The file only appears once it holds a complete pid.
Checks: the test passed 15 times in a row locally, and the full unit suite passes (149/149). Merging this deploys #80 and #81.
This is a test-only change.
**What failed:** the push runs for #80 and #81 both failed `cancel_command (#8) › cancelling stops the command and everything it started`, so **neither was deployed**. Production is still on #79.
**Why:** the test waited for a pid file to appear, then read it. But the shell creates a redirect target *before* writing to it. So the test could read an empty file, get pid 0, and conclude the child process wasn't running.
**Fix:** the command writes the pid to a temporary file and renames it into place. The file only appears once it holds a complete pid.
**Checks:** the test passed 15 times in a row locally, and the full unit suite passes (149/149). Merging this deploys #80 and #81.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The shell creates a redirect target before writing to it, so the test
could read an empty pid file, take pid 0, and decide the child was not
running. This failed the push run of #80's merge, so that commit was not
deployed. The command now writes the pid to a temporary file and renames
it into place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared
merged commit 64703482fd into main2026-11-23 16:02:53 -05:00
jared
deleted branch fix-cancel-test-race2026-11-23 16:02:56 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This is a test-only change.
What failed: the push runs for #80 and #81 both failed
cancel_command (#8) › cancelling stops the command and everything it started, so neither was deployed. Production is still on #79.Why: the test waited for a pid file to appear, then read it. But the shell creates a redirect target before writing to it. So the test could read an empty file, get pid 0, and conclude the child process wasn't running.
Fix: the command writes the pid to a temporary file and renames it into place. The file only appears once it holds a complete pid.
Checks: the test passed 15 times in a row locally, and the full unit suite passes (149/149). Merging this deploys #80 and #81.
🤖 Generated with Claude Code