Skip to content

Include proxy config source in telemetry event#324056

Open
chrmarti wants to merge 1 commit into
mainfrom
chrmarti/naval-bandicoot
Open

Include proxy config source in telemetry event#324056
chrmarti wants to merge 1 commit into
mainfrom
chrmarti/naval-bandicoot

Conversation

@chrmarti

@chrmarti chrmarti commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 2, 2026 14:03

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.

Pull request overview

This PR extends proxy-resolution support in the extension host and uses it in the Copilot extension’s fetcher telemetry so the event includes not only the resolved proxy type but also which proxy configuration source determined the result.

Changes:

  • Expose resolveProxyByURL from the extension host’s patched @vscode/proxy-agent module alongside resolveProxyURL.
  • Update Copilot fetcher telemetry collection to resolve and emit both proxyType and a new proxySource field (with timeout/missing/error sentinels).
Show a summary per file
File Description
src/vs/workbench/api/node/proxyResolver.ts Exposes resolveProxyByURL on the patched @vscode/proxy-agent export used in the extension host.
extensions/copilot/src/extension/log/vscode-node/loggingActions.ts Switches telemetry proxy resolution to resolveProxyByURL and adds proxySource to the emitted telemetry properties and GDPR annotation.

Review details

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Low

@chrmarti chrmarti force-pushed the chrmarti/naval-bandicoot branch from d5bb9c1 to 906f5df Compare July 2, 2026 20:06
@chrmarti chrmarti marked this pull request as ready for review July 2, 2026 20:06
@chrmarti chrmarti enabled auto-merge (squash) July 2, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants