Describe the bug
When a plan-mode prompt is running and I switch to a different session and back, the plan review never renders. The session hangs and the only way out is to terminate it. The plan approval UI that should be waiting for me is not visible, so there is no way to approve, reject, or continue.
Affected version
GitHub Copilot CLI 1.0.75
Steps to reproduce the behavior
- Have multiple sessions in the sidebar and switch to one of them.
- Start a prompt in plan mode so the agent begins producing a plan.
- While it is working, switch to another session in the sidebar.
- Switch back to the original session after the plan is done.
- The plan review is not shown. The session is stuck and stays that way until I terminate it.
Expected behavior
Switching away and back should reattach to the running session and show the pending plan review so I can approve or reject it. Producing a plan in the background while I look at another session should be fine, and the review should be waiting when I return.
Additional context
- Happens specifically with the plan-mode review/approval step. Regular (non-plan) prompts reattach fine on session switch.
- Operating system: Windows 10.0.26200 (x64)
- CPU architecture: AMD64
- Terminal emulator: Windows Terminal
- Shell: PowerShell 7.4.17
Describe the bug
When a plan-mode prompt is running and I switch to a different session and back, the plan review never renders. The session hangs and the only way out is to terminate it. The plan approval UI that should be waiting for me is not visible, so there is no way to approve, reject, or continue.
Affected version
GitHub Copilot CLI 1.0.75
Steps to reproduce the behavior
Expected behavior
Switching away and back should reattach to the running session and show the pending plan review so I can approve or reject it. Producing a plan in the background while I look at another session should be fine, and the review should be waiting when I return.
Additional context