Repository navigation
feat(review): add --grouping flag to override file grouping - #2117
Open
Anurag1428 wants to merge 1 commit into
Open
Anurag1428 wants to merge 1 commit into
Anurag1428 wants to merge 1 commit into
Conversation
Contributor
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 3 selected item(s). |
Qiyuanqiii
reviewed
Nov 27, 2026
Qiyuanqiii
left a comment
Contributor
There was a problem hiding this comment.
For this type of change, I believe addressing the underlying problem at the architectural level may be preferable to exposing additional configuration options for users to work around it.
Moreover, the existing automatic grouping strategy was introduced in #1103 based on empirical evaluation. The proposed manual override introduces potential trade-offs, but this PR does not provide comparative benchmarks on recall, token consumption, or review latency.
Given these considerations, I suggest deferring further review and approval until the maintainers confirm the design direction.
This branch has not been deployed
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.
Refs #2113 (item 1 only).
Adds
--grouping llm|bundle-all|per-filetoocr review. It forces the grouping strategy for the run.per-filegives every file its own group with no grouping call, so large change sets can use--concurrency. When the flag is not set, nothing changes: the existing thresholds decide as before.Changes:
Template.GroupingOverride(runtime only, not read from task_template.json) andParseGroupingOverride;GroupingPlanreturns the override when set.--groupingflag with validation and shell completion.groupDiffswithper-fileandbundle-all(no grouping LLM call).Not included:
groups[]in the JSON result and resume checkpoints (the other items in #2113).AI disclosure: I used AI assistance (Gemini 3.8 Flash) while working on this change. I reviewed all of it and can explain every line.