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
Stop and terminal controls can leave phantom active work blocking desktop updates #800
macOS arm64 desktop app v2.0.141 (observed while updating to v2.0.142)
What happened
I encountered two ways the workspace could appear to remain active while trying to finish work and install a verified desktop update:
After an Ace balance-verification pause, the transcript showed a paused message but the composer still displayed Stop and the session tab still showed “working.” Clicking Stop did not visibly clear that state. A subsequent app restart showed the same session idle. During the update attempt the backend did not report an active agent run, so the composer appeared out of sync with actual activity.
Closing the last idle Terminal tab created a replacement terminal automatically. Reopening the Terminal pane could create another. The desktop updater then refused to restart with “1 interactive terminal” and later “2 interactive terminals,” even though both shells were sitting at prompts and had no child commands.
Expected
Stop should return a session with no active run to idle and update the composer.
Explicitly closing the last terminal should leave zero terminals, including after the pane is reopened, so the update can proceed.
Impact
The verified update download completed, but the user could not apply it until the idle PTY sessions were removed. These controls made it difficult to tell whether it was safe to restart.
Proposed fix
Clear a stale busy session status when Stop finds no active run, and persist an explicit last-terminal close so the Terminal pane's first-open autostart does not recreate a shell. The linked PR includes a regression test for the stale Stop state.
Activity
Chih-Kai-Wang commentedon Sep 28, 2026
Closing at the reporter’s request. No upstream follow-up is planned at this time.