Skip to content

Agents: Terminal auto-closes a lot #313510

@hawkticehurst

Description

@hawkticehurst

On a daily basis I'm seeing an issue where the terminal in Agents app will be automatically closed shortly after being opened. It happens multiple times a day but is not something I've found I can consistently reproduce. The "best" method I've across for reproducing is to use the workspace picker in the new chat view to jump between selecting different folders and then immediately trying to open the terminal panel via keybinding (ctrl + `) or toggle button.

Screen.Recording.2026-04-30.at.10.27.00.AM.mov

Does this issue occur when all extensions are disabled?: Yes

Version: 1.119.0-insider
Commit: 7e4091c
Date: 2026-04-29T21:38:10-07:00
Electron: 39.8.8
ElectronBuildId: 13870025
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

Steps to Reproduce:

  1. Open Agents new chat view
  2. Select a new folder via workspace picker
  3. Immediately try to open terminal via keybinding or toggle button
  4. See if terminal auto-closes
  5. Switch to a new workspace folder and repeat steps 3 and 4

Metadata

Metadata

Assignees

Labels

agents-appbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions