Skip to content

feat: add PET version and build ID telemetry properties to enhance performance tracking#1548

Draft
eleanorjboyd wants to merge 3 commits into
microsoft:mainfrom
eleanorjboyd:excess-marten
Draft

feat: add PET version and build ID telemetry properties to enhance performance tracking#1548
eleanorjboyd wants to merge 3 commits into
microsoft:mainfrom
eleanorjboyd:excess-marten

Conversation

@eleanorjboyd
Copy link
Copy Markdown
Member

goes along with microsoft/python-environment-tools#470 to support getting PET versions as telemetry to track performance regression and improvements across specific version numbers

@eleanorjboyd eleanorjboyd requested a review from Copilot May 29, 2026 21:55
@eleanorjboyd eleanorjboyd self-assigned this May 29, 2026
@eleanorjboyd eleanorjboyd marked this pull request as draft May 29, 2026 21:55
@eleanorjboyd eleanorjboyd added the debt Code quality issues label May 29, 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 augments existing PET (Python Environment Tools) performance/health telemetry by fetching PET’s version/build identifier via a new info JSON-RPC call and attaching those properties to key PET events, enabling performance tracking across PET versions.

Changes:

  • Add a fire-and-forget PET info request and cache the response to stamp subsequent telemetry with petVersion/petBuildId.
  • Include petVersion and petBuildId properties on pet.refresh, pet.resolve, and pet.process_restart telemetry events.
  • Register the new telemetry properties in the GDPR mapping/types.
Show a summary per file
File Description
src/managers/common/nativePythonFinder.ts Fetches/caches PET info and adds petVersion/petBuildId to PET telemetry payloads.
src/common/telemetry/constants.ts Declares the new telemetry properties and adds GDPR metadata/type annotations for relevant PET events.

Copilot's findings

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

Comment thread src/managers/common/nativePythonFinder.ts
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues skip tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants