feat(server): agents can watch a PR and get woken when checks, reviews, or conflicts need them (#15057)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Theo BrowneandClaude Opus 5.5 authored and GitHub committed 2026-10-03 03:08:44 -07:00
1 parent e8545b293b
commit 18b21325c3
31 files changed
+1531 -39

No files matched your search

+7
View File
@@ -181,6 +181,13 @@ closed reviews refresh periodically so reopening one on the host is detected. Me
when requested. With **Auto-settle merged threads** enabled, a thread can settle after every linked
review is terminal. An open or unsynced link keeps it active.
Ask the agent to watch, monitor, or babysit a pull request and it calls `watch_pull_request`. While
the thread is active, the server checks the pull request every minute and wakes the agent when a check
fails, the required checks pass, someone else comments or reviews, or the branch starts to conflict.
Comments from your own account do not wake it. Watching ends when the pull request merges or closes,
after 10 wakes in a row that bring only comments, or when the server cannot read the pull request for
15 minutes. To start or stop it yourself, use the row menu in the **Linked pull requests** panel.
Cross-repository links use a project on the same host. Azure DevOps reviews require a project checked
out from the matching organization and repository.