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
feat(pr): implement automated pr monitoring for ci checks and copilot review sessions #170
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationtype/featureType feature: a new function
Implement an effective solution for monitoring pull request comments, checks, and Copilot review sessions, ensuring that pull requests are thoroughly verified and ready for merging before an agent or developer concludes a task.
Scope & Acceptance Criteria
Implement devops pr monitor [NUMBER] CLI command under src/devops_cli/commands/pr.py and src/devops_cli/github/pr_monitor.py:
Auto-resolves current branch PR if number not specified.
Monitors remote CI checks until all runs are completed.
Monitors Copilot review sessions (detecting active work or waiting for review settling).
Queries unresolved PR review threads via GraphQL.
Exits non-zero with actionable failure details if checks fail or unresolved review threads remain.
Exits 0 only when all CI checks are green and zero unresolved review threads exist.
Expose pr_monitor tool in FastMCP server (src/devops_cli/ai/mcp/server.py).
Update agent instructions in AGENTS.md, docs/ROUTINE_TASKS.md, docs/SDLC.md, and src/devops_cli/ai/instruction_generator.py to mandate running devops pr monitor and resolving all threads before completing PR tasks.
Comprehensive unit tests covering pr monitor scenarios (all green, failing checks, active Copilot review, unresolved threads, auto-detect PR).
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/githubGitHub Projects v2, Views, Milestones, Labels, and PR automationtype/featureType feature: a new function
Activity
fix(pr): resolve copilot review findings and enforce 5m/60s monitorin…
feat(pr): monitor pr checks, copilot reviews, and review threads (#170)…
feat(release): v0.2.17 (#162)