feat: snooze a thread until its pull request has activity
Problem
I keep PRs open on public repos that wait days on maintainers. I want those threads out of the sidebar without settling them, and back as soon as someone comments or anything else happens on the PR. A timed snooze is a guess. Settling hides the thread for good.
Change
Snooze ā Until PR activity is a normal snooze with a 30-day backstop that also wakes when a linked open PR gets news:
- a comment, review, push, merge or close (bot reviews count too);
- the branch starting to conflict, on hosts that report conflicts.
It shows only for threads with a linked PR that was last read as open, on servers that advertise threadSnoozeOnPullRequest.
There's no new poller. The existing PR sync already reads every unsettled thread's open PRs and dispatches thread.pull-request-link.sync when a snapshot changes. In that command's orchestrator decision, a pending PR snooze wakes when the host's updatedAt, mergedAt or closedAt lands after the snooze, or when a clean read turns into a conflict.
The wake is timer-style: it emits thread.unsnoozed with snoozedUntil: now. Every client therefore shows the usual "Woke" state with no client wake logic, and settlement treats the thread as awake.
Edge cases:
- Merge: your merge settling setting applies as usual.
- Close: a close the thread woke for keeps it active, so a rejected PR doesn't silently land in Settled.
- Nothing left to wait on: if the last open PR is unlinked, dismissed or ended, the snooze wakes.
- Leftover flag: usage-limit snoozes clear the PR flag.
- Settled threads: can't take a PR snooze, because sync skips them.
Surfaces:
- Web and desktop: the thread menu, the sidebar right-click menu, the hover snooze button and multi-select. Snoozed rows show
PR, and the status line reads "Snoozed until PR activity". - Mobile: the row menus, the
PRlabel and the detail status line. - Undo: restores the flag.
- Translations: new strings are translated into all 9 locales.
Scope
This is a feature, not a bug fix, so I'm flagging it plainly. #36539 ("Until PR updates") overlaps. It wakes on review decisions, conflicts, finished checks, and merge or close, and it adds narrower presets and an agent option. It does not wake on plain comments, which is the case that motivated this PR: a maintainer asking a question on a contributor PR changes no review decision or check.
This PR is the smaller version:
- one preset;
- the wake decided inside the existing sync command;
- no settings or MCP surface.
I'm happy to close it in favor of #36539 if comment wakes land there, or to rebase anything useful onto it.
Not included:
- The MCP organize tool option: CI blocks MCP context growth without the
agent-context-increaselabel. - Azure DevOps comment wakes: Azure doesn't report a PR's last update, so only a merge, close or conflict wakes it there. This is documented.
Verification
- Live end-to-end on a dev server with no seeded data: I snoozed a thread linked to an open PR in this repository at 07:44:22. A CodeRabbit review on it at 07:47 moved the PR's update time to 07:47:38. The next sync, at 07:47:57, emitted
thread.unsnoozedwithsnoozedUntilset to 07:47:57. Later syncs did not wake it again. - Tests:
- A runtime orchestrator test covers: refused with no PR, refused when settled, no wake on a non-activity sync, wake on a comment, a stale close leaving nothing to wait on, wake on unlink, and no wake for a plain snooze.
- A table test covers the wake rules.
- A settlement test pairs a PR wake (stays active on close) with a plain wake (settles).
- The new cases fail without their fixes.
vp run check:changed: passes locally, exceptSidebar.shortcuts.browser.test.tsx, which fails the same way onmainon my machine; it passes in CI.- Mobile: not captured. The dev client built and loaded on a local Android emulator, but the 8 GB VM kept hanging the emulator's System UI. Mobile renders the same shared preset,
PRlabel and status-line strings.
Web, before and after (real app):
| Before | After |
|---|---|
![]() | ![]() |
Snoozed row and status line:

Council review
Rounds: 6
| Delegate | Round 1 | Round 2 | Round 3 | Round 4 | Round 5 | Round 6 |
|---|---|---|---|---|---|---|
| Claude Opus 5.5 | 8/10 | 9/10 | 9/10 | 9/10 | 9/10 | 9.5/10 |
| GPT-6.2 Sol | 6.5/10 | 8/10 | 8/10 | 8/10 | 9/10 | 9.5/10 |
| GPT-6.2 Astra | 6/10 | 8/10 | 8/10 | 8.5/10 | 9.5/10 | 10/10 |
Created with Claude Opus 5.5 in Claude Code, running inside T3 Code. Council reviews by Claude Opus 5.5, GPT-6.2 Sol and GPT-6.2 Astra.
š¤ Generated with Claude Code

