Skip to content

build(deps): Ray 2.56.0 image base locks (base-only)#833

Merged
Aydin-ab merged 7 commits into
mainfrom
deps/ray-2.56.0-recompile
Jul 2, 2026
Merged

build(deps): Ray 2.56.0 image base locks (base-only)#833
Aydin-ab merged 7 commits into
mainfrom
deps/ray-2.56.0-recompile

Conversation

@Aydin-ab

@Aydin-ab Aydin-ab commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The base half of the Ray 2.56.0 depset bump: the ray2560 bundle + the two generated image base locks. Per-template expand entries stay on 2551 — each template's own bump PR repoints its entry (base-first rollout).

What

  • Add ray2560_py311_cu128 / ray2560_py312_cu128 bundles, attached to the base ray_depset compile entry alongside ray2551 (dual-version → 2.55.1 base locks kept for rollback).
  • Commit the generated ray_2.56.0_img_py311/py312.lock (compiled from Ray 2.56.0's published ray_img locks via update_deps.sh).
  • Fix the soruce_depsetsource_depset typo (langchain entry).

LLM base deferred (upstream not ready)

ray_llm stays ray2551-only: Ray's 2.56.0 LLM deplock isn't published yet (deplocks/llm/… 404s). rayllm_2.56.0 + the LLM templates (langchain, audio, multi_agent, llm_batch_inference_vision, …) are a follow-up once Ray ships it.

Notes

@Aydin-ab Aydin-ab force-pushed the deps/ray-2.56.0-recompile branch from bdb7bbf to 1c2c64d Compare July 1, 2026 23:04
@Aydin-ab Aydin-ab changed the title build(deps): repoint template depsets to Ray 2.56.0 (config only) build(deps): add Ray 2.56.0 base depset locks (base-only) Jul 1, 2026
Add the ray2560 py311/py312 bundles and attach them to the base ray_depset
compile entry (dual-version — ray2551 kept for rollback), and commit the
generated ray_2.56.0_img_py311/py312 base locks. Fix the soruce_depset typo.

ray_llm stays ray2551-only: Ray's 2.56.0 LLM deplock isn't published upstream
yet (fetch 404s), so rayllm_2.56.0 + the LLM templates are a follow-up. Per-
template expand entries stay on 2551 — each template's bump PR repoints its own
entry (base-first rollout).

Claude-Session: https://claude.ai/code/session_01HEiVRurDkXnrLAyCduiLdH
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
@Aydin-ab Aydin-ab force-pushed the deps/ray-2.56.0-recompile branch from 1c2c64d to 0b82663 Compare July 2, 2026 17:25
@Aydin-ab Aydin-ab changed the title build(deps): add Ray 2.56.0 base depset locks (base-only) build(deps): Ray 2.56.0 image base locks (base-only) Jul 2, 2026
elliot-barn and others added 5 commits July 2, 2026 19:02
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
The full-tree update_deps.sh run in f7d85fd recompiled the 2.55.1 image
locks from a clobbered base lock (the 2.56.0 base lock overwrote the
2.55.1 one in the shared /tmp/ray-deps scratch dir, since the fetched
filename was keyed only on Python minor, not Ray version). That floated
fastapi 0.121.0->0.133.0, pandas 1.5.3->2.3.3, and pulled in mmh3.

Restore both ray_2.55.1_img_py{311,312}.lock to match main. The scratch
filename collision itself is fixed separately by namespacing the fetched
base/LLM/constraints files by Ray version.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ratch collisions

update_deps.sh fetched each Ray base input into /tmp/ray-deps/ under a
filename keyed only on Python minor (+CUDA), not Ray version. When a
single run compiled multiple Ray versions sharing a Python minor (e.g.
ray2551_py311 + ray2560_py311), their pre_hooks clobbered each other's
scratch file, so one version's base lock fed the other's compile (see
prior 2.55.1 drift revert).

Namespace the local dest by ${RAY_VERSION} while keeping the remote
upstream filename version-agnostic (that's what the ray-<ver> tag
serves): split REMOTE_FILE vs LOCK_FILE/DEST_FILE in the lock/constraints
fetchers and update the matching requirements: paths in
template.depsets.yaml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Guarantees a hermetic scratch dir between runs so stale fetched base
locks can't linger. Belt-and-suspenders on top of the per-version
filename namespacing: pre_hooks re-fetch everything they need, and a
clean dir makes a genuinely-missing upstream file fail loudly instead of
silently reusing a stale copy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
@Aydin-ab Aydin-ab marked this pull request as ready for review July 2, 2026 22:53
@Aydin-ab Aydin-ab merged commit 9186783 into main Jul 2, 2026
4 checks passed
@Aydin-ab Aydin-ab deleted the deps/ray-2.56.0-recompile branch July 2, 2026 22:57
Aydin-ab added a commit that referenced this pull request Jul 2, 2026
…831)

The `/template` Ray-bump automation had no per-template depset recipe,
so the Ray 2.56.0 batch behaved inconsistently. This teaches the skill
(and the cursor preflight) how depsets interact with a bump. **Docs +
preflight only — no CI or lockfile changes** (those are #834 / #835 /
#833).

## Why
- **No per-template depset recipe** — `bump-ray-version.md` only pointed
at the whole-repo *batch* `upgrade-dependencies.md`; nothing covered
no-lock templates or how to read the repo-global `check-depsets` gate.
- **#819 was a workflow drop** — the cleanest 2.56.0 PR stuck because
the agent opened a draft and never dispatched `/test-template`.
- **`.cursor` was never the block** — `raydepsets` bundles `uv` and
recompiled fine in the cursor env; but preflight never smoke-tested the
toolchain, so a real breakage would only surface mid-bump.

## Changes
- `bump-ray-version.md` — per-template depset recipe (no-lock vs
has-lock), batch-vs-per-template preamble,
`check-depsets`-is-repo-global note, explicit **Done criteria**.
- `upgrade-dependencies.md` / `dependencies.md` — label the human/batch
path; document the gate's collateral behavior.
- `.cursor/preflight.sh` — depset-toolchain smoke test (fail at
preflight, not mid-bump).

## Testing
`pre-commit` on changed files passed. Docs/preflight only — no runtime
impact; validated end-to-end by retriggering `template-updater` against
the fixed skill.

---------

Signed-off-by: Aydin Abiar <aydin@anyscale.com>
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.

2 participants