core tests: use hermetic mock server in review suite (#12291)
## Summary - switch the review test SSE mock helper to use the shared hermetic mock server setup - ensure review tests always have a default `/v1/models` stub during Codex session bootstrap - remove the race that caused intermittent `/v1/models` connection failures and flaky ETag refresh assertions ## Testing - `just fmt` - `cargo test -p codex-core --test all refresh_models_on_models_etag_mismatch_and_avoid_duplicate_models_fetch` - `cargo test -p codex-core --test all review_uses_custom_review_model_from_config` - repeated both targeted tests 5x in a loop - `cargo clippy -p codex-core --tests -- -D warnings`
V
viyatb-oai committed
60c2b7beca5929346311388d50b1bdeb59673077
Parent: 6b1091f
Committed by GitHub <noreply@github.com>
on 2/20/2026, 8:50:12 PM