Skip to content

[ci] Recompile dependency lock files on dependabot PRs - #65056

Open
elliot-barn wants to merge 1 commit into
masterfrom
dependabot-raydepsets-recompile
Open

[ci] Recompile dependency lock files on dependabot PRs#65056
elliot-barn wants to merge 1 commit into
masterfrom
dependabot-raydepsets-recompile

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Dependabot bumps pins in python/requirements/** but cannot run the lock file compilation that CI validates, so its PRs fail the pip_compile_dependencies and raydepsets_compile_all_dependencies jobs until someone regenerates the locks by hand.

Add a GitHub Actions workflow that triggers on pushes to dependabot/pip/** branches, reruns both compilation steps (ci.sh compile_pip_dependencies and raydepsets build --all-configs), and pushes the regenerated lock files back onto the PR branch.

Both steps were verified to reproduce the committed lock files byte-for-byte on a plain ubuntu host (the environment GitHub runners provide): raydepsets --check passes using the bazel-provisioned uv, and compile_pip_dependencies in a py3.11 venv produces no diff.

The follow-up push uses the workflow GITHUB_TOKEN, which cannot trigger new Actions runs (no loop) but still fires the webhooks that trigger Buildkite CI. The [dependabot skip] commit trailer lets dependabot rebase over the bot commit.

Dependabot bumps pins in python/requirements/** but cannot run the lock
file compilation that CI validates, so its PRs fail the
pip_compile_dependencies and raydepsets_compile_all_dependencies jobs
until someone regenerates the locks by hand.

Add a GitHub Actions workflow that triggers on pushes to
dependabot/pip/** branches, reruns both compilation steps
(ci.sh compile_pip_dependencies and raydepsets build --all-configs),
and pushes the regenerated lock files back onto the PR branch.

Both steps were verified to reproduce the committed lock files
byte-for-byte on a plain ubuntu host (the environment GitHub runners
provide): raydepsets --check passes using the bazel-provisioned uv, and
compile_pip_dependencies in a py3.11 venv produces no diff.

The follow-up push uses the workflow GITHUB_TOKEN, which cannot trigger
new Actions runs (no loop) but still fires the webhooks that trigger
Buildkite CI. The [dependabot skip] commit trailer lets dependabot
rebase over the bot commit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@elliot-barn
elliot-barn requested a review from a team as a code owner July 27, 2026 22:49
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core devprod labels Jul 28, 2026
@elliot-barn elliot-barn added the go add ONLY when ready to merge, run all tests label Jul 28, 2026
@elliot-barn
elliot-barn enabled auto-merge (squash) July 28, 2026 20:54
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 devprod 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