Skip to content

[core][test] retry the long_running_many_jobs.py test on temporary errors#60827

Draft
rueian wants to merge 6 commits intoray-project:masterfrom
rueian:retry-test-long-many-jobs
Draft

[core][test] retry the long_running_many_jobs.py test on temporary errors#60827
rueian wants to merge 6 commits intoray-project:masterfrom
rueian:retry-test-long-many-jobs

Conversation

@rueian
Copy link
Contributor

@rueian rueian commented Feb 7, 2026

…rors

Thank you for contributing to Ray! 🚀
Please review the Ray Contribution Guide before opening a pull request.

⚠️ Remove these instructions before submitting your PR.

💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete.

Description

Briefly describe what this PR accomplishes and why it's needed.

Related issues

Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

…rors

Signed-off-by: Rueian Huang <rueiancsie@gmail.com>
@rueian rueian changed the title [core][test] retry the long_running_many_jobs.py test on temporary er… [core][test] retry the long_running_many_jobs.py test on temporary errors Feb 7, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds retry logic to the long_running_many_jobs.py test to handle temporary runtime errors when checking job status. The change correctly addresses potential flakiness in the test by catching RuntimeError and retrying. I have one suggestion to refactor the loop body to improve code clarity and maintainability.

Signed-off-by: Rueian Huang <rueiancsie@gmail.com>
Signed-off-by: Rueian Huang <rueiancsie@gmail.com>
Signed-off-by: Rueian Huang <rueiancsie@gmail.com>
…heme

Signed-off-by: Rueian Huang <rueiancsie@gmail.com>
Signed-off-by: Rueian Huang <rueiancsie@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ray fails to serialize self-reference objects

1 participant