Skip to content

[Train] Bump test_sync_actor to size medium to fix CI timeout - #66752

Merged
matthewdeng merged 1 commit into
ray-project:masterfrom
liulehui:add-time-out
Oct 5, 2026
Merged

matthewdeng merged 1 commit into
ray-project:masterfrom
liulehui:add-time-out

Conversation

@liulehui

@liulehui liulehui commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

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 #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.

@liulehui
liulehui requested a review from a team as a code owner October 5, 2026 20:03

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

Copy link
Copy Markdown
Contributor

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 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
matthewdeng enabled auto-merge (squash) October 5, 2026 20:32
@liulehui liulehui added the go add ONLY when ready to merge, run all tests label Oct 5, 2026
@matthewdeng
matthewdeng disabled auto-merge October 5, 2026 21:43
@matthewdeng
matthewdeng enabled auto-merge (squash) October 5, 2026 21:43
@matthewdeng
matthewdeng merged commit b8c7b80 into ray-project:master Oct 5, 2026
7 of 8 checks passed
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants