Repository navigation
feat(desktop): allow every read-only approval from Needs you at once - #4354
Merged
Merged
Conversation
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.
What
Needs you could only answer approvals one by one, or all of one thread at once (Allow all). With several threads each waiting on a file read or a
git status, that meant a click per row.The Needs you header now offers "Allow N read-only" when two or more waiting approvals across all threads only read. It approves each once, and they fold into Decided as "Approved". It counts only what
assessApprovalratessafe: read-only tools and commands. Writes, destructive calls, unknown tools and questions are never included.Changelog
Needs you can approve every waiting read-only call across threads in one click.
Testing
state/inbox.test.ts: a read and a grep count;rm -rf, an unknown tool and a question do not.bun run check: all pass except the known flakystopTrace.store.test.ts› "a harness that ignores the Stop is forced".bunx vite buildandcheck-comments.pypass.git statusandrm -rf distover two threads. The header read "Allow 3 read-only"; pressing it approved the three into Decided and leftrm -rf distwaiting.