Repository navigation
Conversation
Signed-off-by: svcnemo-autobot <[email protected]>
|
/ok to test b1ed7f2 |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no concerns found.
I reviewed all changes in the test file and traced the affected HTTP and model-client failure paths. The revised fixtures retain real requests, headers, and truncated-response coverage while controlling body-read timeouts. The assertions preserve status attribution, forwarded failure IDs, elapsed-time accounting, and one-request/one-attempt behavior.
This was a static review; I didn't execute tests or independently verify the reported CI results.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42701660111 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42703752389 |
Background
The body-failure fixtures could exhaust their 50 ms whole-request deadline before receiving headers, failing merge-queue validation without exercising the intended behavior. Observed in run 42620258770 for #5764; no separate issue is needed for this focused test repair.
What changed
Replace wall-clock races in the two parameterized HTTP body-failure tests with deterministic body-read failures.
Details
Keep real HTTP requests and response headers, then inject the timeout at the body read. Retain real truncated-response coverage and use a controlled clock for elapsed-time assertions. Preserve status, failure attribution, and one-request/one-attempt checks, and assert the exception type and wire request count. Only
test_model_failure_observations.pychanges; production behavior and dependencies are unchanged.Tested
unit:core-unit-tests: 19,933 passed, 108 native skips, 343 subtests passed; all 15 affected cases passed.unit:lint: applicable hooks passed;guardwords-checkexcluded by platform policy, Markdown filename hook had no files.c442d056; signing introduced no source changes. An initial run hit an unrelated rollout timeout; the unchanged retry passed.