ci.yml's installer job checks out with a block step, which npm test reads as "|" and fails #83

Closed
opened 2026-11-23 04:36:22 +00:00 by hygiea · 0 comments
Member

Purpose (method): npm test runs 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.ts reads each run: line of ci.yml's installer job, and a step written as a block (run: |) reads as | — that file says so on purpose. run_the_installer_job.ts runs every step past the install, so it runs sh -c "|", which exits with a syntax error, and npm test stops with:

run_the_installer_job: CI's installer job step "|" fails in installer/ (exit 2)

Measured 2026-11-23 in the CI's own node:24-trixie digest on msi00, with npm ci --ignore-scripts done in installer/. The plain-shell checkout step arrived in the installer job in 1e823782 (2026-11-22, the forge port). The same reader run on origin/main's ci.yml gives ["|", "npm ci --ignore-scripts", "npx tsc --noEmit -p .", "npm test"], so main is the same.

Why it matters

npm test is 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

  • the reader runs a block step's body, at least for the plain-shell checkout, or
  • the installer job's checkout stops being a block step, or
  • the reader keeps refusing, and a check fails by name when a step of that job is one the reader cannot run.

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 test on every member's machine.

Refs macula-io/martha#57 (found while proving it), 1e823782.

Purpose (method): `npm test` runs 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.ts` reads each `run:` line of ci.yml's `installer` job, and a step written as a block (`run: |`) reads as `|` — that file says so on purpose. `run_the_installer_job.ts` runs every step past the install, so it runs `sh -c "|"`, which exits with a syntax error, and `npm test` stops with: ``` run_the_installer_job: CI's installer job step "|" fails in installer/ (exit 2) ``` Measured 2026-11-23 in the CI's own `node:24-trixie` digest on msi00, with `npm ci --ignore-scripts` done in `installer/`. The plain-shell checkout step arrived in the installer job in 1e823782 (2026-11-22, the forge port). The same reader run on `origin/main`'s ci.yml gives `["|", "npm ci --ignore-scripts", "npx tsc --noEmit -p .", "npm test"]`, so main is the same. ## Why it matters `npm test` is 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 - the reader runs a block step's body, at least for the plain-shell checkout, or - the installer job's checkout stops being a block step, or - the reader keeps refusing, and a check fails by name when a step of that job is one the reader cannot run. 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 test` on every member's machine. Refs macula-io/martha#57 (found while proving it), 1e823782.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
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#83
No description provided.