Skip to content

Stop and terminal controls can leave phantom active work blocking desktop updates #800

Closed as not planned

Description

Environment

  • 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:

  1. 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.
  2. 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

  1. Chih-Kai-Wang commented on Sep 28, 2026

    @Chih-Kai-Wang
    Author

    Closing at the reporter’s request. No upstream follow-up is planned at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions