Skip to content

feat: Add Copilot AI credits and adoption phase metrics - #4480

Open
Tens1des wants to merge 1 commit into
google:masterfrom
Tens1des:feat/copilot-ai-credits-adoption-metrics
Open

feat: Add Copilot AI credits and adoption phase metrics#4480
Tens1des wants to merge 1 commit into
google:masterfrom
Tens1des:feat/copilot-ai-credits-adoption-metrics

Conversation

@Tens1des

Copy link
Copy Markdown
Contributor

Summary

  • Add ai_credits_used and ai_adoption_phase on per-user Copilot usage metrics reports
  • Add totals_by_ai_adoption_phase on aggregated enterprise/organization daily reports
  • Download-path tests + regenerated accessors

Fixes #4479

Unmarshal ai_credits_used, ai_adoption_phase, and totals_by_ai_adoption_phase
from Copilot usage metrics reports so these fields are no longer dropped.

Fixes google#4479
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Aug 21, 2026

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @Tens1des!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @alexandear - @Not-Dhananjay-Mishra

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.51%. Comparing base (30af001) to head (47d89bc).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4480   +/-   ##
=======================================
  Coverage   98.51%   98.51%           
=======================================
  Files         195      195           
  Lines       17691    17691           
=======================================
  Hits        17429    17429           
  Misses        262      262           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copilot usage metrics: missing ai_credits_used and AI adoption phase fields

2 participants