You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(github): treat copilot review as completed when zero unresolved threads remain #216
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationtype/bugType bug: the code does not do what it must
When GitHub Copilot completes an initial review and recommends changes, it posts a review body containing '### Changes recommended' and inline comments creating review discussion threads. After developers or AI agents remediate the comments, push new commits, reply to all threads, and programmatically resolve them, 'devops pr check-readiness' correctly confirms 0 unresolved threads and clean mergeability.
However, 'devops pr monitor' / 'devops pr wait' inspects historical reviews via '_detect_copilot_status' and finds the original Copilot review with 'Changes recommended'. Because Copilot is an AI bot that cannot approve or dismiss historical reviews, 'copilot_status.state' remains permanently stuck in 'changes_requested', causing '_check_early_pr_failures' to exit with code 2 indefinitely even after 100% CI passes, 0 unresolved threads remain, and merge readiness is satisfied.
Proposed Solution
Update '_detect_copilot_status' to evaluate whether active unresolved threads exist on the PR. If Copilot recommended changes but 0 unresolved threads remain (or all threads are resolved), transition 'copilot_status.state' to 'completed'.
Add unit test coverage in 'tests/test_github_pr_monitor.py' verifying that a PR with historical Copilot 'changes recommended' but 0 unresolved threads evaluates to 'completed' and exits code 0 in 'monitor_pr'.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationtype/bugType bug: the code does not do what it must
Activity
fix(github): treat copilot review as completed when zero unresolved t…
feat(release): v0.2.19 (#217)
feat(github): a release pull request gets a set number of copilot pas…
feat(release): v0.2.37 (#1720)