Skip to content

Request initial Copilot reviews through the dashboard app - #444

Merged
trask merged 1 commit into
mainfrom
trask-copilot-review-attribution
Oct 8, 2026
Merged

trask merged 1 commit into
mainfrom
trask-copilot-review-attribution

Conversation

@trask

@trask trask commented Oct 7, 2026

Copy link
Copy Markdown
Member

Request initial Copilot reviews through the dashboard's GitHub App on the first eligible refresh, rather than waiting for author-attributed automatic reviews. This applies to existing gated branches configured with:

{"require_clean_copilot_review_branches": ["main"]}

GitHub documents that bot-requested reviews are billed directly to the organization, avoiding the contributor's Copilot quota. Quota-exhausted notices no longer count as completed reviews, so the dashboard can request a real review of the same commit. Existing readiness checks, deduplication, and re-review behavior remain intact.

Before switching off repository/ruleset automatic reviews for covered branches, confirm that an app-triggered review completes for an affected contributor and verify that usage lands under CNCF billing. This PR leaves those settings unchanged. Contributors' personal automatic-review settings remain independent and may still trigger author-attributed reviews.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5fbfae4f-6c57-44b1-9fbc-d990a45112cf
@trask
trask requested a balanced review from Copilot October 7, 2026 01:47
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-08 15:50 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

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.

Copilot review overview

🟢 Approval recommended

The implementation, migration behavior, documentation, and targeted tests consistently support the intended review-request flow.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the dashboard to request initial Copilot reviews immediately through its GitHub App while treating quota failures as incomplete reviews.

Changes:

  • Removes the one-hour initial-review grace period and obsolete persisted clock.
  • Excludes quota-exhaustion notices from completed Copilot reviews.
  • Expands tests and documentation for request eligibility and delivery.
File Description
pull-request-dashboard/​README.md Documents initial app-requested reviews.
.github/​scripts/​pull-request-dashboard/​RATIONALE.md Updates design rationale.
.github/​scripts/​pull-request-dashboard/​copilot_review.py Requests missing reviews immediately and filters quota failures.
.github/​scripts/​pull-request-dashboard/​dashboard.py Updates the facts documentation.
.github/​scripts/​pull-request-dashboard/​dashboard_contracts.py Removes the obsolete review clock field.
.github/​scripts/​pull-request-dashboard/​pull_request_evaluation.py Simplifies classification-failure facts.
.github/​scripts/​pull-request-dashboard/​render.py Clarifies pending-review rendering.
.github/​scripts/​pull-request-dashboard/​routing_decision.py Removes grace-period routing logic.
.github/​scripts/​pull-request-dashboard/​state.py Stops persisting the removed clock.
.github/​scripts/​pull-request-dashboard/​test_copilot_review.py Tests immediate requests, quota failures, and delivery.
.github/​scripts/​pull-request-dashboard/​test_dashboard.py Tests branch eligibility and integrated behavior.
.github/​scripts/​pull-request-dashboard/​test_render.py Updates pending-state tests.
.github/​scripts/​pull-request-dashboard/​test_routing_decision.py Tests first-refresh routing behavior.
.github/​scripts/​pull-request-dashboard/​test_state.py Tests legacy clock-field migration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@trask
trask marked this pull request as ready for review October 7, 2026 01:51
@trask
trask requested a review from a team as a code owner October 7, 2026 01:51
@trask
trask requested a review from adrielp October 7, 2026 01:51
@trask
trask merged commit 66a8adb into main Oct 8, 2026
7 checks passed
@trask
trask deleted the trask-copilot-review-attribution branch October 8, 2026 15:48
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.

3 participants