You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fork CI: a failing Python test file can hang the test runner instead of failing #1070
What happens: while a PR's Python tests were failing, the fork CI test runner (fork-ci-tests.cjs) hung on one test file (report.test.py of the gardener kit, inside fork-ci-unittest.py) and never finished. Run directly, the same file exited promptly with 10 failures.
Why it matters: a failing test must make CI fail fast, not hang until the job timeout. A hang wastes runner minutes and hides which test failed.
Expected: each test file runs with a time limit; on failure or timeout the runner prints the failing file and its last output lines and exits non-zero.
To do:
Reproduce it with a deliberately failing test file (for example one that leaves a child process or an open pipe behind).
Find the cause: pipe buffering, an inherited stdin, or a child process left running.
Add a per-file timeout and a contract test showing that a failing file fails CI quickly.
Activity