From 1fb6e92048d477f07ee45aae9b1bcafc73c9affc Mon Sep 17 00:00:00 2001 From: Elliot Barnwell Date: Mon, 17 Aug 2026 22:37:22 +0000 Subject: [PATCH] build(toolchain): bump anyscale CLI to 0.26.107 for k8s clouds Before 0.26.107, `workspace_v2 run_command` was unconditionally legacy port-22 SSH, which is unreachable on Kubernetes clouds (AKS/EKS/GKE); 0.26.107 prefers the HTTPS/WebSocket tunnel. On an Azure AKS workspace the old pin fails every run_command with `ssh: connect to host port 22: Connection timed out` while the CLI still exits 0, so a template's tests never run and the step passes. VM clouds are unaffected -- legacy SSH works there -- so nothing currently green goes red from this bump. The template-test pipeline reads this pin out of pyproject.toml (scripts/test-pipeline/render-template-pipeline.sh), so bumping here covers it. Lock regenerated with `uv lock`, as the pyproject header requires and `uv sync --frozen` in premerge enforces. Also bump the stale 0.26.87 in the local-testing reference, which is what a contributor copy-pastes when running rayapp by hand. Signed-off-by: Elliot Barnwell --- .../template/references/run-tests-locally-with-rayapp.md | 2 +- pyproject.toml | 4 +++- uv.lock | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.claude/skills/template/references/run-tests-locally-with-rayapp.md b/.claude/skills/template/references/run-tests-locally-with-rayapp.md index e1546a233..575971b86 100644 --- a/.claude/skills/template/references/run-tests-locally-with-rayapp.md +++ b/.claude/skills/template/references/run-tests-locally-with-rayapp.md @@ -21,7 +21,7 @@ curl -sL "https://github.com/ray-project/rayci/releases/download/${RAYAPP_VERSIO ```bash export ANYSCALE_HOST="https://console.anyscale-staging.com" # always staging — local tests + fixes never run against prod export ANYSCALE_CLI_TOKEN="" # from the staging console's API tokens -pip install anyscale==0.26.87 +pip install anyscale==0.26.107 # keep in sync with the pyproject.toml pin ``` **Always staging.** Local rayapp runs against **staging** (`https://console.anyscale-staging.com`) only — never prod, even if the CI run used prod. Use a staging `ANYSCALE_CLI_TOKEN` (ask the user if you don't have one). If staging itself fails — auth or the test — treat it as an **infra issue and ignore it**; don't chase the failure on prod. (Prod is read-only-exceptional — see `testing-template.md` Recovery.) diff --git a/pyproject.toml b/pyproject.toml index 0ce1187ed..d777cce4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,9 @@ requires-python = "==3.12.*" dependencies = [ "pre-commit==3.8.0", "nbconvert==7.17.1", - "anyscale==0.26.99", + # >= 0.26.107: earlier versions' `workspace_v2 run_command` only spoke + # legacy port-22 SSH, unreachable on Kubernetes clouds (AKS/EKS/GKE). + "anyscale==0.26.107", "pyyaml==6.0.3", "pydantic==2.13.3", ] diff --git a/uv.lock b/uv.lock index d8c18297f..a86dc8044 100644 --- a/uv.lock +++ b/uv.lock @@ -71,7 +71,7 @@ wheels = [ [[package]] name = "anyscale" -version = "0.26.99" +version = "0.26.107" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -103,9 +103,9 @@ dependencies = [ { name = "websockets" }, { name = "wrapt" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/fd/31/83e2d06eea4f54dabb4adcd40f86b57cf02c25631b7e0b56e9703fa1ec71/anyscale-0.26.99.tar.gz", hash = "sha256:a66aae2926258ba0d833ef08cc2488438c02ee21a1d5d0acef78fb35fa637ddd", size = 1746852, upload-time = "2026-04-29T22:16:39.364Z" } +sdist = { url = "https://files.pythonhosted.org/packages/4e/26/036b165b61938c47555a2ac1d94fbbdae1e03c7a4f2a1ab122e9dd285416/anyscale-0.26.107.tar.gz", hash = "sha256:12f9cba4199abbfefe2da32b3cfbce68b33762a513b74449bab22ba6e23e4ece", size = 1904394, upload-time = "2026-08-10T23:23:41.693Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/8e/6e/91070b6c337ff930ae3020cebc498088a16fa7af7b7a79d35762e9066ae1/anyscale-0.26.99-py3-none-any.whl", hash = "sha256:4f98715d3f16b110bc04dfe0d5762c5ee49c032633fcf459be3da6f0d9ed980b", size = 3143068, upload-time = "2026-04-29T22:16:36.633Z" }, + { url = "https://files.pythonhosted.org/packages/0f/8a/4bb68e987b24abc772e9707ca5fb54017d4b0fa4e4ba0061d579e4ea356a/anyscale-0.26.107-py3-none-any.whl", hash = "sha256:b6544af91f30091fd17a6fd317f29e0df62f243ceaed6b9e6d7e005283e8f978", size = 3442359, upload-time = "2026-08-10T23:23:39.744Z" }, ] [[package]] @@ -127,7 +127,7 @@ ray-bump = [ [package.metadata] requires-dist = [ - { name = "anyscale", specifier = "==0.26.99" }, + { name = "anyscale", specifier = "==0.26.107" }, { name = "nbconvert", specifier = "==7.17.1" }, { name = "pre-commit", specifier = "==3.8.0" }, { name = "pydantic", specifier = "==2.13.3" },