Hide Claude and Codex sessions from Sessions window#302359
Closed
Hide Claude and Codex sessions from Sessions window#302359
Conversation
Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix interactions with existing Claude sessions
Hide Claude and Codex sessions from Sessions window
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude and Codex sessions appear in the Sessions window history but lack full support (missing Files tab, intermittent message failures). Filter them out at the model level until proper support is added.
AgentSessionProviders.ClaudeandAgentSessionProviders.Codexfrom thesessionsgetter inAgentSessionsModel_sessionsmap is unchanged, sogetSession()by URI still worksWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
disallowed.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --crashpad-handler-pid=9720 --enable-crash-reporter=da55e7a1-2564-49b7-846b-ff8a03213c37,no_channel --user-data-dir=/tmp/vscode-tests-1773731607936 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17897753814163725912,12659539015074165634,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 ache/node/22.22.1/x64/lib/node_m-auth ourceMap --inlinbash -auto-launch/tsc--norc node_modules/.bi--noprofile node(dns block).build/electron/code-oss .build/electron/code-oss test/unit/electron/index.js --crash-reporter-directory=/home/REDACTED/work/vscode/vscode/.build/crashes src/vs/workbench/contrib/chat/test/browser/agentSessions/agentSessionViewModel.test.ts node�� ns/vscode-selfhost-test-provider/var/lib/dpkg/info/libblockdev-crypto3:amd64.list extensions/typescript-language-f/var/lib/dpkg/info/gpgv.list dules/.bin/node ourceMap --inlin/usr/bin/xkbcomp g.json n/node /home/REDACTED/wor-R/usr/share/X11/xkb node�� home/REDACTED/work- itePerProcess,TraceSiteInstanceGetProcessCreation 1/x64/bin/sh --sourceMap --inlineSources 1/x64/bin/node sh(dns block)example.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --crashpad-handler-pid=9720 --enable-crash-reporter=da55e7a1-2564-49b7-846b-ff8a03213c37,no_channel --user-data-dir=/tmp/vscode-tests-1773731607936 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17897753814163725912,12659539015074165634,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 ache/node/22.22.1/x64/lib/node_m-auth ourceMap --inlinbash -auto-launch/tsc--norc node_modules/.bi--noprofile node(dns block).build/electron/code-oss .build/electron/code-oss test/unit/electron/index.js --crash-reporter-directory=/home/REDACTED/work/vscode/vscode/.build/crashes src/vs/workbench/contrib/chat/test/browser/agentSessions/agentSessionViewModel.test.ts node�� ns/vscode-selfhost-test-provider/var/lib/dpkg/info/libblockdev-crypto3:amd64.list extensions/typescript-language-f/var/lib/dpkg/info/gpgv.list dules/.bin/node ourceMap --inlin/usr/bin/xkbcomp g.json n/node /home/REDACTED/wor-R/usr/share/X11/xkb node�� home/REDACTED/work- itePerProcess,TraceSiteInstanceGetProcessCreation 1/x64/bin/sh --sourceMap --inlineSources 1/x64/bin/node sh(dns block)mobile.events.data.microsoft.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --crashpad-handler-pid=9720 --enable-crash-reporter=da55e7a1-2564-49b7-846b-ff8a03213c37,no_channel --user-data-dir=/tmp/vscode-tests-1773731607936 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17897753814163725912,12659539015074165634,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 ache/node/22.22.1/x64/lib/node_m-auth ourceMap --inlinbash -auto-launch/tsc--norc node_modules/.bi--noprofile node(dns block).build/electron/code-oss .build/electron/code-oss test/unit/electron/index.js --crash-reporter-directory=/home/REDACTED/work/vscode/vscode/.build/crashes src/vs/workbench/contrib/chat/test/browser/agentSessions/agentSessionViewModel.test.ts node�� ns/vscode-selfhost-test-provider/var/lib/dpkg/info/libblockdev-crypto3:amd64.list extensions/typescript-language-f/var/lib/dpkg/info/gpgv.list dules/.bin/node ourceMap --inlin/usr/bin/xkbcomp g.json n/node /home/REDACTED/wor-R/usr/share/X11/xkb node�� home/REDACTED/work- itePerProcess,TraceSiteInstanceGetProcessCreation 1/x64/bin/sh --sourceMap --inlineSources 1/x64/bin/node sh(dns block)redirector.gvt1.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --crashpad-handler-pid=9148 --enable-crash-reporter=da55e7a1-2564-49b7-846b-ff8a03213c37,no_channel --user-data-dir=/tmp/vscode-tests-1773731311428 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,1208684863266938443,1437537402513829573,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 node_modules/.bin/node ceMap --inlineSobash --inlineSources modules/@npmcli/--noprofile sh(dns block).build/electron/code-oss .build/electron/code-oss test/unit/electron/index.js --crash-reporter-directory=/home/REDACTED/work/vscode/vscode/.build/crashes --grep should filter out Claude and Codex sessions src/vs/workbench/contrib/chat/test/browser/agentSessions/agentSessionViewModel.test.ts k/vscode/vscode//var/lib/dpkg/info/libclang-rt-18-dev:amd64.list odules/npm/node_/var/lib/dpkg/info/p11-kit-modules:amd64.list on --pretty falsXvfb --sourceMap run-script/lib/n-screen sh -c xtensions/vscode-nolisten k/_temp/copilot-tcp odules/npm/node_-auth ceMap --inlineSobash soft-authenticat--norc(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --no-sandbox --crashpad-handler-pid=9282 --enable-crash-reporter=da55e7a1-2564-49b7-846b-ff8a03213c37,no_channel --user-data-dir=/tmp/vscode-tests-1773731337035 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,11064960185679536071,17132485494179115485,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node l to the X server" "/tmp/server-99.xkm" --sourceMap ode-gyp-bin/sh sh(dns block)If you need me to access, download, or install something from one of these locations, you can either:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.