Remove confusing GitHub repository tip from chat tips#295177
Merged
meganrogge merged 2 commits intomainfrom Feb 13, 2026
Merged
Remove confusing GitHub repository tip from chat tips#295177meganrogge merged 2 commits intomainfrom
meganrogge merged 2 commits intomainfrom
Conversation
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove confusing tip about GitHub feature
Remove confusing GitHub repository tip from chat tips
Feb 13, 2026
meganrogge
approved these changes
Feb 13, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the confusing tip.githubRepo chat tip and its associated dead infrastructure. The tip was misleading because it suggested users could mention GitHub repositories (@owner/repo) to enable agent features, but the underlying tool may not exist or be enabled. The tip also checked for tool registration rather than enablement, causing it to appear even when users couldn't use the feature.
Changes:
- Removed the
tip.githubRepotip definition from the tip catalog - Removed unused properties
excludeWhenAnyToolSetToolInvokedandrequiresAnyToolSetRegisteredfrom theITipDefinitioninterface - Simplified tool invocation tracking by removing
_monitoredToolSetsinfrastructure and streamlining the listener logic - Removed 3 related tests and cleaned up unused imports (
IToolData,ToolDataSource)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/chatTipService.ts | Removed tip.githubRepo from catalog, deleted excludeWhenAnyToolSetToolInvoked and requiresAnyToolSetRegistered properties from ITipDefinition, simplified tool listener by removing tool set monitoring logic |
| src/vs/workbench/contrib/chat/test/browser/chatTipService.test.ts | Removed 3 tests related to tool set registration and monitoring, cleaned up unused imports |
Tyriar
approved these changes
Feb 13, 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.
The
tip.githubRepotip ("Mention a GitHub repository (@owner/repo) in your prompt to let the agent search code…") was confusing — the underlying tool may not exist or be enabled, and the tip checked for tool registration rather than enablement, making it appear even when users couldn't use the feature.Remove the tip and its associated dead infrastructure:
tip.githubRepofrom the tips arrayexcludeWhenAnyToolSetToolInvokedandrequiresAnyToolSetRegisteredfromITipDefinition(only used by this tip)_monitoredToolSetstracking and simplify the tool invocation listenerWarning
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=8330 --enable-crash-reporter=a88c5e1e-3526-43f9-acfb-c8c420dd3125,no_channel --user-data-dir=/tmp/vscode-tests-1770992590551 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17328118468219051011,14408255974118093813,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 in/sh alse --sourceMapsh(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/chatTipService.test.ts /opt�� -forwarding/tscofalse /tsconfig.json in/sh eSources false --sourceMap node /opt�� ript-language-features/web/tsconfig.json --pretty false --sourceMap --inlineSources --project pescript/native-preview-linux-x64/lib/tsgo ourceMap --inlinsh false --sourceMap pescript/native-preview-linux-x64/lib/tsgo(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=8330 --enable-crash-reporter=a88c5e1e-3526-43f9-acfb-c8c420dd3125,no_channel --user-data-dir=/tmp/vscode-tests-1770992590551 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17328118468219051011,14408255974118093813,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 in/sh alse --sourceMapsh(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/chatTipService.test.ts /opt�� -forwarding/tscofalse /tsconfig.json in/sh eSources false --sourceMap node /opt�� ript-language-features/web/tsconfig.json --pretty false --sourceMap --inlineSources --project pescript/native-preview-linux-x64/lib/tsgo ourceMap --inlinsh false --sourceMap pescript/native-preview-linux-x64/lib/tsgo(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=8330 --enable-crash-reporter=a88c5e1e-3526-43f9-acfb-c8c420dd3125,no_channel --user-data-dir=/tmp/vscode-tests-1770992590551 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17328118468219051011,14408255974118093813,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 in/sh alse --sourceMapsh(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/chatTipService.test.ts /opt�� -forwarding/tscofalse /tsconfig.json in/sh eSources false --sourceMap node /opt�� ript-language-features/web/tsconfig.json --pretty false --sourceMap --inlineSources --project pescript/native-preview-linux-x64/lib/tsgo ourceMap --inlinsh false --sourceMap pescript/native-preview-linux-x64/lib/tsgo(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=6729 --enable-crash-reporter=a88c5e1e-3526-43f9-acfb-c8c420dd3125,no_channel --user-data-dir=/tmp/vscode-tests-1770992417703 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,18271820631563000977,17773168110128866251,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041(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/chatTipService.test.ts(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=8330 --enable-crash-reporter=a88c5e1e-3526-43f9-acfb-c8c420dd3125,no_channel --user-data-dir=/tmp/vscode-tests-1770992590551 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,17328118468219051011,14408255974118093813,262144 --enable-features=PdfUseShowSaveFilePicker --disable-features=LocalNetworkAccessChecks,ScreenAIOCREnabled,SpareRendererForSitePerProcess,TraceSiteInstanceGetProcessCreation --variations-seed-version --trace-process-track-uuid=3190708989122997041 in/sh alse --sourceMapsh(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.