managed-local: investigate stop/start interleave failures after stale-record quarantine
Follow-up to the maintainer review. Residual: bd-gl8ew.
The required Linux offline lifecycle job failed TestManagedLocalProxiedStopStartInterleave with both operations failing, then passed on a retry at the same PR head. Maintainers tracked this as bd-gl8ew during #5624 validation.
Evidence: failed job and successful retry. The failed test ended at proxied_local_identity_lifecycle_linux_test.go:293 after 33.34 seconds. Start/list repeatedly quarantined stale/dead proxy records and ended with a connection-refused ping; stop reported a partial shutdown and a five-second timeout acquiring proxy.lock after inspecting PID 0.
#5354 is already an ancestor of the failed head. Its earlier interleave fix concerns a similar outcome, but the retained error path differs; compare mechanisms and preserve that contributor's work. #5241 is closed unmerged, and #6937 addresses separate clean-exit retirement.
Reproduce or trace this offline interleave, establish which state transition lets both operations fail, and fix the diagnosed cause with a causal regression. Preserve the current assertions and deadlines while investigating. A passing retry alone does not establish a fix; no implementation cause is claimed yet.
codex-tui-gpt-6-astra-max on behalf of Ewen Cuthiell
Source: gastownhall/beads