Skip to content

[Serve] Simplify background thread deployment method invocation test pattern#62940

Merged
abrarsheikh merged 1 commit into
ray-project:masterfrom
win5923:serve-background-thread
May 15, 2026
Merged

[Serve] Simplify background thread deployment method invocation test pattern#62940
abrarsheikh merged 1 commit into
ray-project:masterfrom
win5923:serve-background-thread

Conversation

@win5923
Copy link
Copy Markdown
Member

@win5923 win5923 commented Apr 25, 2026

Description

See #61797

Related issues

Closes #61797

Additional information

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

…pattern

Signed-off-by: win5923 <ken89@kimo.com>
@win5923 win5923 requested a review from a team as a code owner April 25, 2026 09:14
Copy link
Copy Markdown
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 simplifies the gang scheduling tests by replacing manual background thread management with the non-blocking _blocking=False parameter in serve._run. This change streamlines the test logic by removing the need for explicit thread creation and joining. I have no feedback to provide.

@ray-gardener ray-gardener Bot added serve Ray Serve Related Issue community-contribution Contributed by the community labels Apr 25, 2026
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Apr 25, 2026
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added stale The issue is stale. It will be closed within 7 days unless there are further conversation unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels May 10, 2026
@abrarsheikh abrarsheikh merged commit 668f1d9 into ray-project:master May 15, 2026
9 checks passed
TruongQuangPhat pushed a commit to cyhapun/ray-fix-issue that referenced this pull request May 27, 2026
…pattern (ray-project#62940)

## Description
See ray-project#61797

## Related issues
Closes ray-project#61797

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

Signed-off-by: win5923 <ken89@kimo.com>
Signed-off-by: phattruong <23120318@student.hcmus.edu.vn>
Neelansh-Khare pushed a commit to Neelansh-Khare/ray-clone that referenced this pull request Jun 5, 2026
…pattern (ray-project#62940)

## Description
See ray-project#61797

## Related issues
Closes ray-project#61797

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

Signed-off-by: win5923 <ken89@kimo.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

community-contribution Contributed by the community go add ONLY when ready to merge, run all tests serve Ray Serve Related Issue unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[serve] Simplify background thread deployment method invocation test pattern

2 participants