Tests red only inside a full-suite run (load), green alone on main #186

Open
opened 2026-11-25 13:55:02 +00:00 by saturnus · 10 comments
Member

Purpose (defect): a test that goes red only inside a full-suite run gets tracked, so a red in the full suite is either explained or a real fault.

Two tests went red inside full local suite runs on host00 for martha#180 (branch saturnus/180-restart-once). Both pass when run alone on main c18048d2. Cause: UNPROVEN. It may be load, the same pattern as martha#139.

test sighting alone on main c18048d2
prove_the_core/a_test_leaves_nothing_behind/a_killed_run_takes_its_children.node-test.ts (file-level red) full suite run, 2026-11-25 14:33 +0100, worktree at tip a25419de with the r=1 work uncommitted (committed next as 77d7181b) pass 3/3
src/claude_code_host/the_bash_answers_bite.node-test.ts "an out-dir inside the checkout is refused before anything is made, and the tree stays clean" branch run, 2026-11-25 14:36 +0100, tip 77d7181b pass (green in the later runs on a21cc704)

Logs (on the builder's box): ~/.claude/sessions/saturnus-180/run6.log, bash-branch.log; the runs alone on main: main-killed-run.log.

Same pattern as #139 (the martha#70 terminal-start test). Neither branch commit touches these tests or the code they drive.

Done when: each test either has a proven cause and a fix, or is shown to be green across N full-suite runs on main.

Purpose (defect): a test that goes red only inside a full-suite run gets tracked, so a red in the full suite is either explained or a real fault. Two tests went red inside full local suite runs on host00 for martha#180 (branch saturnus/180-restart-once). Both pass when run alone on main c18048d2. **Cause: UNPROVEN.** It may be load, the same pattern as martha#139. | test | sighting | alone on main c18048d2 | |---|---|---| | `prove_the_core/a_test_leaves_nothing_behind/a_killed_run_takes_its_children.node-test.ts` (file-level red) | full suite run, 2026-11-25 14:33 +0100, worktree at tip a25419de with the r=1 work uncommitted (committed next as 77d7181b) | pass 3/3 | | `src/claude_code_host/the_bash_answers_bite.node-test.ts` "an out-dir inside the checkout is refused before anything is made, and the tree stays clean" | branch run, 2026-11-25 14:36 +0100, tip 77d7181b | pass (green in the later runs on a21cc704) | Logs (on the builder's box): `~/.claude/sessions/saturnus-180/run6.log`, `bash-branch.log`; the runs alone on main: `main-killed-run.log`. Same pattern as #139 (the martha#70 terminal-start test). Neither branch commit touches these tests or the code they drive. Done when: each test either has a proven cause and a fix, or is shown to be green across N full-suite runs on main.
Member

Another instance, same class. ci.yml run 5127 at tip 1233f0a6 (PR 215, martha#206 — a merge-only commit), task 16921, "the relay loads in the recorded host", 2026-11-26 ~02:02–02:07Z.

test sighting green elsewhere
src/drive_the_recorded_host/a_review_at_its_limit_on_the_recorded_host.node-test.ts:163 — "on the recorded host a review the reviewer model refused is named to the member and its row" ci.yml full run on the capacity-1 runner, 186440 ms the same job passed at f76a9c42 (task 16481) — the tip this merge-only commit merges into main — and on main's bc8c2c25 (task 16779)

What it printed: AssertionError: the owner's row never named the failed review (actual false, expected true) at :195:10, with the screen at that moment showing the host's own agent still at ● Agent(review the patch) ✻(0s · ↓1 tokens) ⎿ Initializing…. The refusal the case waits for never came, so the run was ended for showing nothing new. No timeout, kill, ECONNREFUSED or port line in the log.

Cause: UNPROVEN, as with the others above. It reads as time under load: the case's 40-request ceiling was never reached and the agent never left its first second.

The job itself is not rarely red: 44 of the 320 occurrences of "the relay loads in the recorded host" in the window the forge's task list gives me are failures, main's own tips among them (052a7306, 09a775b2, 3479a491, 951f20be, 9f8d6451, a1dab83e).

Recorded before the rerun so attempt 1 is not hidden: martha#206 comment 5394. One rerun is ruled (Mars, 2026-11-26); if it reds this same case, it is a real red and not an instance of this class.

Another instance, same class. ci.yml run 5127 at tip `1233f0a6` (PR 215, martha#206 — a merge-only commit), task **16921**, "the relay loads in the recorded host", 2026-11-26 ~02:02–02:07Z. | test | sighting | green elsewhere | |---|---|---| | `src/drive_the_recorded_host/a_review_at_its_limit_on_the_recorded_host.node-test.ts:163` — "on the recorded host a review the reviewer model refused is named to the member and its row" | ci.yml full run on the capacity-1 runner, 186440 ms | the same job passed at f76a9c42 (task 16481) — the tip this merge-only commit merges into main — and on main's bc8c2c25 (task 16779) | What it printed: `AssertionError: the owner's row never named the failed review (actual false, expected true)` at `:195:10`, with the screen at that moment showing the host's own agent still at `● Agent(review the patch) ✻(0s · ↓1 tokens) ⎿ Initializing…`. The refusal the case waits for never came, so the run was ended for showing nothing new. No timeout, kill, ECONNREFUSED or port line in the log. **Cause: UNPROVEN**, as with the others above. It reads as time under load: the case's 40-request ceiling was never reached and the agent never left its first second. The job itself is not rarely red: 44 of the 320 occurrences of "the relay loads in the recorded host" in the window the forge's task list gives me are failures, main's own tips among them (052a7306, 09a775b2, 3479a491, 951f20be, 9f8d6451, a1dab83e). Recorded before the rerun so attempt 1 is not hidden: martha#206 comment 5394. One rerun is ruled (Mars, 2026-11-26); if it reds this same case, it is a real red and not an instance of this class.
Member

Two more sightings of this class, recorded here at Neptunus's r=1 on PR 235, with the attribution Mars gave: this one is the #195 race that #199 (PR 213, PASS, CI pending) fixes, not the recorded-host class PR 235 lands.

test sighting alone
prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts — SIGTERM, SIGINT and SIGHUP full local suite on plain main a10a6e98 (clean clone, run_the_tests_in_a_namespace_of_their_own.sh, nice -n 10), 2026-11-26, 5553 tests / 3 fail 3/3 pass on the same tree
the same file — SIGTERM and SIGINT full local suite on hygiea/186-recorded-host-initializing d529f4d0 (main a10a6e98 + PR 235, whose diff is the recorded-host wait and one test in it), 2026-11-26, 5554 tests / 2 fail 3/3 pass on the same tree

What it prints, both trees, both signals: the run ended by SIGTERM exits with its base plus the signal's number / null !== 143 (SIGINT: null !== 130). The run's exit code was never taken, not taken wrongly, so this is not the recorded-host wait cutting a run off.

So the file is green alone and red inside a full suite on main itself, which is this issue's own shape. It is the third and fourth instance here, after the two in the body, and it is the only class the full suite still reds on on main.

PR 235 (a10a6e98..d529f4d0) fixes the recorded-host case (c) only and leaves #186 open: cases (a) a_killed_run_takes_its_children and (b) the_bash_answers_bite out-dir still have no cause and no N-run proof.

Two more sightings of this class, recorded here at Neptunus's r=1 on PR 235, with the attribution Mars gave: this one is the #195 race that #199 (PR 213, PASS, CI pending) fixes, not the recorded-host class PR 235 lands. | test | sighting | alone | |---|---|---| | `prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts` — SIGTERM, SIGINT **and** SIGHUP | full local suite on **plain main a10a6e98** (clean clone, `run_the_tests_in_a_namespace_of_their_own.sh`, `nice -n 10`), 2026-11-26, 5553 tests / 3 fail | 3/3 pass on the same tree | | the same file — SIGTERM and SIGINT | full local suite on **hygiea/186-recorded-host-initializing d529f4d0** (main a10a6e98 + PR 235, whose diff is the recorded-host wait and one test in it), 2026-11-26, 5554 tests / 2 fail | 3/3 pass on the same tree | What it prints, both trees, both signals: `the run ended by SIGTERM exits with its base plus the signal's number` / `null !== 143` (SIGINT: `null !== 130`). The run's exit code was never taken, not taken wrongly, so this is not the recorded-host wait cutting a run off. So the file is green alone and red inside a full suite on main itself, which is this issue's own shape. It is the third and fourth instance here, after the two in the body, and it is the only class the full suite still reds on on main. PR 235 (`a10a6e98..d529f4d0`) fixes the recorded-host case (c) only and leaves #186 open: cases (a) `a_killed_run_takes_its_children` and (b) `the_bash_answers_bite` out-dir still have no cause and no N-run proof.
Member

Seen again, attempt 1: martha run 5389 (PR 234, #231, tip b451b4cf), job 22812 "gate coverage". prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts, SIGTERM and SIGINT: the run ended by SIGTERM exits with its base plus the signal's number / null !== 143. SIGHUP passed. Every other job of the run is green. This is the shape in c5649 (the #195 race). PR 213, which fixes it, merged at 06:40Z, after this tip was cut. Job 22812 is re-run once by API.

Seen again, attempt 1: martha run 5389 (PR 234, #231, tip b451b4cf), job 22812 "gate coverage". `prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts`, SIGTERM and SIGINT: `the run ended by SIGTERM exits with its base plus the signal's number` / `null !== 143`. SIGHUP passed. Every other job of the run is green. This is the shape in c5649 (the #195 race). PR 213, which fixes it, merged at 06:40Z, after this tip was cut. Job 22812 is re-run once by API.
Member

Attempt 1, martha#251 PR 253 at 4cb4ee53, run 5596 job 23895 (gate coverage): a file stuck in a sync loop ends when its run is sent SIGINT ... (martha#195) failed with null !== 130 in the full-suite run. The same job had two real reds from PR 244's old stacked commits; the fix push d929ec4b re-runs this job, so no separate rerun.

Attempt 1, martha#251 PR 253 at 4cb4ee53, run 5596 job 23895 (gate coverage): `a file stuck in a sync loop ends when its run is sent SIGINT ... (martha#195)` failed with `null !== 130` in the full-suite run. The same job had two real reds from PR 244's old stacked commits; the fix push d929ec4b re-runs this job, so no separate rerun.
Member

Two more instances of this class from the gate-coverage research (job logs read via the API; no reruns, no pushes):

  • martha#204 ("martha join: a team crew redeems a realm's invite (#198)") — the a_stuck_file_ends_when_its_run_is_signalled SIGINT null !== 130 flake redded the gate coverage job twice.
  • martha#244 ("A martha land whose tree a green PR run tested runs nothing on main") — the same SIGINT flake appeared in its run alongside the two real guard reds (c4 land_a_pull_request_by_hand undeclared, martha#272 rmSync no-retry), which are a separate matter from this class.
  • martha#253 — already recorded above (run 5596, job 23895, null !== 130).

These confirm the load/timing class, not a new fault — I withdraw the "candidate NEW flake issue" from my gate-coverage table. #186 is the right tracker; no new issue.

Two more instances of this class from the gate-coverage research (job logs read via the API; no reruns, no pushes): - **martha#204** ("martha join: a team crew redeems a realm's invite (#198)") — the `a_stuck_file_ends_when_its_run_is_signalled` SIGINT `null !== 130` flake redded the `gate coverage` job twice. - **martha#244** ("A martha land whose tree a green PR run tested runs nothing on main") — the same SIGINT flake appeared in its run alongside the two real guard reds (c4 `land_a_pull_request_by_hand` undeclared, martha#272 rmSync no-retry), which are a separate matter from this class. - **martha#253** — already recorded above (run 5596, job 23895, `null !== 130`). These confirm the load/timing class, not a new fault — I withdraw the "candidate NEW flake issue" from my gate-coverage table. #186 is the right tracker; no new issue.
Member

Attempt 1, two load-flake sightings from a local whole npm test of martha#259 at af528cf1 (bwrap namespace wrapper, nice -n 10, no CI run): 5537 pass, 2 fail. Both passed when run alone: no_test_takes_a_real_members_key 7/7 solo, and the #932 tmux live test 17/17 solo. Mars counted them under this class in the #259 r1 VERDICT. No rerun, no push.

Attempt 1, two load-flake sightings from a local whole `npm test` of martha#259 at af528cf1 (bwrap namespace wrapper, nice -n 10, no CI run): 5537 pass, 2 fail. Both passed when run alone: `no_test_takes_a_real_members_key` 7/7 solo, and the #932 tmux live test 17/17 solo. Mars counted them under this class in the #259 r1 VERDICT. No rerun, no push.
Member

A third sighting, on tip 00e9070b (ceres/225-held-process-leak: the martha#225 fold-in plus b478e03f merged once), whole-suite run through prove_the_relay_loads/run_the_tests_in_a_namespace_of_their_own.sh npm test at nice -n 10, 2026-11-27:

test sighting alone on the same tip
prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts:157, a file stuck in a sync loop ends when its run is sent SIGTERM, and what it started ends with it (martha#195) full suite, AssertionError: the run took 10000 ms to end, the case took 17.8 s (5611 cases, that one failure, 38 skipped) pass 3/3, the case in 0.6 s

Cause: UNPROVEN, and the branch touches neither this file nor the code it drives (it changes src/end_a_launch/recorded_inside_the_hold.node-test.ts only). The 30x difference between the suite and the solo run is the load signature the other rows here share; the 10 s deadline appears to be the shape, if that is worth confirming.

A third sighting, on tip `00e9070b` (`ceres/225-held-process-leak`: the martha#225 fold-in plus `b478e03f` merged once), whole-suite run through `prove_the_relay_loads/run_the_tests_in_a_namespace_of_their_own.sh npm test` at `nice -n 10`, 2026-11-27: | test | sighting | alone on the same tip | |---|---|---| | `prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts:157`, `a file stuck in a sync loop ends when its run is sent SIGTERM, and what it started ends with it (martha#195)` | full suite, `AssertionError: the run took 10000 ms to end`, the case took 17.8 s (5611 cases, that one failure, 38 skipped) | pass 3/3, the case in 0.6 s | Cause: UNPROVEN, and the branch touches neither this file nor the code it drives (it changes `src/end_a_launch/recorded_inside_the_hold.node-test.ts` only). The 30x difference between the suite and the solo run is the load signature the other rows here share; the 10 s deadline appears to be the shape, if that is worth confirming.
Member

Another sighting, on tip 2c53ab29 (venus/release-0.5.0, PR #332: version bump, C4 picture, README prose, merged with main 7daf547b). Whole npm test through prove_the_relay_loads/run_the_tests_in_a_namespace_of_their_own.sh at nice -n 10, 2026-12-01, with another member's whole suite running on host00 at the same time: 169 + 5865 pass, 1 fail, 1 cancelled.

test in the full suite alone on the same tip
prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts "a file stuck in a sync loop ends when its run is sent SIGHUP, and what it started ends with it (martha#195)" SyntaxError: Unexpected end of JSON input at aRunSignalled (:117), after 5.1 s pass 3/3
src/dashboard_rows_directory/dashboard_rows_directory.node-test.ts "a beat is written whole: a reader handed the file mid-write never sees half a row (test 1)" cancelled: timed out after 60000 ms pass 3/3

The same tip's previous whole run, before the merge with main (99378ace), was 169 + 5866 pass, 0 fail. The PR touches no code these tests drive.

Another sighting, on tip `2c53ab29` (`venus/release-0.5.0`, PR #332: version bump, C4 picture, README prose, merged with main 7daf547b). Whole `npm test` through `prove_the_relay_loads/run_the_tests_in_a_namespace_of_their_own.sh` at `nice -n 10`, 2026-12-01, with another member's whole suite running on host00 at the same time: 169 + 5865 pass, 1 fail, 1 cancelled. | test | in the full suite | alone on the same tip | |---|---|---| | `prove_the_core/a_test_run_ends/a_stuck_file_ends_when_its_run_is_signalled.node-test.ts` "a file stuck in a sync loop ends when its run is sent SIGHUP, and what it started ends with it (martha#195)" | SyntaxError: Unexpected end of JSON input at `aRunSignalled` (:117), after 5.1 s | pass 3/3 | | `src/dashboard_rows_directory/dashboard_rows_directory.node-test.ts` "a beat is written whole: a reader handed the file mid-write never sees half a row (test 1)" | cancelled: timed out after 60000 ms | pass 3/3 | The same tip's previous whole run, before the merge with main (`99378ace`), was 169 + 5866 pass, 0 fail. The PR touches no code these tests drive.
Member

One more sighting, on tip 0487543a (venus/release-0.5.0, PR #332 merged with main 3f092f10). Whole npm test through run_the_tests_in_a_namespace_of_their_own.sh at nice -n 10, 2026-12-01: 169 + 5867 pass, 1 fail.

test in the full suite alone on the same tip
prove_the_core/a_test_leaves_nothing_behind/a_killed_run_takes_its_children.node-test.ts (file-level, 14.6 s) red pass 3/3

The previous whole run, on the merge with 607b194d (a30a6253), was 169 + 5862 pass, 0 fail. The PR touches no code this test drives.

One more sighting, on tip `0487543a` (`venus/release-0.5.0`, PR #332 merged with main 3f092f10). Whole `npm test` through `run_the_tests_in_a_namespace_of_their_own.sh` at `nice -n 10`, 2026-12-01: 169 + 5867 pass, 1 fail. | test | in the full suite | alone on the same tip | |---|---|---| | `prove_the_core/a_test_leaves_nothing_behind/a_killed_run_takes_its_children.node-test.ts` (file-level, 14.6 s) | red | pass 3/3 | The previous whole run, on the merge with 607b194d (`a30a6253`), was 169 + 5862 pass, 0 fail. The PR touches no code this test drives.
Member

Another instance of this load class, on a main landing run.

  • Test: trial_the_goose_host/drive_the_trial_with_a_stand_in_engine.node-test.ts:395, "the driver leaves no request answering the model once the line has its verdict (martha#732)".
  • Assertion at :402: took < 60_000/3 (20000 ms). The driver took 21020 ms. The verdict assertion at :401 passed, and line 1's result.json was written.
  • Attempt 1: suite.yml run 6165, job 25620 "gate coverage" (runner martha-bwrap), push to main at ecb6f372e4; 5899 pass, 1 fail.
  • The same test was green in that sha's pull_request round (suite run 6154). The batch (#337, #237) changed nothing under trial_the_goose_host/.
  • Ruled a flake by Mars; job 25620 rerun once.
Another instance of this load class, on a main landing run. - Test: `trial_the_goose_host/drive_the_trial_with_a_stand_in_engine.node-test.ts:395`, "the driver leaves no request answering the model once the line has its verdict (martha#732)". - Assertion at :402: `took < 60_000/3` (20000 ms). The driver took **21020 ms**. The verdict assertion at :401 passed, and line 1's result.json was written. - Attempt 1: suite.yml run 6165, job 25620 "gate coverage" (runner martha-bwrap), push to main at ecb6f372e49ead5e074d987cffc2a662be85ed6c; 5899 pass, 1 fail. - The same test was green in that sha's pull_request round (suite run 6154). The batch (#337, #237) changed nothing under trial_the_goose_host/. - Ruled a flake by Mars; job 25620 rerun once.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
9 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha#186
No description provided.