Skip to content

[ci] Explain the glibc 2.17 Bazel build and mark it for removal - #68113

Merged
elliot-barn merged 1 commit into
masterfrom
elliot-barn/bazel-glibc217-todos
Nov 20, 2026
Merged

elliot-barn merged 1 commit into
masterfrom
elliot-barn/bazel-glibc217-todos

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Why

Stacked on #66483, and based on its branch, so the diff is only the comments. GitHub retargets it to master once #66483 merges.

#66483 adds a bazel-glibc217 wanda image: Bazel compiled from source inside manylinux2014, shipped with a JDK 21. Bazel 8's official Linux binaries need glibc >= 2.25. Ray builds its Linux wheels inside manylinux2014 (CentOS 7, glibc 2.17), so that the wheels keep running on glibc 2.17 systems, and the official binary can't start there.

The steps that build and use this image don't say why they exist, or when they can go. This PR adds that.

What changes

Comments only, no behavior change:

  • bazel-glibc217-x86_64 step (.buildkite/_forge.rayci.yml): why the image exists, and a TODO to move the wheel build from manylinux2014 to manylinux_2_28 (glibc 2.28, which raises the user glibc floor to 2.28). After that move, the official Bazel binary runs in the build image and all of this can be deleted. The comment lists everything to remove.
  • bazel-glibc217-aarch64 step (.buildkite/linux_aarch64.rayci.yml): a short version that points to the x86_64 step.
  • Every depends_on: bazel-glibc217-* edge (_forge, _wheel-build, build, linux_aarch64): a one-line TODO.
  • The COPY --from=bazel blocks in the ray-core, ray-cpp-core, ray-java and manylinux-retag Dockerfiles: a one-line TODO.

The release pipeline's _forge and _wheel-build files are symlinks to these, so they pick up the same comments.

Tests run

Command Result
yaml.safe_load on every .buildkite/*.rayci.yml all parse
pre-commit run --files <changed files> passed

AI assistance was used to draft this change.

🤖 Generated with Claude Code

@elliot-barn
elliot-barn force-pushed the elliot-barn/bazel-protobuf-29 branch from c867d2a to 59c6539 Compare November 12, 2026 22:44
@elliot-barn
elliot-barn force-pushed the elliot-barn/bazel-glibc217-todos branch 2 times, most recently from d75d296 to d720fcd Compare November 12, 2026 23:03
Base automatically changed from elliot-barn/bazel-protobuf-29 to master November 13, 2026 09:36
Comment the bazel-glibc217 steps with why they exist: Bazel 8's release
binaries need glibc >= 2.25 and the wheels build in manylinux2014 (glibc
2.17). Add TODOs on the steps, their depends_on edges and the Dockerfile
COPY blocks to remove all of it once the wheel build moves to
manylinux_2_28.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn force-pushed the elliot-barn/bazel-glibc217-todos branch from d720fcd to 6278b1b Compare November 17, 2026 02:47
@elliot-barn
elliot-barn marked this pull request as ready for review November 20, 2026 01:46
@elliot-barn
elliot-barn requested a review from a team as a code owner November 20, 2026 01:46

@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 adds documentation and TODO comments across various Buildkite configuration files and Dockerfiles. These comments explain the temporary workaround of compiling Bazel from source for glibc 2.17 compatibility (required for manylinux2014) and outline the steps to remove this workaround once the build environment is upgraded to manylinux_2_28. There are no review comments to address, and I have no additional feedback to provide.

@elliot-barn
elliot-barn merged commit 5052199 into master Nov 20, 2026
5 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/bazel-glibc217-todos branch November 20, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant