Skip to content

[core] Deflake test_ray_shutdown#63573

Merged
edoakes merged 7 commits into
ray-project:masterfrom
edoakes:eoakes/deflake-shutdown
May 27, 2026
Merged

[core] Deflake test_ray_shutdown#63573
edoakes merged 7 commits into
ray-project:masterfrom
edoakes:eoakes/deflake-shutdown

Conversation

@edoakes

@edoakes edoakes commented May 21, 2026

Copy link
Copy Markdown
Collaborator

edoakes added 2 commits May 21, 2026 09:21
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes requested a review from a team as a code owner May 21, 2026 14:22
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label May 21, 2026

@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 refactors the test_ray_shutdown test to use a SignalActor for more reliable synchronization instead of time.sleep. Feedback suggests restoring the explicit ray.init() call to ensure a clean test state and replacing the list comprehension used for task submission with a standard for loop to follow Pythonic idioms.

Comment thread python/ray/tests/test_ray_shutdown.py
Comment thread python/ray/tests/test_ray_shutdown.py Outdated
@ray-gardener ray-gardener Bot added the core Issues that should be addressed in Ray Core label May 21, 2026
edoakes added 2 commits May 26, 2026 08:26
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>

@Yicheng-Lu-llll Yicheng-Lu-llll left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

Comment thread python/ray/tests/test_ray_shutdown.py
edoakes added 2 commits May 26, 2026 16:18
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes enabled auto-merge (squash) May 26, 2026 21:20
@github-actions github-actions Bot disabled auto-merge May 27, 2026 13:53
@edoakes edoakes merged commit 0dd6eb6 into ray-project:master May 27, 2026
6 checks passed
Neelansh-Khare pushed a commit to Neelansh-Khare/ray-clone that referenced this pull request Jun 5, 2026
Flaking in CI waiting for tasks to start running:
https://buildkite.com/ray-project/postmerge/builds/17674#019e48ed-4294-4a89-b86b-eed66cd804b0/L1281

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Neelansh Khare <kharen@uci.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core 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