Skip to content

Agent Host edit-survival telemetry is missing originating account attribution #346286

Closed

Description

@amunger

Problem

Copilot Agent Host edit-survival telemetry is missing the originating account identity when edits are reported at commit time. This prevents affected records from being correctly attributed in account-based analytics.

Expected outcome

Attribute each edit-survival record to the account that produced the edit, including when the account changes before the commit.

References

Activity

  1. added this to the 1.145.1 milestone on Nov 5, 2026
  2. added
    bug
    candidate
    on Nov 5, 2026
  3. vs-code-engineering commented on Nov 5, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #346275 for verification:

    Backport #345691 so Copilot Agent Host edit-survival telemetry retains the originating account's tracking ID when edits are reported at commit time, including after an account switch. This restores attribution for the affected analytics without exposing identity in protocol data or public source keys.

    The version bump is tracked separately in #346285. This PR contains only the edit-survival attribution backport.

    The backport preserves the focused regressions from main and resolves one test-only conflict without importing an unrelated newer test helper.

    Related: microsoft/vscode-internalbacklog#10569.

    Validation

    • Focused Agent Edit Attribution Service, FileEditTracker, root/subagent and HydraFusion account-attribution tests: 77 passed on this release port.
    • Client-only fast build, targeted ESLint, version/lockfile consistency, and whitespace checks passed.
    • Full npm run compile was blocked in the local Copilot extension build by unresolved @typescript/native/async and @typescript/native/ast exports. The client fast build and targeted tests succeeded; dependencies were not changed to work around that local limitation.

    Packaged Stable verification and deployed telemetry ingestion are not yet exercised for this recovery candidate.

    WSL smoke setup reliability

    Also backports #345598 unchanged to address slow Ubuntu mirror downloads timing out during WSL smoke setup before tests start. PowerShell syntax and exact file equivalence with the main fix passed; Windows CI will validate execution.

    Screenshot Changes

    Base: a717861c Current: 37755ef1

    Changed (2)

    sessions/inbox/inboxNotificationsView/Evidence/Light
    Before After
    before after
    sessions/inbox/inboxNotificationsView/EvidenceNarrow/Light
    Before After
    before after

    Screenshot report: #346275 (comment)

    Source PR: #346275

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

Metadata

Metadata

Labels

bugcandidateverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions