Repository navigation
[core] Split asio build targets - #63042
Conversation
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
There was a problem hiding this comment.
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.
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
d1153c1 to
38606ea
Compare
| hdrs = ["fake_periodical_runner.h"], | ||
| visibility = ["//visibility:public"], | ||
| deps = [ | ||
| ":periodical_runner", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
yes true, i'll fix in a follow up
Sparks0219
left a comment
There was a problem hiding this comment.
LGTM apart from one nit
## 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]>
Follow-up from: #63042 --------- Signed-off-by: Edward Oakes <[email protected]>
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]>
…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]>
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]>
…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]>
…oject#63205) Follow-up from: ray-project#63042 --------- Signed-off-by: Edward Oakes <[email protected]> Signed-off-by: Alexandr Plashchinsky <[email protected]>
Some cleanup of our asio build targets:
common/