diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 15:26:58 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 31b7bcbae734cd1d0a432ff5acaf9c65bcd33897 (patch) | |
| tree | 1efe990b6879d394b425e116dea59902f22ba971 /test/deck | |
| parent | 52f3e3615f77f690739c0a3c30ff400a2223ed34 (diff) | |
| download | pardes-31b7bcbae734cd1d0a432ff5acaf9c65bcd33897.tar.gz pardes-31b7bcbae734cd1d0a432ff5acaf9c65bcd33897.zip | |
A background job killed while the tty probe walks it is not the tty's owner, however far into exiting it is
host_io's "a background job is not the tty's owner" failed now and then,
2 runs in 20 under load, always just after `kill %1`. The probe walks the
shell's children and reads each one's exe. A killed background sleep, in
the moment it is exiting (its exe link gone, not yet a zombie), has no exe
to read and is not a zombie to skip, so the probe called the tty taken.
A process outside the foreground process group holds nothing whatever
state it is in, so one whose exe cannot be read is now skipped when its
group is not the foreground one. Under the same load the test passed 50
runs in a row. The unit-test step's perf gate trips under that load,
which is not this test.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/deck')
0 files changed, 0 insertions, 0 deletions
