You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vivarium: report.json hides launch and teardown; guest launches run in series behind a per-guest host probe #1481
Landed (main "Lock the sources at nixidae b76c264"):
Launch and teardown steps. The boot clock starts before the launch; launch and teardown steps; report.json is written again after the teardown. checks.report (new) fails on the old code: both guests' boots had at: 0.051.
Probe once.container.Host keeps each probe's answer. checks.lan.container launches: 0.41/0.20 s → 0.22/0.012 s.
Kill in a check. The new steps showed the reap was the teardown: 1.5-1.9 s per guest, and 20 s (the whole POWEROFF_GRACE) for both checks.k8s workers. A --no-control run now SIGKILLs its guests: reaps ≤ 0.3 s, checks.k8s 81 → 67 s. A run with a socket still powers off; checks.cleanup has a case for each, and the old code fails the new one.
Settle in parallel. 0.03-0.08 s per settle, one run each. Most of the ~0.55 s is the journal path.
Follow-ups: async launch #1495, fewer store mounts #1496.
Needs a decision: settle only when a reader needs it. Each passed phase pays ~0.55 s to settle. Skipping that wait breaks the exact phase attribution drain promises: a line logged in a phase's last ~0.5 s is filed under the next phase, or none.
(a) Recommended: measure where the 0.55 s goes first. journald delays its change notification by 250 ms (POST_CHANGE_TIMER_INTERVAL_USEC, journald-manager.c:80), which is a candidate, not a measurement. Then shorten that path and keep exact attribution.
(b) Settle only on a failure, at a pause and at the end. Saves ~0.55 s per passed phase; loses exact attribution.
Decided by measurement (2026-11-18): settle stays on every phase, and exact attribution stays.
The ~0.5 s is the guest's journal stream: 0.30-0.49 s from systemd-cat to /artifacts/journal.jsonl inside the guest, against 0.05 s for the token's command. journald posts a change to journalctl --follow 250 ms after the first write. Skipping settle (b) would trade exact attribution for that time. A faster stream is the route that keeps both, and it is a redesign of the stream, so it has its own issue: #1500.
Activity
vivarium: record each guest's launch and the teardown in report.json
vivarium: probe the host once for all container guests
vivarium: kill the guests at the end of a run with no control socket
vivarium: send the settle tokens to all of a phase's guests at once
Lillecarl commentedon Nov 18, 2026
Landed (main "Lock the sources at nixidae b76c264"):
launchandteardownsteps;report.jsonis written again after the teardown.checks.report(new) fails on the old code: both guests' boots hadat: 0.051.container.Hostkeeps each probe's answer.checks.lan.containerlaunches: 0.41/0.20 s → 0.22/0.012 s.POWEROFF_GRACE) for bothchecks.k8sworkers. A--no-controlrun now SIGKILLs its guests: reaps ≤ 0.3 s,checks.k8s81 → 67 s. A run with a socket still powers off;checks.cleanuphas a case for each, and the old code fails the new one.Follow-ups: async launch #1495, fewer store mounts #1496.
Needs a decision: settle only when a reader needs it. Each passed phase pays ~0.55 s to
settle. Skipping that wait breaks the exact phase attributiondrainpromises: a line logged in a phase's last ~0.5 s is filed under the next phase, or none.POST_CHANGE_TIMER_INTERVAL_USEC,journald-manager.c:80), which is a candidate, not a measurement. Then shorten that path and keep exact attribution.Assisted-By: Claude Opus 5.5
Lillecarl commentedon Nov 18, 2026
Decided by measurement (2026-11-18): settle stays on every phase, and exact attribution stays.
The ~0.5 s is the guest's journal stream: 0.30-0.49 s from
systemd-catto/artifacts/journal.jsonlinside the guest, against 0.05 s for the token's command. journald posts a change tojournalctl --follow250 ms after the first write. Skipping settle (b) would trade exact attribution for that time. A faster stream is the route that keeps both, and it is a redesign of the stream, so it has its own issue: #1500.Closing: the other four parts are landed.
Assisted-By: Claude Opus 5.5