Skip to content

[core] Split asio build targets - #63042

Merged
edoakes merged 5 commits into
ray-project:masterfrom
edoakes:eoakes/asio-targets
May 6, 2026
Merged

edoakes merged 5 commits into
ray-project:masterfrom
edoakes:eoakes/asio-targets

Conversation

@edoakes

@edoakes edoakes commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

Some cleanup of our asio build targets:

  • Split into smaller targets.
  • Remove dependencies / only depend on the specific required targets in dependent targets.
  • Promote it to a top level directory outside of common/

edoakes added 2 commits April 30, 2026 11:35
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes
edoakes requested a review from a team as a code owner April 30, 2026 16:36
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Apr 30, 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 ASIO-related utilities by moving them from src/ray/common/asio to a new dedicated package src/ray/asio. The changes include creating a new BUILD.bazel file for the ASIO library, updating include paths repository-wide, and migrating associated tests. Feedback was provided to add package-level visibility to the new ASIO targets to ensure they are accessible to other modules and to include explicit dependencies in the core worker's task submission build configuration to follow best practices.

Comment thread src/ray/asio/BUILD.bazel Resolved
Signed-off-by: Edward Oakes <[email protected]>
@ray-gardener ray-gardener Bot added the core Issues that should be addressed in Ray Core label Apr 30, 2026
@edoakes
edoakes force-pushed the eoakes/asio-targets branch from d1153c1 to 38606ea Compare May 4, 2026 13:35
Comment thread src/ray/asio/BUILD.bazel
hdrs = ["fake_periodical_runner.h"],
visibility = ["//visibility:public"],
deps = [
":periodical_runner",

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.

nit: you shouldn't have the fake implementation depend on the real one, and instead abstract out the interface class. Not directly related to this though, can do in a follow up

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yes true, i'll fix in a follow up

@Sparks0219 Sparks0219 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.

LGTM apart from one nit

@edoakes
edoakes merged commit 7fce26a into ray-project:master May 6, 2026
3 checks passed
edoakes pushed a commit that referenced this pull request May 6, 2026
## Description
Core fails to build binaries in
[microcheck](https://buildkite.com/ray-project/microcheck/builds/44977#019dff0a-0312-4363-8a6f-7ac5c74513aa)
right now due to a newly merged PR using an out of date asio target.

Specifically, this PR moved the asio build target:
#63042
This PR introduced a new file that uses the out-of-date target:
#60858

This PR addresses this issue by updating the out-of-date
`python_event_interface.h` to use the new target.

## Related issues

## Additional information

Signed-off-by: davik <[email protected]>
Co-authored-by: davik <[email protected]>
edoakes added a commit that referenced this pull request May 13, 2026
Follow-up from: #63042

---------

Signed-off-by: Edward Oakes <[email protected]>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
Some cleanup of our asio build targets:

- Split into smaller targets.
- Remove dependencies / only depend on the specific required targets in
dependent targets.
- Promote it to a top level directory outside of `common/`

---------

Signed-off-by: Edward Oakes <[email protected]>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
…ect#63166)

## Description
Core fails to build binaries in
[microcheck](https://buildkite.com/ray-project/microcheck/builds/44977#019dff0a-0312-4363-8a6f-7ac5c74513aa)
right now due to a newly merged PR using an out of date asio target.

Specifically, this PR moved the asio build target:
ray-project#63042
This PR introduced a new file that uses the out-of-date target:
ray-project#60858

This PR addresses this issue by updating the out-of-date
`python_event_interface.h` to use the new target.

## Related issues

## Additional information

Signed-off-by: davik <[email protected]>
Co-authored-by: davik <[email protected]>
alexandrplashchinsky pushed a commit to alexandrplashchinsky/ray-alex that referenced this pull request May 29, 2026
Some cleanup of our asio build targets:

- Split into smaller targets.
- Remove dependencies / only depend on the specific required targets in
dependent targets.
- Promote it to a top level directory outside of `common/`

---------

Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Alexandr Plashchinsky <[email protected]>
alexandrplashchinsky pushed a commit to alexandrplashchinsky/ray-alex that referenced this pull request May 29, 2026
…ect#63166)

## Description
Core fails to build binaries in
[microcheck](https://buildkite.com/ray-project/microcheck/builds/44977#019dff0a-0312-4363-8a6f-7ac5c74513aa)
right now due to a newly merged PR using an out of date asio target.

Specifically, this PR moved the asio build target:
ray-project#63042
This PR introduced a new file that uses the out-of-date target:
ray-project#60858

This PR addresses this issue by updating the out-of-date
`python_event_interface.h` to use the new target.

## Related issues

## Additional information

Signed-off-by: davik <[email protected]>
Co-authored-by: davik <[email protected]>
Signed-off-by: Alexandr Plashchinsky <[email protected]>
alexandrplashchinsky pushed a commit to alexandrplashchinsky/ray-alex that referenced this pull request May 29, 2026
…oject#63205)

Follow-up from: ray-project#63042

---------

Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Alexandr Plashchinsky <[email protected]>
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