Skip to content

Add edit tracker characterization tests#326062

Merged
amunger merged 1 commit into
mainfrom
aamunger/edit-tracker-characterization
Jul 15, 2026
Merged

Add edit tracker characterization tests#326062
amunger merged 1 commit into
mainfrom
aamunger/edit-tracker-characterization

Conversation

@amunger

@amunger amunger commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

adding test coverage to AI telemetry events before making things complicated with AH tracking in #326061

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 15, 2026 22:08

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

Adds characterization coverage for AI edit attribution telemetry ahead of Agent Host tracking work.

Changes:

  • Tests edit tracking, source categories, telemetry windows, and annotated edits.
  • Corrects source caching and top-source telemetry limiting.
  • Introduces an SCM adapter interface for test stubbing.
Show a summary per file
File Description
editTracker.test.ts Tests attribution and retained edits.
editSourceTrackingImpl.test.ts Tests telemetry lifecycle and limits.
editSourceCategories.test.ts Tests source categorization.
documentWithAnnotatedEdits.test.ts Tests edit combining and minimization.
scmAdapter.ts Adds the SCM adapter interface.
editSourceTrackingImpl.ts Extracts categorization and fixes source limiting.
arcTelemetrySender.ts Uses the SCM interface.
arcTelemetryReporter.ts Uses the SCM interface.
documentWithAnnotatedEdits.ts Includes provider IDs in source identity.

Review details

  • Files reviewed: 9/9 changed files
  • Comments generated: 0
  • Review effort level: Medium

@amunger
amunger marked this pull request as ready for review July 15, 2026 22:23
@amunger
amunger enabled auto-merge (squash) July 15, 2026 22:27
@amunger
amunger merged commit d4ea5d4 into main Jul 15, 2026
30 checks passed
@amunger
amunger deleted the aamunger/edit-tracker-characterization branch July 15, 2026 22:58
@vs-code-engineering vs-code-engineering Bot added this to the 1.130.0 milestone Jul 15, 2026
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