Approval UI can deadlock when multiple shell commands request escalation in parallel

Resolved 💬 1 comment Opened Feb 6, 2026 by Mateusrael Closed Feb 7, 2026

What version of the IDE extension are you using?

openai.chatgpt v0.4.71

What subscription do you have?

Plus

Which IDE are you using?

Visual Studio Code 1.109.0

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When multiple shell commands are dispatched in parallel and all require approval, delaying approval and only accepting one can leave the approval UI stuck. Only the last command is aproved (not the one you're aproving) and the rest is rejected. The session becomes blocked until I reload the VS Code window.

What steps can reproduce the bug?

  1. Send one response that dispatches 3 shell commands in a single multi_tool_use.parallel call.
  2. Set sandbox_permissions=require_escalated for all 3 commands, each with a different justification.
  3. Example commands: Get-Date, Get-TimeZone, whoami (or other simple commands).
  4. Wait ~10 seconds before interacting with approvals.
  5. Approve the first prompt.
  6. Observe UI becomes stuck until window reload.

What is the expected behavior?

Approval prompts should resolve independently. Mixed approve/reject outcomes should not freeze the UI, and no window reload should be required.

Additional information

First observed on February 6, 2026
Workaround: run one command at a time and avoid triggering multiple approvals simultaneously.

<img width="880" height="907" alt="Image" src="https://github.com/user-attachments/assets/5062560d-2488-4df7-8a0e-d51f2229f071" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗