Skip to content

Telemetry improvements - Better internal check#319936

Merged
lramos15 merged 4 commits into
mainfrom
lramos15/splendid-bug
Jun 4, 2026
Merged

Telemetry improvements - Better internal check#319936
lramos15 merged 4 commits into
mainfrom
lramos15/splendid-bug

Conversation

@lramos15
Copy link
Copy Markdown
Member

@lramos15 lramos15 commented Jun 4, 2026

Part of #318611

Copilot AI review requested due to automatic review settings June 4, 2026 14:42
@lramos15 lramos15 enabled auto-merge (squash) June 4, 2026 14:42
@lramos15 lramos15 self-assigned this Jun 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 refines Copilot/chat-related telemetry by reducing potentially confusing quota data and improving how internal-user context is represented in common telemetry properties, in support of #318611.

Changes:

  • Widen ITelemetryService.setCommonProperty (and implementations) to accept boolean in addition to string.
  • Remove quotaChat (chat percent-remaining) from the chatInstallEntitlement telemetry payload/classification.
  • Populate common.msftInternal as a common property based on ChatEntitlementService.isInternal when the telemetry service wasn’t already flagged internal.
Show a summary per file
File Description
src/vs/workbench/services/telemetry/electron-browser/telemetryService.ts Propagates setCommonProperty type widening to desktop workbench telemetry wrapper.
src/vs/workbench/services/telemetry/browser/telemetryService.ts Propagates setCommonProperty type widening to web workbench telemetry wrapper.
src/vs/workbench/services/chat/common/chatEntitlementService.ts Removes quotaChat from chatInstallEntitlement telemetry event and its GDPR typing.
src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts Sets common telemetry properties from chat entitlement state (tracking ID + internal flag).
src/vs/platform/telemetry/common/telemetryService.ts Allows boolean common properties to be stored by the core telemetry service.
src/vs/platform/telemetry/common/telemetry.ts Updates the ITelemetryService contract to allow boolean common properties.
src/vs/platform/dataChannel/browser/forwardingTelemetryService.ts Updates forwarding telemetry wrapper to match the new setCommonProperty signature.
src/vs/platform/agentHost/node/agentHostTelemetryService.ts Updates agent host telemetry wrapper to match the new setCommonProperty signature.

Copilot's findings

  • Files reviewed: 8/8 changed files
  • Comments generated: 1

Comment thread src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts Outdated
lramos15 and others added 2 commits June 4, 2026 10:52
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@lramos15 lramos15 merged commit dca7ab9 into main Jun 4, 2026
25 checks passed
@lramos15 lramos15 deleted the lramos15/splendid-bug branch June 4, 2026 15:56
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 4, 2026
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