ci: a plain martha PR push queues 6 jobs, docs-only 2; heavy jobs path-filtered (martha#259) #262

Manually merged
terra merged 3 commits from uranus/259-lean-ci into main 2026-11-26 14:13:45 +00:00
Member

Why

A plain martha PR push queues at most 6 jobs, a docs-only change 2, and only a PR that touches the heavy paths (or a main push) runs all 9. Raf decided this on 2026-11-26: "M2: path-filtered", "Docs-only changes run light" and "Gate 2nd test pass on landing". Refs #259

What changed

The single workflow is split into three:

  • ci.yml (every PR, no filter): links and checks.
    • checks keeps every check: script and gains check:recorded-host-runs.
    • The clean-install self-test moves out of checks, so its timeout drops from 90 to 60.
  • suite.yml: gate coverage and live-run-ring.
    • It ignores docs-only paths: root *.md, docs/**, .github/ISSUE_TEMPLATE/** and .github/pull_request_template.md. src/**/*.md still runs it.
    • The gate's second, long-TMPDIR test pass runs only on push (the landing run).
  • heavy.yml: relay, clean-install and installer.
    • On PRs it runs only when a file on one union path list changes; it runs on every main push.
  • standalone and c4-model ignore the same docs-only paths.
  • INSTALLER_WORKFLOW (heavy.yml) names the installer job's file. WORKFLOW stays ci.yml as the anchor for the check-script guard.

The jobs moved unchanged apart from the points above. No guard was changed and no check was added or dropped.

Status contexts: jobs that moved to suite.yml and heavy.yml report under a new workflow name. Main requires no status checks, so nothing changes at land.

Known residual (design §M2, decided): the relay reaches code outside heavy.yml's path list. A break there can pass the PR run, and the landing run on main catches it.

How it was checked

  • Local, on merge 8f9678ea, all exit 0:
    • actionlint, tsc and lint;
    • check:every-check-runs-in-a-job, check:every-job-has-a-timeout and check:recorded-host-runs;
    • check:private, which reports nothing private.
  • Whole npm test in the namespace wrapper: 5545 pass and 1 fail. The fail is #248's known load flake, which is green alone 3/3.
  • Review: Mars r1 PASS and r2 PASS (the merge).
  • CI passes on the exact commit to merge. The first runs prove the job counts: ≤6 on a plain PR, 2 on docs-only, 9 on a heavy-path PR or main.
  • Every link in a changed document resolves
## Why A plain martha PR push queues at most 6 jobs, a docs-only change 2, and only a PR that touches the heavy paths (or a main push) runs all 9. Raf decided this on 2026-11-26: "M2: path-filtered", "Docs-only changes run light" and "Gate 2nd test pass on landing". Refs #259 ## What changed The single workflow is split into three: - **ci.yml** (every PR, no filter): `links` and `checks`. - `checks` keeps every `check:` script and gains `check:recorded-host-runs`. - The clean-install self-test moves out of `checks`, so its timeout drops from 90 to 60. - **suite.yml**: `gate coverage` and `live-run-ring`. - It ignores docs-only paths: root `*.md`, `docs/**`, `.github/ISSUE_TEMPLATE/**` and `.github/pull_request_template.md`. `src/**/*.md` still runs it. - The gate's second, long-TMPDIR test pass runs only on `push` (the landing run). - **heavy.yml**: `relay`, `clean-install` and `installer`. - On PRs it runs only when a file on one union path list changes; it runs on every main push. - `standalone` and `c4-model` ignore the same docs-only paths. - `INSTALLER_WORKFLOW` (heavy.yml) names the installer job's file. `WORKFLOW` stays ci.yml as the anchor for the check-script guard. The jobs moved unchanged apart from the points above. No guard was changed and no check was added or dropped. **Status contexts:** jobs that moved to suite.yml and heavy.yml report under a new workflow name. Main requires no status checks, so nothing changes at land. **Known residual** (design §M2, decided): the relay reaches code outside heavy.yml's path list. A break there can pass the PR run, and the landing run on main catches it. ## How it was checked - [x] Local, on merge 8f9678ea, all exit 0: - actionlint, tsc and lint; - check:every-check-runs-in-a-job, check:every-job-has-a-timeout and check:recorded-host-runs; - check:private, which reports nothing private. - [x] Whole `npm test` in the namespace wrapper: 5545 pass and 1 fail. The fail is #248's known load flake, which is green alone 3/3. - [x] Review: Mars r1 PASS and r2 PASS (the merge). - [ ] CI passes on the exact commit to merge. The first runs prove the job counts: ≤6 on a plain PR, 2 on docs-only, 9 on a heavy-path PR or main. - [ ] Every link in a changed document resolves
ci.yml keeps links and checks on every pull request; the clean-install self-test (19 of checks' 23 min)
leaves checks, and check:recorded-host-runs joins it. suite.yml takes gate coverage and the live run's ring,
heavy.yml the relay proof, the clean-install proof and the installer, on one union path list and every push
to main. suite, c4-model and standalone skip a docs-only pull request; the gate's long-TMPDIR pass runs on
the landing run only. The installer reader reads heavy.yml; prose that named ci.yml's moved jobs follows.
Merge remote-tracking branch 'origin/main' into uranus/259-lean-ci
Some checks failed
c4 model / c4-model-1 (pull_request) Successful in 3s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve, workflows are valid (pull_request) Successful in 7s
heavy / installer (pull_request) Successful in 2m18s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 30s
suite / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / checks (pull_request) Successful in 3m34s
suite / gate coverage (pull_request) Successful in 9m20s
heavy / the relay loads in the recorded host (pull_request) Successful in 14m39s
heavy / the clean-install proof removes its container (pull_request) Failing after 21m13s
8f9678ea72
terra manually merged commit 3a27ae3616 into main 2026-11-26 14:13:45 +00:00
Sign in to join this conversation.
No reviewers
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!262
No description provided.