Skip to content

Yemohyle/response success gdpr blocks - #315128

Merged
roblourens merged 3 commits into
microsoft:mainfrom
yemohyleyemohyle:yemohyle/response_success_gdpr_blocks
May 7, 2026
Merged

roblourens merged 3 commits into
microsoft:mainfrom
yemohyleyemohyle:yemohyle/response_success_gdpr_blocks

Conversation

@yemohyleyemohyle

Copy link
Copy Markdown
Contributor

Align response.success GDPR annotations across BYOK providers

The response.success telemetry event's __GDPR__ block in chatMLFetcherTelemetry.ts had properties that were missing from the BYOK provider annotations (anthropicProvider.ts and geminiNativeProvider.ts). This PR adds the missing properties to both BYOK files so all three declarations are consistent:

  • requestKind
  • conversationId
  • subType
  • modelCallId
  • parentRequestId
  • parentModelCallId
  • iterationNumber

This ensures the GDPR tooling correctly recognizes all properties that may be emitted on this event, regardless of which code path sends it.

Copilot AI review requested due to automatic review settings May 7, 2026 22:20

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

Aligns the response.success telemetry event __GDPR__ annotations across BYOK providers so GDPR tooling recognizes the same set of possible properties regardless of which provider path emits the event.

Changes:

  • Added missing response.success GDPR properties (requestKind, conversationId, subType, modelCallId, parentRequestId, parentModelCallId, iterationNumber) to the Gemini BYOK provider annotation block.
  • Added the same missing response.success GDPR properties to the Anthropic BYOK provider annotation block.
Show a summary per file
File Description
extensions/copilot/src/extension/byok/vscode-node/geminiNativeProvider.ts Extends response.success __GDPR__ block to include the missing properties for consistency with the canonical declaration.
extensions/copilot/src/extension/byok/vscode-node/anthropicProvider.ts Extends response.success __GDPR__ block to include the missing properties for consistency with the canonical declaration.

Copilot's findings

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

@roblourens
roblourens enabled auto-merge (squash) May 7, 2026 22:35
@roblourens
roblourens merged commit bd50dfa into microsoft:main May 7, 2026
26 checks passed
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 7, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants