Repository navigation
fix(sandbox): retry timed-out background command log reads - #3993
Merged
Merged
Conversation
Contributor
Author
|
/ok to test edbb417 |
lafrancef
marked this pull request as ready for review
October 5, 2026 21:21
Contributor
|
/ok to test edbb417 |
@bxyu-nvidia, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
hemildesai
previously approved these changes
Oct 5, 2026
lafrancef
force-pushed
the
flafrance/tb21-log-read-retries-20261004
branch
from
October 5, 2026 21:55
edbb417 to
be7165d
Compare
lafrancef
changed the base branch from
flafrance/tb21-setup-failures-20261004
to
main
October 5, 2026 21:55
Signed-off-by: Frederic Lafrance <[email protected]>
lafrancef
force-pushed
the
flafrance/tb21-log-read-retries-20261004
branch
from
October 6, 2026 07:55
be7165d to
2efda11
Compare
Contributor
Author
|
/ok to test 2efda11 |
Contributor
hemildesai
approved these changes
Oct 6, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37537750739 |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 6, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37592944092 |
ffrujeri
added a commit
that referenced
this pull request
Oct 27, 2026
Uploads and downloads that receive no response within request_timeout_s now go through the operation retry policy, like background command status and log polls (#3993). Rewriting the same bytes or rereading a file is idempotent, so a retry is safe. On HSG, OpenCode TB2.1 rollouts intermittently lose the process_supervisor.py upload: execd logs the request, then nothing answers until the 300 s timeout, and the rollout fails with HTTP 500. Signed-off-by: Felipe Vieira Frujeri <[email protected]>
ffrujeri
added a commit
that referenced
this pull request
Oct 27, 2026
Uploads and downloads that receive no response within request_timeout_s now go through the operation retry policy, like background command status and log polls (#3993). Rewriting the same bytes or rereading a file is idempotent, so a retry is safe. On HSG, OpenCode TB2.1 rollouts intermittently lose the process_supervisor.py upload: execd logs the request, then nothing answers until the 300 s timeout, and the rollout fails with HTTP 500. Signed-off-by: Felipe Vieira Frujeri <[email protected]> (cherry picked from commit 8146f7d)
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A timeout fetching a finished background command's logs currently aborts the operation. Retry that idempotent GET for the same execution using the existing retry budget, extending the status-read behavior from #2765. Command submission semantics and per-call timeouts stay unchanged. Persistent log-read failures can now consume the configured retry budget before surfacing.
The regression covers recovery, exhausted retries, and exactly one command submission. A fresh-sandbox fault-injection probe recovered after the first log-read timeout, with two read attempts and exactly one submission; a file append also confirmed one execution. A subsequent real-model terminal rollout completed with two accepted final declarations and successful verification. The model smoke also included #3992's verifier-directory preparation.
The failure and focused regression are contained in this PR, so a separate issue is unnecessary.