feat: the inbox keeps at most maxPrepared reviews waiting, and a review can be dismissed - #86
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 stayqueued, with "waiting: N reviews already prepared" on the row.POST /dismiss/:idmarks itdismissed, reclaims the worktree, and no later poll re-queues it — a new head included. Dismiss is offered on every row except one being prepared.Bumps to 0.10.12.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w