sessions: keep the draft's editors when submit replaces it with a new session #343333

Merged
sandy081 opened 3:34pm on October 21, 2026 wanted to merge 80 Δ into microsoft/vscode main from
sandy081/agents/empty-editor-sidepane-issue

Pull request #343333 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 80
Maximum comment count per PR 10 4
Pull request maximum business days between activity 3 9
Pull request maximum business days open 5 9

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

No file coupling detected. 🎉

Biggest files changes in pull request

Path View whole file Lines removed Lines added Final line count
src/vs/sessions/contrib/layout/browser/baseSessionLayoutController.ts 0 12 1381
src/vs/sessions/contrib/layout/test/browser/desktopLayoutController.test.ts 0 49 3349

️ Biggest functions grown or shrunk by pull request

Which functions had their line count change as part of this pull request?

Could not find any functions changed by this pull request.