Repository navigation
[Train] Bump test_sync_actor to size medium to fix CI timeout - #66752
Merged
Merged
Conversation
Signed-off-by: Lehui Liu <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Bazel build configuration for Ray Train V2, changing the test size of the test_sync_actor target from 'small' to 'medium' in python/ray/train/v2/BUILD.bazel. There are no review comments, and we have no additional feedback to provide.
matthewdeng
approved these changes
Oct 5, 2026
matthewdeng
enabled auto-merge (squash)
October 5, 2026 20:32
matthewdeng
disabled auto-merge
October 5, 2026 21:43
matthewdeng
enabled auto-merge (squash)
October 5, 2026 21:43
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
…oject#66752) ## Description `//python/ray/train/v2:test_sync_actor` is timing out in CI on every run. It is not a flake: all 17 tests pass, but the target goes over Bazel's 60s limit for `size = "small"`. From the failing build, both attempts showed: - `17 passed in 56.93s` and `17 passed in 57.81s` - `TIMEOUT in 2 out of 2 in 60.0s` That leaves about 2–3s for Python startup, test collection and the module fixture's `ray.shutdown()`, which isn't enough on a loaded CI machine. The slowdown comes from ray-project#66225, which added 10 tests to this file. Most of them check that a barrier stays blocked by calling `ray.wait(..., timeout=N)` and asserting nothing finished. Those waits always run for their full timeout, so together they add about 28s of fixed wall time to the module. This PR changes the target from `size = "small"` to `size = "medium"` (300s limit). No test logic changes. Signed-off-by: Lehui Liu <[email protected]>
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.
Description
//python/ray/train/v2:test_sync_actoris timing out in CI on every run. It is not a flake: all 17 tests pass, but the target goes over Bazel's 60s limit forsize = "small".From the failing build, both attempts showed:
17 passed in 56.93sand17 passed in 57.81sTIMEOUT in 2 out of 2 in 60.0sThat leaves about 2–3s for Python startup, test collection and the module fixture's
ray.shutdown(), which isn't enough on a loaded CI machine.The slowdown comes from #66225, which added 10 tests to this file. Most of them check that a barrier stays blocked by calling
ray.wait(..., timeout=N)and asserting nothing finished. Those waits always run for their full timeout, so together they add about 28s of fixed wall time to the module.This PR changes the target from
size = "small"tosize = "medium"(300s limit). No test logic changes.