Skip to content

feat: the inbox keeps at most maxPrepared reviews waiting, and a review can be dismissed - #86

Merged
fiddur merged 2 commits into
developfrom
inbox-max-prepared
Sep 3, 2026
Merged

feat: the inbox keeps at most maxPrepared reviews waiting, and a review can be dismissed#86
fiddur merged 2 commits into
developfrom
inbox-max-prepared

Conversation

@fiddur

@fiddur fiddur commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

The inbox prepared every review-requested PR in one tick — an agent run each, all sixty when sixty were asked for.

  • maxPrepared (config, default 5): the tick fills the ready pile no further than this, smallest diff first. Stale reviews are refreshed regardless, since they are already in the pile. The rest stay queued, with "waiting: N reviews already prepared" on the row.
  • A review leaves the pile when GitHub withdraws the request (posting a review does that; the existing "review no longer requested" path hides it on the next poll) or when you dismiss it from the page. POST /dismiss/:id marks it dismissed, reclaims the worktree, and no later poll re-queues it — a new head included. Dismiss is offered on every row except one being prepared.
  • The "Preparing" section is now "Queue", since queued rows wait there.

Bumps to 0.10.12.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w

fiddur and others added 2 commits September 3, 2026 14:10
…ew can be dismissed

Every queued pull request used to be prepared in one tick, an agent run each, sixty at a
time when sixty were asked for. The tick now fills the pile no further than `maxPrepared`
(default 5), smallest diff first, refreshing stale reviews regardless since they are already
in the pile; the rest stay queued with the reason on the row. A prepared review leaves the
pile when GitHub withdraws the request — a posted review does that — or when the reviewer
dismisses it from the page: POST /dismiss/:id marks it `dismissed`, reclaims the worktree,
and no later poll re-queues it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w
A dismissal or a retirement removed the directory under a diffity server still serving it,
leaving a broken tab and an orphan registered against a path that no longer exists. Both
paths now go through one reclaim that kills the registered instance first. `inbox status`
also prints a queued row's reason, so a row waiting on the cap says so in the terminal.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w
@fiddur
fiddur marked this pull request as ready for review September 3, 2026 12:18
@fiddur
fiddur merged commit 12f16bf into develop Sep 3, 2026
2 checks passed
@fiddur
fiddur deleted the inbox-max-prepared branch September 3, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant