feat(auto-review) short-circuit (#18890)

## Summary
Short circuit the convo if auto-review hits too many denials

## Testing
- [x] Added unit tests

---------

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Dylan Hurd
2026-04-22 20:34:15 +00:00
committed by GitHub
co-authored by Codex
parent b77791c228
commit ed4def8286
28 changed files with 645 additions and 22 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ async fn run_codex_tool_session_inner(
outgoing.send_response(request_id.clone(), result).await;
break;
}
EventMsg::Warning(_) => {
EventMsg::Warning(_) | EventMsg::GuardianWarning(_) => {
continue;
}
EventMsg::GuardianAssessment(_) => {