-
Notifications
You must be signed in to change notification settings - Fork 709
Open
Description
Summary
When running ao start, the tmux server dies silently after a few minutes, causing the orchestrator session to disappear. The dashboard (Next.js) stays alive on port 3000, but the orchestrator session transitions to "stuck" and eventually becomes unreachable.
Attempting ao start again then hits the stale port (related: #645, #300) and falls back to 3001, compounding the problem.
Steps to reproduce
ao startin a project directory (Linux, tmux 3.2a)- Wait ~5 minutes
tmux list-sessions→no server running on /tmp/tmux-501/defaultao statusshows sessions as "exited" / orchestrator as "unknown"ao startagain → starts on port 3001 because 3000 is still held by the orphaned Next.js process
Expected behavior
- tmux sessions should persist for the lifetime of the orchestrator
- If tmux dies, the lifecycle worker should detect it and either restart tmux or cleanly shut down the dashboard
Environment
- OS: Linux (OrbStack, aarch64)
- tmux: 3.2a
- agent-orchestrator: main @ 4741ba2
- Node: v22.x
Related issues
- fix: auto-increment port when configured port is already in use #300 — port auto-increment
- ao stop fails to kill dashboard when port was auto-reassigned #645 —
ao stopcan't kill dashboard on reassigned port
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels