Repository navigation
Defer full reviews for open PRs with confirmed merge conflicts - #10119
Open
loopx-agent wants to merge 3 commits into
Open
loopx-agent wants to merge 3 commits into
loopx-agent wants to merge 3 commits into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
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.
Problem
An open PR with a known merge conflict still generated a full review plan and evidence commands. Resolving the conflict can replace the head before that review can be used.
Change
Keep the PR visible in the inventory and defer its routine full review when GitHub reports DIRTY or CONFLICTING. An explicit fresh-audit request can still select that exact revision. An approved head continues through the existing merge-readiness check. Conflict-free behind heads and unknown mergeability retain their existing selection behavior.
Validation
The ordinary CLI selected all five synthetic heads before this change. With the same input it selected three after the change, leaving both known conflicts visible without full review plans. Requesting one of those revisions explicitly restored its evidence plan. A sample of 24 open PRs contained no confirmed conflict, so it provided no observed production savings. No model-cost reduction was measured.
The review queue and GitHub scan suites passed 189 tests. The local premerge canary passed all 18 selected checks. The rebase evidence boundary is qualified below.
Starting effort for review
The JSON review plan and Markdown packet now recommend a starting reasoning effort when the inventory supports it. A small prose-only documentation change can suggest medium after the reviewer checks its actual diff. High regression risk can suggest xhigh. Unknown or mixed scope retains the host default. A compatibility shim or type cleanup needs caller evidence before a reviewer can lower effort. These are advisory choices and do not change the recorded runtime effort or the required exact-head evidence.
On the same ten fixture heads, nine had actionable review plans before and after; their target, evidence commands, required evidence and templates matched. One small guide suggested medium, one large diff suggested xhigh and seven actionable heads retained the host default. A conflicting head stayed deferred. A separate metadata sample of 24 open PRs produced no medium suggestion. Neither run measured provider tokens or established production savings.
The four focused suites passed 475 tests. The standard premerge canary executed all 18 selected checks and passed its six direct checks.
Rechecking a rebased revision
For an actionable single-commit PR, the queue can read an earlier independent approval first when local Git objects prove that both bases have identical trees and both resulting revisions have identical trees. The rebased commit must be directly on the target tip. The reviewer checks the original approval, target, outstanding threads, commit-sensitive behavior and validation environment before reusing specific evidence. Missing evidence triggers a full diff. Every revision still needs an independent verdict. High-risk diffs, fresh audits, missing objects and changed dependencies keep the ordinary route.
A paired comparison on the same 14 inputs and Git revisions produced 14 immediate full-patch reads before the change and 13 afterward. One verified rebase read the prior approval first. All 14 retained current-head review. This counts commands in plans, not hosted model calls or token savings. Routine rebases onto a different base tree still get a full diff.
On this revision the Python review and scan suites reported 709 passes and 45 opt-in live cases skipped. The TypeScript suite passed eight tests and the control-plane typecheck passed. The standard premerge gate passed all 18 selected checks (17 executed and one reused) plus six direct checks.