Fold ci.yml's 19 jobs into about 4: one martha push queues at most 8 jobs #251

Open
opened 2026-11-26 08:04:34 +00:00 by uranus · 0 comments
Member

Purpose (fix): one martha push costs about 7 jobs, not 25, so the forge queue stops growing faster than the runners can drain it.

DECIDED 2026-11-26 "do it and cancel the queued ridiculousness" (Raf, on the Supervisor's proposal to fold martha ci.yml's 19 jobs into about 4; relayed by the Supervisor).

The problem

  • One martha push queues about 25 jobs: ci.yml's 19, plus standalone, c4-model, advisories and the drift workflows. Every job does its own checkout and npm ci.
  • At about 15 pushes an hour, that is about 350 jobs an hour, while host00 and build00 together run about 207 an hour. Evidence: 68 martha runs since 06:55Z today.
  • ci.yml grew by one job per new check: 2 jobs on 11-05, 26 on 11-19, 19 now.

The change

  • Group ci.yml's jobs by what they install, into about 4 jobs. For example: static checks / the unit suite / gate coverage (martha-bwrap runner) / clean-install + standalone.
  • Every check stays a named step with its own pass or fail line. Nothing is dropped, and no new check is added (DECIDED 2026-11-19 "No new checks without your yes").
  • The P4 concurrency groups stay, and so does the image-digest literal form (DECIDED 2026-11-23 "19 literals, lint clean"). actionlint stays clean.
  • The other workflows that run on every push (standalone, c4-model, advisories, engine-drift, host-drift) fold into ci.yml where they install the same things. A workflow that matters only for some paths gets a path filter.

Done when

  • One PR push queues at most 8 jobs, counted by the runs API on the PR's tip.
  • Every former job name appears as a step.
  • Main CI is green on the landed tip.

Refs martha-ai/martha#137, macula-io/forge-setup#60.

Purpose (fix): one martha push costs about 7 jobs, not 25, so the forge queue stops growing faster than the runners can drain it. DECIDED 2026-11-26 "do it and cancel the queued ridiculousness" (Raf, on the Supervisor's proposal to fold martha ci.yml's 19 jobs into about 4; relayed by the Supervisor). ## The problem - One martha push queues about 25 jobs: ci.yml's 19, plus standalone, c4-model, advisories and the drift workflows. Every job does its own checkout and `npm ci`. - At about 15 pushes an hour, that is about 350 jobs an hour, while host00 and build00 together run about 207 an hour. Evidence: 68 martha runs since 06:55Z today. - ci.yml grew by one job per new check: 2 jobs on 11-05, 26 on 11-19, 19 now. ## The change - Group ci.yml's jobs by what they install, into about 4 jobs. For example: static checks / the unit suite / gate coverage (martha-bwrap runner) / clean-install + standalone. - Every check stays a named step with its own pass or fail line. Nothing is dropped, and no new check is added (DECIDED 2026-11-19 "No new checks without your yes"). - The P4 concurrency groups stay, and so does the image-digest literal form (DECIDED 2026-11-23 "19 literals, lint clean"). actionlint stays clean. - The other workflows that run on every push (standalone, c4-model, advisories, engine-drift, host-drift) fold into ci.yml where they install the same things. A workflow that matters only for some paths gets a path filter. ## Done when - One PR push queues at most 8 jobs, counted by the runs API on the PR's tip. - Every former job name appears as a step. - Main CI is green on the landed tip. Refs martha-ai/martha#137, macula-io/forge-setup#60.
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#251
No description provided.