Skip to content

agentHost: Include Copilot versions in telemetry - #329293

Merged
roblourens merged 1 commit into
mainfrom
roblou/agents/telemetry-agent-host-copilot-sdk-version
Aug 6, 2026
Merged

agentHost: Include Copilot versions in telemetry#329293
roblourens merged 1 commit into
mainfrom
roblou/agents/telemetry-agent-host-copilot-sdk-version

Conversation

@roblourens

Copy link
Copy Markdown
Member

Summary

  • add the Copilot SDK version to all Agent Host product telemetry events
  • add the independently versioned Copilot runtime package version
  • classify both values as common system metadata and prevent event-level collisions

Validation

  • npm run compile
  • npm run hygiene
  • ./scripts/test.sh --run src/vs/platform/agentHost/test/node/agentHostTelemetryService.test.ts
  • targeted ESLint for the changed files

(Written by Copilot)

Attach the independently versioned Copilot SDK and runtime package versions to Agent Host product telemetry as common properties.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 5, 2026 23:44

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.

🟢 Ready to approve

The focused implementation is consistent with telemetry APIs and has targeted validation.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Adds Copilot SDK and runtime versions as Agent Host telemetry metadata.

Changes:

  • Registers both versions as GDPR-classified common properties.
  • Prevents event-level collisions through ESLint.
  • Adds unit coverage for property registration.
File summaries
File Description
agentHostTelemetryService.ts Adds version metadata to telemetry.
agentHostTelemetryService.test.ts Tests common properties.
code-no-telemetry-common-property.ts Reserves the new property names.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@roblourens
roblourens marked this pull request as ready for review August 5, 2026 23:49
@roblourens
roblourens enabled auto-merge (squash) August 5, 2026 23:49
@roblourens
roblourens merged commit 0f23891 into main Aug 6, 2026
30 checks passed
@roblourens
roblourens deleted the roblou/agents/telemetry-agent-host-copilot-sdk-version branch August 6, 2026 00:33
@vs-code-engineering vs-code-engineering Bot added this to the 1.133.0 milestone Aug 6, 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