Skip to content

feat: Add Copilot user-teams daily metrics report endpoints - #4500

Open
Tens1des wants to merge 2 commits into
google:masterfrom
Tens1des:feat/copilot-user-teams-daily-metrics
Open

feat: Add Copilot user-teams daily metrics report endpoints#4500
Tens1des wants to merge 2 commits into
google:masterfrom
Tens1des:feat/copilot-user-teams-daily-metrics

Conversation

@Tens1des

Copy link
Copy Markdown
Contributor

Fixes #4499

Adds Copilot user-teams-1-day report endpoints and download helper.

Docs: https://docs.github.com/en/rest/copilot/copilot-usage-metrics

Test plan

  • go test ./github/... -run Copilot
  • ./script/fmt.sh
  • ./script/generate.sh

Add enterprise and organization user-teams-1-day report methods and
DownloadUserTeamsDailyMetrics for joining team membership with usage metrics.

Fixes google#4499
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Aug 29, 2026
Comment thread github/copilot.go Outdated
@codecov

codecov Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.53%. Comparing base (78d0f53) to head (b197941).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4500   +/-   ##
=======================================
  Coverage   98.53%   98.53%           
=======================================
  Files         195      195           
  Lines       17763    17795   +32     
=======================================
+ Hits        17502    17534   +32     
  Misses        261      261           

☔ 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.

@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

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.

Add Copilot user-teams daily metrics report endpoints

2 participants