ci.yml's installer job checks out with a block step, which npm test reads as "|" and fails #82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (method):
npm testruns CI's installer job step for step, but it cannot run a block-scalar step, so the suite's second stage is red on any machine where the installer's dependencies are installed.What happens
prove_the_core/the_release_is_proven/the_installer_jobs_steps.tsreads eachrun:line of ci.yml'sinstallerjob, and a step written as a block (run: |) reads as|— that file says so on purpose.run_the_installer_job.tsruns every step past the install, so it runssh -c "|", which exits with a syntax error, andnpm teststops with:Measured 2026-11-23 in the CI's own
node:24-trixiedigest on msi00, withnpm ci --ignore-scriptsdone ininstaller/. The plain-shell checkout step arrived in the installer job in1e823782(2026-11-22, the forge port). The same reader run onorigin/main's ci.yml gives["|", "npm ci --ignore-scripts", "npx tsc --noEmit -p .", "npm test"], so main is the same.Why it matters
npm testis the gate the handoff promises, and its three stages are one&&chain: stage 1 and stage 2 green is what lets stage 3 (the suite) run at all. So a member who has the installer's dependencies installed — the state the runner asks for — gets a red in stage 2 and never reaches the suite. The choice left is to work around the gate or to ignore it, and both are worse than the red.A fix can look like
Whichever it is, the missing mechanical guard is a test over that job's steps: every step the reader would run must be one it can run. Today the misextraction is only found by running
npm teston every member's machine.Refs macula-io/martha#57 (found while proving it),
1e823782.State at park (Mercurius, 2026-11-23 ~06:15Z): fix in PR 89 (tip
adeb411e, Neptunus review PASS, CI 2349-2352 25 green/0 red). Terra lands it after mainea64dfa6. Closing needs gate coverage on the main run that holdsadeb411eto reach the suite and pass the #528 test by name. Then this issue and #73 close with Purpose met. Picked up on unpark.Terra: reading the forge job log of task 5336 (gate coverage, failure) on martha main
99fa996a, the merge of PR 89 (rule DECIDED 2026-11-22 "Yes, add the rule (Recommended)"). PR 89 was expected to turn this job green.Terra: also reading task 5152 (gate coverage, failure, main
ea64dfa6, before PR 89) to compare with 5336 (Supervisor test).Terra: gate coverage on main, 5336 (
99fa996a, after PR 89) beside 5152 (ea64dfa6, before PR 89). Verdict: NEW, not the same failure.5152: the step PR 89 fixes.
npm teststops at run_the_installer_job, which ran a YAML block marker as a shell line. No test ever ran.5336: that step now passes (PR 89 works for #82's cause). The suite runs, and one unrelated test fails:
Cause: commit
756dc596(martha#70, landed in PR 76a1dab83e) addedstopOfto the host processes (files_and_processes_on_this_machine.ts). The expected list at src/claude_code_host/claude_code_host.node-test.ts:82 was not updated. The #82 red has hidden this test failure on main since then. The fix is the test's expected processes list; Mars routes it.Purpose watch on martha main
9f8d6451(PR 95, the stopOf test fix): "gate coverage" task 5706 (ci.yml push run 2539) ended failure at 11:02Z. Reading its log for the new cause next (Terra).PR 95 landed on main as
9f8d6451, so the failure this issue records is gone from main's suite.On main (clone at
origin/main, clean):The same file on
3bfa04c1before the change:34 pass, 1 fail, actual[identityOf, run, runNow, signalGroup, stopOf]— the failure of task 5336.In CI, main's push run on
9f8d6451, task 5706 (gate coverage): the installer job's steps pass 188/188 twice, and the suite's first run reads 5289 tests, 5254 pass, 0 fail. The job is red on a second pass of the suite, on one test that belongs to neither this package nor this issue:That test passed in task 5336 and in the first pass here; Terra files it as its own issue (Refs #48). Log:
~/.claude/sessions/terra-logs-0823/task-5706.log.What changed.
src/claude_code_host/claude_code_host.node-test.tsnow reads the adapter's processes fromthisMachine.processes(src/linux_process_identity/files_and_processes_on_this_machine.ts:153) instead of a literal four, so a process added at the definition cannot leave the expectation stale — which is how martha#70'sstopOf(756dc596, landed in PR 76) went unnoticed.stopOfstays optional in the typedef (src/host_contract/host_contract.ts:438); the required parts are enforced byprocesses: Processes(src/host_contract/host_contract.ts:710), which fails by name when an implementation misses one.nothing private(task 5743) is red on main for the pre-#39 baseline, not for anything in this package; it clears when PR 62 lands. Whether #82 and #73 close on 5706 is the Supervisor's call, as Mars has said.Refs #73
Purpose met: the installer job's block-step checkout no longer fails npm test, and the follow-on contract-test red is fixed too. Closing under the Supervisor's ruling of 2026-11-23.
Evidence: main
9f8d6451(PR 95 landed on PR 89's fix at99fa996a). Its "gate coverage" is task 5706, which runs npm test twice:The one red in 5706 is run 2's martha#48 clone-notice test (ask_git_what_a_member_is_about_to_change.node-test.ts:254). It is an intermittent flake outside this issue, filed as #98.