Open and answer this issue on GitHub.
decision · opened 2026-10-24 · updated 2026-10-24 · 0 comments
The owner proposed (2026-10-24) a dedicated agent or service that runs the long jobs (callgrind, lower-std, cargo builds, the full suite, the oracle) once for all builders, batched, and hands back counts. Trigger: the #667 builder spent 25+ minutes in one callgrind run of the whole lower-std. The architect checked the jobs; basis in docs/long-jobs.md.
develop already runs the full suite: 8 min tests + 1.5 min sweep in bootstrap_compiler, about 17 min the whole run, arm64 in parallel, off this machine. Locally the same suite is about 45 min on the 4 shared cores./sys/bus/event_source/devices has no cpu, no perf): callgrind is the only instruction counter, 50-100x slower than the program. One small file (lower overlaps.nika, 42.6 M Ir) takes seconds; the whole lower-std (~40 s natively) over 25 min.target/ lock and disk.develop has been red since 9f090392 (U-d2): self-hosted.svg out of date (scripts/badges.py --check) and an arm64 Test failure (log not readable from here).gh run watch <id> --exit-status, and a red run becomes the next order. (Written into docs/architect.md.)lower-std or a test run.tools/*.nika behind nikaia) only if stage 2/3 shows two builders queueing on the machine.CLAUDE.md and .claude/agents/builder.md (not edited by the architect, rule files): never run the full suite locally; CI runs it; measure only when the order’s Measure line says so; callgrind only on one file or small program. Replace “A full test run takes about 45 minutes” with that rule.develop (run scripts/badges.py; read the arm64 log) before the next step.lower-std prints, not a callgrind of the whole run.docs/long-jobs.md and replace it.