fix(orb): gate the ai_review_inconclusive hold on aiReviewGateMode - #10239
Conversation
evaluateGateCheckCore held the gate neutral whenever an inconclusive AI review finding showed up, regardless of the repo's configured aiReviewGateMode. Since the finding is produced by mode-agnostic producers (a lock-contention race or a failed attempt), an advisory-mode repo's clean, green PR could get diverted to manual review over a race or a transient model hiccup it never opted into blocking on. Mirror isEvaluationBlocker's cla_check_unresolved precedent: only hold the gate when the resolved mode is block. The finding still surfaces as a warning in every mode via the existing gateWarnings path.
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-31 14:17:31 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10239 +/- ##
==========================================
+ Coverage 92.25% 92.26% +0.01%
==========================================
Files 938 938
Lines 114694 114702 +8
Branches 27693 27699 +6
==========================================
+ Hits 105813 105834 +21
+ Misses 7575 7558 -17
- Partials 1306 1310 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix(orb): gate the ai_review_inconclusive hold on aiReviewGateMode
evaluateGateCheckCore held the gate neutral whenever an inconclusive AI
review finding showed up, regardless of the repo's configured
aiReviewGateMode. Since the finding is produced by mode-agnostic
producers (a lock-contention race or a failed attempt), an
advisory-mode repo's clean, green PR could get diverted to manual
review over a race or a transient model hiccup it never opted into
blocking on.
Mirror isEvaluationBlocker's cla_check_unresolved precedent: only hold
the gate when the resolved mode is block. The finding still surfaces
as a warning in every mode via the existing gateWarnings path.
Closes #10016