Skip to content

[ci] Make spark-on-ray tests conditional - #53056

Merged
edoakes merged 10 commits into
ray-project:masterfrom
edoakes:eoakes/spark-on-ray-conditional
May 15, 2025
Merged

edoakes merged 10 commits into
ray-project:masterfrom
edoakes:eoakes/spark-on-ray-conditional

Conversation

@edoakes

@edoakes edoakes commented May 15, 2025

Copy link
Copy Markdown
Collaborator
  • Only run these tests when files in ray/util/spark/ are touched.
  • Fix the tagging (the tag was mismatched between the buildkite file and the bazel BUILD file for tests).

edoakes added 3 commits May 15, 2025 13:33
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes
edoakes requested review from a team and aslonnie May 15, 2025 18:58
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label May 15, 2025
Comment thread .buildkite/core.rayci.yml Outdated
--test-env=RAY_ON_SPARK_RAY_WORKER_NODE_STARTUP_INTERVAL=5
--parallelism-per-worker 3
--only-tags spark_plugin_tests
--only-tags spark_on_ray

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.

no other tests have spark_plugin_tests bazel tag?

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.

nope

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.

can you also add an empty depends on: [] here

otherwise the multi-gpu block will also block this, example: https://buildkite.com/ray-project/premerge/builds/39888#_

Comment thread .pre-commit-config.yaml Resolved
@edoakes
edoakes enabled auto-merge (squash) May 15, 2025 19:43
Signed-off-by: Edward Oakes <[email protected]>
@github-actions
github-actions Bot disabled auto-merge May 15, 2025 20:00
@dayshah
dayshah self-requested a review May 15, 2025 20:44
@edoakes
edoakes merged commit 84a8805 into ray-project:master May 15, 2025
jhasm added a commit to jhasm/ray that referenced this pull request May 27, 2026
…ional CI, IOPS doc, sidecar guards

Bundle of four targeted fixes from the first human-reviewer round:

* bazel/ray_deps_setup.bzl: bump RocksDB v9.11.2 -> v10.6.2 (@rueian).
  v10.6.2 is the newest release that still defaults to C++17. RocksDB
  10.7.0 (Sep 2025) raised the minimum compiler standard to C++20 for
  both the library and any code including its headers; Ray's .bazelrc
  pins -std=c++17, so future bumps past 10.6.2 require a coordinated
  C++20 migration. Constraint documented inline so the next bumper
  sees it.

* .buildkite/test.rules.txt + core.rayci.yml: gate the rocksdb / redis
  GCS FT premerge suites on changes under src/ray/gcs/store_client/
  and bazel/rocksdb.BUILD (@edoakes). Follows the spark_on_ray pattern
  introduced in ray-project#53056: declare new rocksdb_tests / redis_tests tags,
  emit them from a path rule that also includes the broad src/ tag set
  so build coverage is unchanged, and replace skip-on-premerge on both
  the main and out-of-disk rocksdb / redis blocks with the new tags.
  Postmerge unchanged because master pushes set RAYCI_RUN_ALL_TESTS=1.

* doc/source/cluster/kubernetes/user-guides/kuberay-gcs-rocksdb-ft.md:
  add an IOPS-on-cloud-providers callout under the PVC step (@rueian)
  noting that AWS gp2, GCE pd-balanced, and Azure Premium SSD v1 scale
  baseline IOPS with provisioned size, so a 1 GiB volume sized for
  GCS metadata footprint can throttle RocksDB's per-write fsync.

* python/ray/_private/node.py: raise ValueError in both
  check_persisted_session_name and _write_cluster_info_to_kv when
  RAY_gcs_storage=rocksdb but RAY_gcs_storage_path is empty
  (cursor[bot]). Mirrors the C++ RAY_CHECK in gcs_server.cc::
  GetStorageType() so the Python path fails loudly instead of
  silently skipping sidecar recovery -- which would generate a fresh
  session_name on restart and trip the persisted-name assert.

Signed-off-by: Santosh Jha <[email protected]>
jhasm added a commit to jhasm/ray that referenced this pull request Jun 13, 2026
…ional CI, IOPS doc, sidecar guards

Bundle of four targeted fixes from the first human-reviewer round:

* bazel/ray_deps_setup.bzl: bump RocksDB v9.11.2 -> v10.6.2 (@rueian).
  v10.6.2 is the newest release that still defaults to C++17. RocksDB
  10.7.0 (Sep 2025) raised the minimum compiler standard to C++20 for
  both the library and any code including its headers; Ray's .bazelrc
  pins -std=c++17, so future bumps past 10.6.2 require a coordinated
  C++20 migration. Constraint documented inline so the next bumper
  sees it.

* .buildkite/test.rules.txt + core.rayci.yml: gate the rocksdb / redis
  GCS FT premerge suites on changes under src/ray/gcs/store_client/
  and bazel/rocksdb.BUILD (@edoakes). Follows the spark_on_ray pattern
  introduced in ray-project#53056: declare new rocksdb_tests / redis_tests tags,
  emit them from a path rule that also includes the broad src/ tag set
  so build coverage is unchanged, and replace skip-on-premerge on both
  the main and out-of-disk rocksdb / redis blocks with the new tags.
  Postmerge unchanged because master pushes set RAYCI_RUN_ALL_TESTS=1.

* doc/source/cluster/kubernetes/user-guides/kuberay-gcs-rocksdb-ft.md:
  add an IOPS-on-cloud-providers callout under the PVC step (@rueian)
  noting that AWS gp2, GCE pd-balanced, and Azure Premium SSD v1 scale
  baseline IOPS with provisioned size, so a 1 GiB volume sized for
  GCS metadata footprint can throttle RocksDB's per-write fsync.

* python/ray/_private/node.py: raise ValueError in both
  check_persisted_session_name and _write_cluster_info_to_kv when
  RAY_gcs_storage=rocksdb but RAY_gcs_storage_path is empty
  (cursor[bot]). Mirrors the C++ RAY_CHECK in gcs_server.cc::
  GetStorageType() so the Python path fails loudly instead of
  silently skipping sidecar recovery -- which would generate a fresh
  session_name on restart and trip the persisted-name assert.

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

Labels

community-backlog go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants