Skip to content

O31: The UI never freezes waiting on the sidecar, and windows always close #534

Backlog

Description

@aMonteSl

Part of the overnight IDE epic #502 (batch 3).

As a user whose agents produce a lot of output, I want the core to write to the sidecar from a dedicated thread, a window whose close prompt fails to still close, and a second click on close to force-close a hung window, so that the IDE stays responsive and never traps me.

Acceptance criteria

  • sidecar.rs stdin writes go through one writer thread fed by a channel; notify returns immediately (test with a child that does not read)
  • unsavedGuard: a failing close prompt falls back to a native confirm or closes
  • A second close within ~5 s while the sidecar does not answer closes the window
  • cargo + node tests

Hosts

  • Code-XR IDE (apps/ide) on Windows, macOS and Linux.
  • VS Code extension: shared logic, if any, lives in the host-neutral core.

Generated by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: idestream: ide-overnight-polishtfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions