mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-17 12:35:56 +01:00
* Forward CAPI assignment context to core telemetry via internal command Register a private '_telemetry.setExperimentProperty' command in the workbench that calls ITelemetryService.setExperimentProperty(). The Copilot extension calls this command when it receives CAPI flight assignments, so they appear on all core telemetry events from the current window (same scope as TAS abexp.assignmentcontext). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Harden CAPI telemetry command surface - Replace generic _telemetry.setExperimentProperty bridge with _telemetry.setCapiAssignmentContext - Hardcode capi.assignmentcontext as the only settable property - Validate assignment-context format and size before trusting input - Update Copilot forwarding call to use the narrowed command Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * telemetry bridge for clarity and testability --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Vijay Upadya <41652029+vijayupadya@users.noreply.github.com>