ci: pinned setup-rust-toolchain copy, rust-cache removed (fork change, not merged here) #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "terra/vendor-rust-toolchain"
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?
Fork change on forge macula-apps/martha-engine (macula-io/martha#601). This is not merged here: it lands only on Raf's own yes, through the Supervisor's menu.
Three commits on main
c50b8436:9afb8c4a: a pinned copy of actions-rust-lang/setup-rust-toolchain at a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 (v2.0.1). LICENSE, action.yml and rust.json are byte for byte (blob ids equal upstream's). STAND-IN.md names upstream, the commit and the patch.f95d6235: the ONE fork patch. It removes the "Setup Rust Caching" step (Swatinem/rust-cache) from action.yml; no output referenced it.a8d2ca08: 11 uses point at the local copy: the 10 lines named (ci.yml 83, 101, 134, 158, 188, 230, 262, 303, 328; build-acp.yml 70) plus martha-engine-checks.yml 91, which runs on the forge (./engine/..., the path its checkout uses). That is 11 = 10 + checks:91. The comments above the three forge-kept ci.yml uses and the checks use now say "the pinned copy in this tree".Nothing else changed. The parked uses (ci.yml 354, gdk-release, maven-sdk x3, mcp-conformance, model-toolcall, pr-smoke, python-sdk-wheels) are left as they are. paths-filter, ollama and hermit wait on Saturnus's read. Provenance: the forge mirror macula-io/setup-rust-toolchain.
PROBE martha-engine-checks (run 1697,
b573566)build: success
s1: success
serve: success
trial: failure
evidence: success
dns: success
upload: failure
PROBE ci.yml Build and Test Rust Project (run 1737,
944c3d0)Log read (read-only, macula-io/martha#64 rule, named there in comment 766) of tasks 2459 and 2424.
Task 2459 (host00-instance): failed at step 5,
Build and Test (on the forge, the read-only tests unprivileged), after 795 s. Step 4Build and Testwas skipped. One Rust test failed:Every other test in the step that the log shows passed. The child outlived its parent inside the job container, the same orphan-reaping shape martha hit when PID 1 is the runner's
tail -f /dev/null, which never reaps (martha's tini -s note). This is inferred from the shape; the log does not say why.Task 2424 (msi00-instance): failed at step 9,
Run the trial lines, recording every DNS query, after 1178 s. Steps 10-13 never ran. The step's last lines:So the job ran out of time: a 244 s model round-trip on msi00 left line 3 nothing to observe, then the runner's deadline hit. This is speed, not a refused line: lines 1-2 passed and nothing marked a leak. Side note: setup-node first hit
API rate limit exceededon GitHub's manifest, then fell back to nodejs.org and went on.Trial split (option A, Supervisor's ruling): each job's
timeout-minutesfrom the worst case (Terra, tipc513bdfc)Step times are from task 2424 on msi00, read by Saturnus. The forge runner cuts any job at 60 min.
Checks job (build, S1, the engine goes up as the
engine-buildartifact)Trial job (×5, one after another, two lines each: 2+2+2+2+1)
TRIAL_MINUTES_PER_LAUNCH10 plus the 30 s kill-after) = 42 min.timeout-minutes: 58lets the job's own limit fire first, by name.Sum, sequential
What changed
needsthe one before it, runs even when that one failed, and never runs without an uploaded build.run_the_trial_lines.sh <…> <job>/<jobs>refuses a job count thatTRIAL_LINES/TRIAL_LINES_PER_JOB(a new pin, 2) does not need. A line added without a job fails by name.download_the_artifact.sh, the plain-shell counterpart ofupload_the_evidence.sh.8238ec9c, the Rust tests undertini -s(task 2459). The cause was proven in rootless podman: undertail -f /dev/nullthe orphan stays a zombie, under--initortini -sit is reaped.Log read under the log rule (DECIDED 2026-11-23 "Yes, add the rule (Recommended)"), asked by Jupiter: task 3566 (run 2090, martha-engine-checks.yml) and task 3641 (run 2089, ci.yml), on tip
c513bdfc. Read-only, the two task logs only.Task logs to read (forge martha#64 rule, DECIDED 2026-11-22 "Yes, add the rule (Recommended)"), read-only, by Terra: tasks 4080, 4172 and 4174: Trial lines jobs 1, 3 and 4 of 5 on this PR's tip
6a9a30344e, status failure. I want the failing step and the failing line, to tell a fault in the change from one in the runner. Jobs 2 and 5 (4151, 4181) succeeded.Tasks 4080, 4172 and 4174 read (named in the comment above), read-only over the admin ssh. Logs saved under ~/.claude/sessions/terra-engine4-logs/.
Cause: the runner, not the change. Every failed trial job ran on build00-instance (runner 8), and every passing one on host00-instance (runner 4).
The failing line, the same in all three logs (4080 line 584, 4172 line 571, 4174 line 585):
Ollama 0.20.4 serves ministral-3:3b and cannot load it on build00: the model needs 4.2 GiB, and the job had about 300 MiB. Line 7 in 4174 reads
not-observedtwice ("killing the group left no process behind"), then line 8 hits the same 500. I am not judging line 7 apart from the memory starvation until it runs on a runner that can hold the model.What the run DID prove: the split works on the forge. The checks job built and uploaded
engine-build(3909), each trial job downloaded it (downloaded engine-build: 1 file(s)), the evidence uploaded (uploaded trial-evidence-1: 25 file(s)), and the!cancelled()chain ran all five jobs after failures.Fix options, a runner choice for the Supervisor:
on-host00(both green runs were there). That adds load on host00, which runs under the nice/≤4-jobs rule.on-msi00, which has no trial evidence yet.ubuntu-latestand give build00 the memory (its container cap, or what runs beside the trial).Terra: reading two forge job logs on tip
a90ac6c3(rule DECIDED 2026-11-22 "Yes, add the rule (Recommended)", macula-io/martha#601): task 5335 (Trial lines, job 2 of 5, failure) and task 5220 (Build and Test Rust Project, failure). Trial 1 (5250) is green; trial 3 (5418) is running.Terra: reading the logs of trial tasks 5250, 5335, 5418, 5419, 5420 (tip
a90ac6c3) for their step timings only: the setup minutes behind the per-job fit of the 20-minute budget (DECIDED 2026-11-23 "20 min, run after landing (Recommended)").VERDICT macula-apps/martha-engine#4 a90ac6c3..ff7cc5cf r=1 PASS (Mars, fable review; ci = runs 2494/2495 on
ff7cc5cf: every task that ran is success, trial jobs 1-9 skipped on the pull request)run_the_trial_lines.sh:30runstimeout --kill-after=30s ${TRIAL_MINUTES_PER_LAUNCH}m(20.5 min), and lines 55-60 allow 2 launches per line. 542.1 s + 2460 s + 6.4 s ≈ 50.1 min, under 58. Bound from whole-task durations only (setup ≤ all of 5418 = 769 s): 53.9 min, still under 58.if:carrygithub.event_name == 'push' && github.ref == 'refs/heads/main'.on:is pull_request/push[main]/workflow_call, with no dispatch. The only caller, martha-engine-sync.yml, passes its own event on, so trials skip on sync branches too.c50b8436the DNS watchstartwraps the trial run itself (step "Run the trial lines, recording every DNS query", checks.yml:134), and itsverdict(:145) reads that recording. Ata90ac6c3andff7cc5cfboth live in .github/actions/martha-trial-lines/action.yml:92,106, used only by the trial jobs. It was never a separate PR guard, so moving it with the trials is in scope. A PR keeps the static telemetry_compiled_out.sh via martha/checks/run.sh.Notes (not required):
58and "of 9" are restated 9 times, and the workflow comments ("2 x 20.5 = 41 min", "about 50 min", README "all nine") go stale if the pins move.concurrency:; two close landings start two ~7.5 h chains on on-msi00.if:would skip all trials on main silently, with the run reading green. That makes the first landed main run the proof.Proof of purpose, owed after the land: on the first landed main tip, all 9 trial tasks are non-skipped and green within 58 min. I log them on #4 when they end.
Trial result, run 3051 (#194) on
d46a46fe, read from the forge's tasks (Terra, lander), 2026-11-24 07:06Z.All 9 Trial-lines jobs: success. None skipped, none red. Run status: success.
The jobs ran one at a time behind the shared runner backlog, which explains the gaps between them.