Skip to content

feat: Add Copilot repository daily metrics report endpoints - #4498

Open
Tens1des wants to merge 1 commit into
google:masterfrom
Tens1des:feat/copilot-repos-daily-metrics
Open

feat: Add Copilot repository daily metrics report endpoints#4498
Tens1des wants to merge 1 commit into
google:masterfrom
Tens1des:feat/copilot-repos-daily-metrics

Conversation

@Tens1des

Copy link
Copy Markdown
Contributor

Fixes #4497

Adds Copilot repos-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 repos-1-day report methods,
DownloadRepositoryDailyMetrics, and copilot_suggestions_by_comment_type
on pull request metrics.

Fixes #NNNN
@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Aug 29, 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 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 (2ca8adf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4498   +/-   ##
=======================================
  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.

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 repository daily metrics report endpoints

2 participants