Skip to content

O1: Keep the IDE alive when the sidecar hits an unexpected error #503

Backlog

Description

@aMonteSl

Part of the overnight IDE epic.

As a user with unsaved work, I want an unexpected async error in the Node sidecar to be logged and reported instead of closing the IDE, so that I never lose editors because a background task failed.

Acceptance criteria

  • process.on('unhandledRejection'|'uncaughtException') in the sidecar logs the error to the Output panel and keeps the process alive
  • RPC notifications whose handler returns a rejected promise are caught
  • Recent-folder menu actions (open/clear) catch and report failures
  • Unit tests cover the async notification path and the handler

Hosts

  • Code-XR IDE (apps/ide): required on Windows, macOS and Linux.
  • VS Code extension: no change unless stated above (shared logic, if any, lives in the core so the extension can reuse it).

Generated by Claude Code

Activity

  1. added
    tfm
    user-story
    area: ide
    stream: ide-overnight-polish
    on Dec 5, 2026
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

    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