statusline: members remain stuck in busy state indefinitely
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
Fleet members frequently show as busy in the statusline long after their execute_prompt has completed or been cancelled. The busy state is never cleared, so the member appears occupied indefinitely until the server is restarted.
fleet_status shows wrong state — PM cannot reliably tell if a member is safe to dispatch tostop_prompt or server restartBusy state clears as soon as execute_prompt exits — whether by normal completion, timeout, cancellation, or crash.
FLEET_PID: is never emitted (process crash before output, or stdout pipe lost), the session never records a PID and the busy flag may not clear on exitstop_prompt followed by immediate re-dispatch: the stopped flag may linger and block the next dispatch even after the process is dead