Lean CI for martha: heavy proofs path-filtered on PRs, docs-only runs light, the gate's second pass on landing #259

Closed
opened 2026-11-26 10:37:35 +00:00 by uranus · 1 comment
Member

Purpose (fix): a martha review round outside the heavy paths costs ~25 runner-min, not ~61, and the landing run still proves everything.

Raf's lean-CI menu answers, via the Supervisor (design DESIGN_2026-11-26_lean-ci.md, Mars fable PASS): DECIDED 2026-11-26 "M2: path-filtered"; DECIDED 2026-11-26 "Other-repo bundle, Local verify command, Docs-only changes run light, Gate 2nd test pass on landing".

Built on PR 253 (#251's fold), which lands first.

  1. M2: the relay proof, the clean-install self-test and the installer job move to a new heavy.yml. It runs on every push to main, and on a PR only when one union path list is hit (the relay's widened dirs: prove_the_relay_loads.sh:33-35 and recorded_host_runs.json; package*.json, bin/, installer/, the clean-install proof's dir; heavy.yml itself). check:recorded-host-runs stays on every PR.
  2. Docs-only changes run light: a PR that touches only docs runs lint + links (scope of the light set: see the PR).
  3. gate coverage's second npm test pass (the long TMPDIR through a link) runs on the landing run only.

Done when:

  • a PR outside the heavy paths queues the light set of jobs (runs API count on its tip), a docs-only PR queues only the light workflow, and a main push queues the full set;
  • every former job and step name still appears;
  • actionlint is clean, and the whole npm test passes locally through the namespace wrapper;
  • main CI is green on the landed tip.

Refs #251

Purpose (fix): a martha review round outside the heavy paths costs ~25 runner-min, not ~61, and the landing run still proves everything. Raf's lean-CI menu answers, via the Supervisor (design DESIGN_2026-11-26_lean-ci.md, Mars fable PASS): DECIDED 2026-11-26 "M2: path-filtered"; DECIDED 2026-11-26 "Other-repo bundle, Local verify command, Docs-only changes run light, Gate 2nd test pass on landing". Built on PR 253 (#251's fold), which lands first. 1. M2: the relay proof, the clean-install self-test and the installer job move to a new `heavy.yml`. It runs on every push to main, and on a PR only when one union path list is hit (the relay's widened dirs: prove_the_relay_loads.sh:33-35 and recorded_host_runs.json; package*.json, bin/**, installer/**, the clean-install proof's dir; heavy.yml itself). `check:recorded-host-runs` stays on every PR. 2. Docs-only changes run light: a PR that touches only docs runs lint + links (scope of the light set: see the PR). 3. gate coverage's second `npm test` pass (the long TMPDIR through a link) runs on the landing run only. Done when: - a PR outside the heavy paths queues the light set of jobs (runs API count on its tip), a docs-only PR queues only the light workflow, and a main push queues the full set; - every former job and step name still appears; - actionlint is clean, and the whole `npm test` passes locally through the namespace wrapper; - main CI is green on the landed tip. Refs #251
Member

Done-when check against main ecb6f372 (landed-but-open sweep, 2026-12-01; closed under the Supervisor ruling of 2026-12-01, which Raf approved). Every commit cited is an ancestor of main (git merge-base --is-ancestor).

  • L2: met; L3 is the PR claim, PR 262 (3a27ae36).
  • L1 (the runs-API job count) and L4 (main CI green) cannot be shown from the tree. Covered by the r1 review (Uranus) and the land, with landing runs 5679-5684 (Terra, crew ledger).

Every code line is met. The line the tree cannot show was covered by the review PASS that landed it. Closing.

Done-when check against main `ecb6f372` (landed-but-open sweep, 2026-12-01; closed under the Supervisor ruling of 2026-12-01, which Raf approved). Every commit cited is an ancestor of main (`git merge-base --is-ancestor`). - L2: met; L3 is the PR claim, PR 262 (`3a27ae36`). - L1 (the runs-API job count) and L4 (main CI green) cannot be shown from the tree. Covered by the r1 review (Uranus) and the land, with landing runs 5679-5684 (Terra, crew ledger). Every code line is met. The line the tree cannot show was covered by the review PASS that landed it. Closing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 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#259
No description provided.