Make e2e startup detect failed and duplicate launches #1617

Closed
opened 2026-10-27 13:41:07 +00:00 by sam · 0 comments
Owner

Repeated e2e startup overwrites PID files and accepts listeners from old processes, then seeds the wrong stack despite child failures. Refuse occupied ports before mutation, check spawned process readiness, and retain accurate process ownership.

Notes

Recovered process ownership after duplicate startup, verified a full stop/start and authenticated seeding, and passed the seeded browser check. Startup now refuses occupied ports, checks child liveness, and serializes stack commands. Added the missing test-account setup/login flow to seed and browser runner.

Close reason

Verified full quality gate, successful local stop/start with authenticated seeding, all six managed processes running, and seeded browser check. Regression reproduces the no-model curator panic and now passes; startup self-checks verify duplicate launches preserve process records and dead children cannot be masked by another listener.


Imported from beads archie-core-uwm8j · GitHub #1694 · type bug · priority P1 · created 2026-10-16 · closed 2026-10-16

Repeated e2e startup overwrites PID files and accepts listeners from old processes, then seeds the wrong stack despite child failures. Refuse occupied ports before mutation, check spawned process readiness, and retain accurate process ownership. ### Notes Recovered process ownership after duplicate startup, verified a full stop/start and authenticated seeding, and passed the seeded browser check. Startup now refuses occupied ports, checks child liveness, and serializes stack commands. Added the missing test-account setup/login flow to seed and browser runner. ### Close reason Verified full quality gate, successful local stop/start with authenticated seeding, all six managed processes running, and seeded browser check. Regression reproduces the no-model curator panic and now passes; startup self-checks verify duplicate launches preserve process records and dead children cannot be masked by another listener. --- _Imported from beads `archie-core-uwm8j` · GitHub #1694 · type bug · priority P1 · created 2026-10-16 · closed 2026-10-16_
sam added the highbug labels 2026-10-27 13:41:07 +00:00
sam self-assigned this 2026-10-27 13:41:07 +00:00
sam closed this issue 2026-10-27 13:41:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1617