Files
codex/codex-rs/app-server/tests/suite
felixxia-oai 02a15f1244 Cancel Guardian V3 shadow reviews on interruption (#64813)
## Why

A Guardian V3 shadow review could keep running after its live review or
owning turn was interrupted, leaving the reviewer slot occupied.

## What changed

- Cancel the shadow when a pending live review is cancelled or dropped,
  and let the live review finish its cleanup on cancellation.
- Cancel in-flight shadows when their owning turn is aborted, even if
  the live verdict is already available, and prevent new shadows for
  that turn. On normal turn completion, shadows can finish independently.

## Testing

Cover tool cancellation during live-review cleanup and turn interruption
both during review and after approval. The app-server test also checks
that a later turn can start a shadow and complete while it is still
running.

GitOrigin-RevId: 45df0575853d5f8ca7ef7282fcd0fa1f22fed6c5
2026-11-30 21:35:13 +00:00
..