Skip to content

Conversation

@aslonnie
Copy link
Collaborator

@aslonnie aslonnie commented Sep 4, 2025

  • disables java tests; ray java not supported on apple silicon yet.
  • skipping cpp tests that are not passing yet

we already stopped releasing macos wheels for Intel silicon, the tests that are disabled or skipped were never passing on apple silicon, so nothing is regressed.

Copy link
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 updates the Buildkite CI configuration to run the C++ and Java tests on a macos-arm64 instance. While this is a good step towards supporting Apple Silicon, the associated test script ci/ray_ci/macos/macos_ci.sh contains a hardcoded JAVA_HOME path. This path may not be valid on the new arm64 architecture, which could lead to build failures. I've added a comment highlighting this risk and suggesting a more robust way to set the Java home directory.

@ray-gardener ray-gardener bot added the devprod label Sep 4, 2025
@aslonnie
Copy link
Collaborator Author

aslonnie commented Sep 4, 2025

@github-actions
Copy link

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 the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Sep 19, 2025
@aslonnie aslonnie removed the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Sep 21, 2025
@aslonnie aslonnie force-pushed the lonnie-250903-macosarm64 branch from 8efcac3 to 57a6f00 Compare October 1, 2025 05:02
@aslonnie aslonnie requested review from a team, SongGuyang, kfstorm and raulchen as code owners October 1, 2025 05:02
cursor[bot]

This comment was marked as outdated.

@aslonnie aslonnie force-pushed the lonnie-250903-macosarm64 branch 2 times, most recently from bf83e37 to de604c2 Compare October 1, 2025 05:40
@aslonnie
Copy link
Collaborator Author

aslonnie commented Oct 1, 2025

new attempt: https://buildkite.com/ray-project/postmerge-macos/builds/8388#_

just disable java.. it does not work anyways. and no one should be using new ray version with intel silicon macos any more.

@aslonnie aslonnie force-pushed the lonnie-250903-macosarm64 branch 3 times, most recently from ac421ec to e8a826a Compare October 1, 2025 20:35
@github-actions
Copy link

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 the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Oct 16, 2025
@aslonnie aslonnie changed the title try run macos test on arm64 once more.. [macos] run macos cpp tests on apple silicon Oct 16, 2025
@aslonnie aslonnie removed the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Oct 16, 2025
@aslonnie
Copy link
Collaborator Author

cursor[bot]

This comment was marked as outdated.

@aslonnie aslonnie force-pushed the lonnie-250903-macosarm64 branch from 27fd11b to b67b0cf Compare October 19, 2025 16:49
@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Oct 19, 2025
@aslonnie
Copy link
Collaborator Author

ready for review now.

@aslonnie aslonnie requested review from dayshah and jjyao October 19, 2025 16:51
@aslonnie
Copy link
Collaborator Author

after this is merged, I can kill the intel silicon macos CI machines.

Copy link
Contributor

@dayshah dayshah left a comment

Choose a reason for hiding this comment

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

did the java tests ever work on intel macs?

and do we want to fix the cpp api submit job test on mac @jjyao ?

- disables java tests
- skipping cpp tests that are not passing yet

and we already stopped releasing macos wheels for Intel silicon,
the tests that are disabled or skipped were never passing on
apple silicon, so nothing is regressed.

Signed-off-by: Lonnie Liu <[email protected]>
@aslonnie aslonnie force-pushed the lonnie-250903-macosarm64 branch from b67b0cf to e2f67a7 Compare October 19, 2025 16:57
.bazelrc Outdated
# It picks up the system headers when someone has protobuf installed via Homebrew.
# Work around for https://github.com/bazelbuild/bazel/issues/8053
build:macos --sandbox_block_path=/usr/local/
build:macos --copt="-Wno-deprecated-declarations"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

without this, compiler will error even on deprecated protobuf fields.

@aslonnie
Copy link
Collaborator Author

did the java tests ever work on intel macs?

yes, java was working on intel macs.

our java is using jdk 8, which is super old and jdk8 does not have apple silicon support.

there is an attempt to upgrade to jdk 17:
#56281

but jdk 17 does not work out of the box.

@aslonnie aslonnie merged commit ac4a8ad into master Oct 20, 2025
7 checks passed
@aslonnie aslonnie deleted the lonnie-250903-macosarm64 branch October 20, 2025 00:15
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 20, 2025
- disables java tests; ray java not supported on apple silicon yet.    
- skipping cpp tests that are not passing yet

we already stopped releasing macos wheels for Intel silicon, the tests
that are disabled or skipped were never passing on apple silicon, so
nothing is regressed.

Signed-off-by: Lonnie Liu <[email protected]>
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
- disables java tests; ray java not supported on apple silicon yet.
- skipping cpp tests that are not passing yet

we already stopped releasing macos wheels for Intel silicon, the tests
that are disabled or skipped were never passing on apple silicon, so
nothing is regressed.

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: xgui <[email protected]>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
- disables java tests; ray java not supported on apple silicon yet.    
- skipping cpp tests that are not passing yet

we already stopped releasing macos wheels for Intel silicon, the tests
that are disabled or skipped were never passing on apple silicon, so
nothing is regressed.

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
- disables java tests; ray java not supported on apple silicon yet.    
- skipping cpp tests that are not passing yet

we already stopped releasing macos wheels for Intel silicon, the tests
that are disabled or skipped were never passing on apple silicon, so
nothing is regressed.

Signed-off-by: Lonnie Liu <[email protected]>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
- disables java tests; ray java not supported on apple silicon yet.
- skipping cpp tests that are not passing yet

we already stopped releasing macos wheels for Intel silicon, the tests
that are disabled or skipped were never passing on apple silicon, so
nothing is regressed.

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: Aydin Abiar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devprod go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants