You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "ewega (via GitHub)" <gi...@apache.org> on 2026/06/30 16:34:50 UTC

[I] gh-copilot: update Copilot metrics endpoints & schemas to latest API [devlake]

ewega opened a new issue, #8964:
URL: https://github.com/apache/devlake/issues/8964

   The `gh-copilot` plugin is partially out of date with GitHub's Copilot REST API (`2026-03-10`). It pins the right API version but drops several response fields on extract, loses org identity on org metrics, and skips the 28-day reports.
   
   Docs: https://docs.github.com/en/rest/copilot/copilot-metrics
   
   Details in comments below.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gh-copilot: update Copilot metrics endpoints & schemas to latest API [devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8964:
URL: https://github.com/apache/devlake/issues/8964#issuecomment-5642219349

   This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gh-copilot: update Copilot metrics endpoints & schemas to latest API [devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8964: gh-copilot: update Copilot metrics endpoints & schemas to latest API
URL: https://github.com/apache/devlake/issues/8964


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gh-copilot: update Copilot metrics endpoints & schemas to latest API [devlake]

Posted by "ewega (via GitHub)" <gi...@apache.org>.
ewega commented on issue #8964:
URL: https://github.com/apache/devlake/issues/8964#issuecomment-4845796981

   **Field gaps** (in `2026-03-10`, dropped on extract): `daily/weekly/monthly_active_copilot_cloud_agent_users`, `used_copilot_coding_agent`, `used_copilot_cloud_agent`, `ai_adoption_phase` / `totals_by_ai_adoption_phase`, `pull_requests.copilot_suggestions_by_comment_type`, `totals_by_cli.token_usage.avg_tokens_per_request`, `totals_by_cli.last_known_cli_version`.
   
   **Org identity:** `ExtractOrgMetrics` writes org data into the enterprise table with `EnterpriseId: ""` and drops `organization_id`.
   
   **Missing endpoints:** `enterprise-28-day/latest`, `users-28-day/latest`, `organization-28-day/latest` (different `day_totals[]` envelope).
   
   **Likely bug:** report metadata parsing reads `res.Body` twice (`io.ReadAll` then `parseReportMetadataResponse`), second read is empty.
   
   **Reminder:** new model fields need a migration script + `GetTablesInfo()` update.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] gh-copilot: update Copilot metrics endpoints & schemas to latest API [devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8964:
URL: https://github.com/apache/devlake/issues/8964#issuecomment-5737905732

   This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org