Files
alzeo/.github
Hasan BasbunarandClaude Opus 5.5 72fe49f5cb ci: the offline suite is judged by what its own processes leave running
The step compared every listener of the machine before and after the
suite, and failed twice on the reference box on 2026-10-03 for ports
opened or closed while the suite ran: VS Code's own log named one of the
first two, and a per-second log of every listener and its owner named
VS Code for both of the second, a run in which the suite left nothing.

The suite now runs under tests/suite_reaper.py, a child subreaper
(prctl PR_SET_CHILD_SUBREAPER): every process it starts stays its
descendant whatever session or environment it gives itself, so what is
still running once the suite is over (after a 5 s grace) is the suite's
own: named with its listening sockets, stopped, and fatal to the step,
a process left running without a socket included. Other programs'
listeners are shown with their owner, and fail the step on a GitHub
runner only, where nothing else runs.

tests/test_suite_reaper.py: 8 tests, an orphaned listener, one under
setsid with an empty environment, a process without a socket, one on
its way out, another program's listener; they fail with the subreaper
bit or the grace taken out. The step passed on the reference box with
VS Code connected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 18:06:40 +02:00
..