Files
devvm/tests
w3cjandClaude Opus 5.5 b1fe2ec2a6 test(e2e): ps_unwatch takes no host process sample after it returns
The desktop check that its VNC password is in no host process's arguments
failed now and then, though devvm never puts it in one. ps_unwatch killed
the sampling loop's subshell, but the ps it was running at that moment went
on and appended one more sample to ps.log. That sample could catch the next
check's own bash -c, which holds the password in its command line. Killed
mid-sample, the old watcher recorded a command started after ps_unwatch in
4 of 30 tries on macOS.

ps_watch's loop now runs while $work/ps.on exists, and ps_unwatch removes it
and waits for the loop to finish its sample, so no sample is taken after it
returns (0 of 60 tries). The network section's watcher gets the same fix.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 11:09:56 -07:00
..