Skip to content

Revert "Fix terminal-editor shift-drop firing on detached instances" - #335062

Merged
Alex Ross (alexr00) merged 2 commits into
mainfrom
revert-318756-fix/311164-terminal-editor-shift-drop
Sep 8, 2026
Merged

Alex Ross (alexr00) merged 2 commits into
mainfrom
revert-318756-fix/311164-terminal-editor-shift-drop

Conversation

@alexr00

Copy link
Copy Markdown
Member

Reverts #318756

PR was unintentionally merged.

Copilot AI balanced review requested due to automatic review settings September 8, 2026 13:56
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Anthony Kim (@anthonykim1)

Matched files:

  • src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
  • src/vs/workbench/contrib/terminal/test/browser/terminalInstance.test.ts

@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) September 8, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The changes exactly reverse #318756 without unrelated modifications.

Review tier: Balanced
Findings: None

What changed in this PR

Reverts the accidentally merged terminal drag-and-drop lifecycle fix from #318756.

Changes:

  • Restores prior terminal detach and deferred initialization behavior.
  • Removes the associated regression tests and imports.
File Description
terminalInstance.ts Reverts drag-and-drop observer cleanup and container validation.
terminalInstance.test.ts Removes the reverted behavior’s regression tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@alexr00
Alex Ross (alexr00) merged commit 4705f27 into main Sep 8, 2026
33 checks passed
@alexr00
Alex Ross (alexr00) deleted the revert-318756-fix/311164-terminal-editor-shift-drop branch September 8, 2026 14:41
@vs-code-engineering vs-code-engineering Bot added this to the 1.138.0 milestone Sep 8, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants