Skip to content

Handle Copilot Review Effort Levels - #877

Merged
ptr727 merged 2 commits into
mainfrom
develop
Aug 20, 2026
Merged

Handle Copilot Review Effort Levels#877
ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

Copy link
Copy Markdown
Owner

Summary

  • Treat missing copilot_work_started as inconclusive for effort-labeled reviews.
  • Observe effective Lite, Balanced, or Max metadata without changing user settings.
  • Keep review guidance, generated skills, and regression coverage aligned.

Verification

  • Feature PR Handle Copilot Review Effort Levels #876 completed full Copilot review on its current head.
  • 730 Python tests passed after review fixes.
  • Repository-wide ruff and mypy passed.
  • Distribution, prose, repository, spec, and diff gates passed.
  • Docker editorconfig-checker, ShellCheck, and PSScriptAnalyzer passed.

Closes#868.

## Summary
- Treat missing `copilot_work_started` as inconclusive for
effort-labeled reviews.
- Report effective Lite, Balanced, or Max metadata without changing user
settings.
- Keep the deprecated pickup option compatible and update the review
contracts and tests.
## Verification
- 729 Python tests
- ruff lint and format
- mypy
- distribution, prose, repository, spec, and diff gates
- Docker editorconfig-checker, ShellCheck, and PSScriptAnalyzer
- live status read against PR #873
Related to #868.
CopilotAI lite review requested due to automatic review settings August 20, 2026 16:50

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

Pull request overview

Updates scripts/pr_review.py and its surrounding guidance/tests to treat Copilot “review effort” as an observed metadata field (Lite/Balanced/Max), while no longer using missing copilot_work_started telemetry as evidence of a stalled request.

Changes:

  • Add parsing/reporting of Review effort level from completed head reviews and emit effort / effort_source in the digest output.
  • Remove the “request not picked up” (timeline-based) classification and keep pending requests as PENDING until timeout/review/answer.
  • Align documentation and skills guidance with the new effort and pending-request semantics, and update regression tests accordingly.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
scripts/pr_review.pyImplements effort parsing/reporting and removes timeline-based “picked up” stall detection.
scripts/tests/test_pr_review.pyUpdates/expands unit coverage for effort parsing and revised wait behavior.
scripts/README.mdUpdates operational documentation to match the new pending/effort semantics.
.github/skills/pr-review-conduct/SKILL.mdAdds effort-level guidance to the PR review conduct skill.
.agents/skills/pr-review-conduct/SKILL.mdMirrors the same effort-level guidance for agent skill distribution.
.claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.mdMirrors the same effort-level guidance for the Claude plugin skill distribution.
.claude-plugin/fleet-skills/.source-digestUpdates the source digest to reflect the regenerated skill payload.
.github/copilot-instructions.mdNotes effort as user-controlled and that missing copilot_work_started is inconclusive.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread.github/copilot-instructions.md Outdated
## Summary
- Document the bounded-wait behavior after `PENDING requested=yes`.
- Continue waiting by default because missing pickup telemetry is
inconclusive.
- Reserve review-request replacement for a maintainer-directed retry
without changing effort settings.
## Verification
- 730 Python tests
- distribution, prose, repository, and diff gates
- Docker editorconfig-checker, ShellCheck, and PSScriptAnalyzer
Addresses the finding on promotion PR #877.
CopilotAI review requested due to automatic review settings August 20, 2026 17:27

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 1bbc004 into mainAug 20, 2026
8 checks passed
Sign up for freeto 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.

Document Stalled Copilot Review Request Recovery

2 participants

@ptr727