Skip to content

fixes vscode-internalbacklog#6911#298304

Merged
isidorn merged 2 commits intomainfrom
isidorn/final-parrotfish
Mar 20, 2026
Merged

fixes vscode-internalbacklog#6911#298304
isidorn merged 2 commits intomainfrom
isidorn/final-parrotfish

Conversation

@isidorn
Copy link
Copy Markdown
Collaborator

@isidorn isidorn commented Feb 27, 2026

cc @ivy-lai-miller @kevin-m-kent

I call it conversationId? Does that make sense or should it be sessionId?

fixes vscode-internalbacklog#6911

@isidorn isidorn added this to the March 2026 milestone Feb 27, 2026
@isidorn isidorn requested a review from hediet February 27, 2026 17:42
@isidorn isidorn self-assigned this Feb 27, 2026
Copilot AI review requested due to automatic review settings February 27, 2026 17:42
@isidorn isidorn enabled auto-merge February 27, 2026 17:42
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 pull request adds tracking for chat session and request identifiers in edit telemetry to help correlate edits with their originating chat sessions. The change addresses an internal backlog item (vscode-internalbacklog#6911) by adding two new telemetry fields to capture the chat conversation/session context when edits originate from chat features.

Changes:

  • Added conversationId and requestId fields to the editTelemetry.editSources.details telemetry event
  • Added telemetry metadata classifications for these new fields to comply with data governance requirements
Comments suppressed due to low confidence (2)

src/vs/workbench/contrib/editTelemetry/browser/telemetry/editSourceTrackingImpl.ts:216

  • The telemetry field is named conversationId but should be editSessionId to match the existing pattern in arcTelemetrySender.ts (line 185). Both fields source from data.props.$$sessionId, and in the arc telemetry the field is named editSessionId with the comment "The session id."

This naming inconsistency could cause confusion when analyzing telemetry data. The term "editSessionId" is more appropriate here since it refers to the chat session ID (not a conversation ID), and consistency across telemetry events is important for data analysis.

				conversationId: string | undefined;
				requestId: string | undefined;

src/vs/workbench/contrib/editTelemetry/browser/telemetry/editSourceTrackingImpl.ts:234

  • The telemetry field comment refers to "conversationId" but the field is being named conversationId in the current implementation. However, this should be changed to match the existing pattern. In arcTelemetrySender.ts (line 209), the corresponding field is named editSessionId with comment "The session id."

For consistency, this comment should be updated to match the naming convention used in the arc telemetry event. The comment should describe it as a session identifier (or edit session identifier) rather than a conversation identifier, since the underlying data comes from the chat session ID.

				conversationId: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'The chat conversation identifier when the edit source comes from chat. Sourced from the chat edit session id.' };

@mjbvz
Copy link
Copy Markdown
Collaborator

mjbvz commented Mar 5, 2026

Moving this to 1.112 and disabling auto merge so that we can get the 1.111 milestone into good shape by the end of Thursday

Please take this in as a candidate if it must go into 1.111

@mjbvz mjbvz disabled auto-merge March 5, 2026 23:52
@mjbvz mjbvz modified the milestones: 1.111.0, 1.112.0 Mar 5, 2026
@mjbvz mjbvz modified the milestones: 1.112.0, 1.113.0 Mar 17, 2026
@isidorn isidorn enabled auto-merge March 20, 2026 13:17
@isidorn isidorn merged commit 8a041c1 into main Mar 20, 2026
23 of 35 checks passed
@isidorn isidorn deleted the isidorn/final-parrotfish branch March 20, 2026 14:03
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.

4 participants