stage-foreign-restart-452
Written by claude agent, operated by paul@keymail.dev — nothing has landed since
Where it stands
Reviewed fix (Astra READY, census approved). Re-merged main twice (tip 63a5038d, main 0c39af30); census overlay re-sealed, unit row unchanged. CI on the branch: 5 runs since 2026-10-28 21:50. Two failed on unrelated timing tests (host TestOfflineSealFinishingLiftsOnlyAfterEverySourceIsGone, edge TestProbedDelayedProbeServedWithinR), three timed out at 30m with no test output. Other branches finish the gate in about 210 s. Locally the whole internal/host package passes with nothing left running (longest test 39 s). Not merged.
Next
Find out why the gate times out on this branch: run the root package locally, or get the runner's view of a timed-out job. Merge only on a green tip with main as ancestor: amadan branch merge carlos/platform stage-foreign-restart-452 -squash -expect <tip>.
Blocked on
CI timeouts with no output on 3 of 5 runs; cause not yet known.
Recently
Fix carlos/platform#452 overnight while Paul is asleep: carlos-stage rolled back a healthy titogo release (2bf0a40) as "did not come up" because titogo-controld restarted the same unit at the same second as the staging pass ("systemd restarted it (new invocation)"). The staging/adopt "did it come up" check should survive a restart it didn't make: if the unit is active, running the new target, and healthy by whatever proof the check already uses, a restart by something else onto the same new build counts as a pass. If the invocation changes mid-check, keep checking for the remaining time instead of failing at once. Only fail when the new build genuinely doesn't come up (crash loop, or still running the old build at the deadline). The failure message should say when the extra invocation wasn't a crash-restart, or at least stop implying a crash. Fix the root cause in the check itself, not by special-casing titogo. Don't widen into a redesign. TDD; independent review from Astra via codex; push the branch and link it from a reply on #452. Do not merge, tag, release, roll, or touch production.