Skip to content

fix: exclude orchestrator sessions from active-session guard in /api/update#2075

Open
billovfo wants to merge 1 commit into
AgentWrapper:mainfrom
billovfo:fix/update-409-orchestrator-session
Open

fix: exclude orchestrator sessions from active-session guard in /api/update#2075
billovfo wants to merge 1 commit into
AgentWrapper:mainfrom
billovfo:fix/update-409-orchestrator-session

Conversation

@billovfo
Copy link
Copy Markdown

The POST /api/update route returns 409 Conflict when any session is active (working/idle/needs_input/stuck). The orchestrator session itself is always idle while the dashboard is running, making the Update button permanently unusable through the web UI.

This fix filters out orchestrator sessions (identified via isOrchestratorSession()) from the active session count, so only genuine worker sessions block the update.

…e API

POST /api/update returns 409 when the orchestrator session (which
is always 'idle') is counted as active. This prevents the dashboard
Update button from ever working because the orchestrator itself
is always running while the dashboard is up.

Filter out orchestrator sessions with isOrchestratorSession() so
only worker sessions block the update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant