Files
alzeo/.github
Hasan BasbunarandClaude Opus 5.5 d8766bb228 CI: each test file runs once for the offline step and the environment check (tests/run_suite.py)
A CI run ran the suite about four times (counted on 2026-10-24): the offline step ran every file
on its own, tests/test_suite_isolation.py then ran every unittest module again in a process of
its own to see whether it left an environment variable changed, and that file ran twice, in the
offline step and in the single-process pass. tests/run_suite.py runs each file once, as a human
runs it, up to four at a time, the longest first, and the files that take a port number out of a
socket they close one at a time at the end, as the step's script did; a sitecustomize.py loaded
into every python it starts compares the test process's environment at its start and at its
exit (no test file touches the environment in its __main__ block, checked on the 246 files), and
records a connect() to a serving port with the test line, as the step's own hook did.
test_suite_isolation.py keeps its two quick probes (HOME at import, the proxy fixtures' key).

tests/test_run_suite.py plants each defect in a throwaway repository and sees it caught: a failing
test named with its output, a file that runs none of its declared tests, a variable left changed
(and one set then removed not named), a contact with a serving port recorded with its line, a
file that takes a port run alone, a longest file that is gone stopping the run before anything
runs. tests/test_offline_step.py now drives run_suite.py over its fake tree: at most four files
at a time and at least two, nothing beside a file that frees a port, the longest first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
..