You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Daemon FileHandle leak: ERR_INVALID_STATE on concurrent launches #185
The agentctl daemon throws "ERR_INVALID_STATE: A FileHandle object was closed during garbage collection" when multiple concurrent agentctl launch commands are issued. This causes new launches to fail with "Connection closed before response received".
Error
[Error: A FileHandle object was closed during garbage collection. This used to be allowed with a deprecation warning but is now considered an error. Please close FileHandle objects explicitly. File descriptor: 12 (/Users/ms/.agentctl/daemon.stdout.log)] {
code: 'ERR_INVALID_STATE'
}
Node.js v25.5.0
Impact
Prevented launching 2 conflict-resolution agents for PRs with merge conflicts during patrol
4 earlier review-fix agents launched successfully before the daemon entered this state
Error appears to be triggered by concurrent or rapid-sequential launch requests
Activity