[ci] Surface Anyscale logs for failed jobs - #2045
Open
bvolpato wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds best-effort remote log tail printing to the Anyscale job submission script when a job fails after its entrypoint has started. This is achieved by introducing a new print_remote_log_tail function and a configurable ANYSCALE_LOG_TAIL_LINES environment variable. The review feedback suggests validating that LOG_TAIL_LINES is a valid positive integer to prevent command failures, and appending || true to the print_remote_log_tail call to ensure that any unexpected failure during log retrieval does not interfere with the script's final exit status.
- Fetch a bounded remote tail after real failures and timeouts. - Keep log retrieval best-effort and preserve capacity retry decisions.
bvolpato
force-pushed
the
bvolpato/anyscale-failure-logs
branch
from
August 16, 2026 15:39
3a23ed8 to
e263a57
Compare
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.
Summary
ANYSCALE_LOG_TAIL_LINES; default invalid values to 100 lines with a warning.Why
Scheduled GPU failures currently stop at the Anyscale terminal state. Test output remains in Anyscale, so GitHub CI cannot distinguish a product regression from a remote environment failure. This adds failure context to the existing workflow log without changing successful jobs or capacity retry decisions.
Validation
bash -n ci/submit_anyscale_job.shuv lock --checkgit diff --check