GeezerVison is showing github.com — feat: watch pull requests and wake the owning agent for checks and reviews · Issue #38 · 4regab/Hover
feat: watch pull requests and wake the owning agent for checks and reviews #38DescriptionRoadmap: #30
The problem
Hover can show and create pull requests, but users still need to keep checking CI and reviews and manually return updates to the agent.
What would help
Add Watch this PR and Stop watching to the existing pull request/linked PR panels. Wake the owning task when an important change needs attention.
Scope
- Watch failed checks, required checks completing, new or edited external review/comments, merge conflicts, and merged/closed state.
- Let users select the events and follow-up instruction. The agent acts under the task's existing permission policy.
- Show Watching PR, last checked, next retry, and any pause/error in the desk card and notch.
- Save the watch and its delivery cursor independently from the agent process. Reuse the background service when enabled.
- Share one repository/PR poll between subscribers, use cheap change checks where supported, and respect GitHub rate limits/backoff.
- Deliver relevant changes once; avoid waking repeatedly for the same event or the agent's own unchanged output.
- Stop/settle/archive/delete ends watches and pending continuations. Late reads cannot restart stopped work.
- Child tasks do not automatically inherit the parent's PR ownership or watches.
Acceptance criteria
- Users can start/stop a watch from the correct desk and see its saved state.
- A failed check or new review wakes the correct owning task with enough context to act.
- Events arriving during active work are queued/coalesced without competing runs.
- Passing checks can notify or resume the task, but do not themselves authorize merging.
- Closed/merged PRs end the watch; reopening requires the configured explicit restart behavior.
- Rate limits pause with a retry time; repeated permanent failures stop with a clear explanation.
- Watches obey global concurrency limits, survive restart, and make no provider process stay alive just to poll.
- Tests cover duplicate events, review edits, rate limits, stop races, restart cursors, and parent/child ownership.
Dependencies
Requires #32 and shared wake/dispatch infrastructure from #37. Uses existing GitHub CLI authentication and desk PR support.
References
https://github.com/pingdotgg/t3code/blob/main/docs/user/source-control.md#linked-pull-requests
pingdotgg/t3code#16002
pingdotgg/t3code#14918 MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|