Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Rename skillContentRead telemetry properties to use 'skill' prefix#5082

Closed
AbhitejJohn wants to merge 1 commit into
microsoft:mainfrom
AbhitejJohn:aajohn/skill-telemetry-prefix
Closed

Rename skillContentRead telemetry properties to use 'skill' prefix#5082
AbhitejJohn wants to merge 1 commit into
microsoft:mainfrom
AbhitejJohn:aajohn/skill-telemetry-prefix

Conversation

@AbhitejJohn
Copy link
Copy Markdown
Contributor

Summary

Renames telemetry properties in the skillContentRead event to add a skill prefix, aligning property names with the event name to reduce ambiguity in the collected data. This was suggested by folks on the data team.

Property Renames

GH telemetry event (sendGHTelemetryEvent)

Old New
extensionIdHash skillExtensionIdHash
extensionVersion skillExtensionVersion
contentHash skillContentHash

Enhanced GH + Internal MSFT events (plaintext props)

Old New
extensionId skillExtensionId
extensionVersion skillExtensionVersion
contentHash skillContentHash

Properties that already had the skill prefix (skillName, skillPath, skillStorage, skillNameHash) are unchanged.

Testing

  • Updated all unit test assertions in readFile.spec.tsx to match the new property names
  • All 34 tests pass

@AbhitejJohn AbhitejJohn force-pushed the aajohn/skill-telemetry-prefix branch from 701e960 to 456449c Compare April 21, 2026 08:13
@AbhitejJohn AbhitejJohn marked this pull request as ready for review April 21, 2026 08:14
Copilot AI review requested due to automatic review settings April 21, 2026 08:14
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

Renames telemetry properties emitted by the ReadFileTool’s skillContentRead event so that all related fields are consistently prefixed with skill, reducing ambiguity for analytics consumers.

Changes:

  • Renamed sendGHTelemetryEvent('skillContentRead') properties to skillExtensionIdHash, skillExtensionVersion, and skillContentHash.
  • Renamed plaintext properties used by enhanced GH + internal MSFT telemetry to skillExtensionId, skillExtensionVersion, and skillContentHash.
  • Updated unit test assertions (and one test title) to match the renamed properties.
Show a summary per file
File Description
src/extension/tools/node/readFileTool.tsx Updates skillContentRead telemetry payload property names to use the skill* prefix consistently.
src/extension/tools/node/test/readFile.spec.tsx Adjusts telemetry assertions to validate the new property names for GH/enhanced/internal events.

Copilot's findings

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

@pwang347 pwang347 enabled auto-merge April 22, 2026 00:07
@pwang347 pwang347 marked this pull request as draft April 22, 2026 00:07
auto-merge was automatically disabled April 22, 2026 00:07

Pull request was converted to draft

@pwang347 pwang347 marked this pull request as ready for review April 22, 2026 00:07
@pwang347 pwang347 enabled auto-merge April 22, 2026 00:09
@AbhitejJohn AbhitejJohn marked this pull request as draft April 22, 2026 00:17
auto-merge was automatically disabled April 22, 2026 00:17

Pull request was converted to draft

@AbhitejJohn AbhitejJohn marked this pull request as ready for review April 22, 2026 00:17
@AbhitejJohn AbhitejJohn marked this pull request as draft April 22, 2026 06:53
@AbhitejJohn AbhitejJohn marked this pull request as ready for review April 22, 2026 06:53
@AbhitejJohn AbhitejJohn reopened this Apr 22, 2026
@AbhitejJohn
Copy link
Copy Markdown
Contributor Author

Abandoning in favor of microsoft/vscode#311945

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants