Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Agent guides CI: resolve the newest Node 24 for the openclaw legs (#15013)
Daniel Han3ab2c1e60a82
diff --git a/.github/workflows/local-agent-guides-ci.yml b/.github/workflows/local-agent-guides-ci.ymlindex 14be9917cff..02aec4af9eb 100644--- a/.github/workflows/local-agent-guides-ci.yml+++ b/.github/workflows/local-agent-guides-ci.yml@@ -228,6 +228,9 @@ jobs:- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0with:node-version: ${{ matrix.node || '22' }}+ # openclaw@latest tracks the newest Node 24 in its engines floor (2026.10.6 wants+ # >=24.22.1), and '24' alone resolves to the runner's cached 24.x, which lags.+ check-latest: ${{ matrix.agent == 'openclaw' }}- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0with:@@ -467,6 +470,9 @@ jobs:- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0with:node-version: ${{ matrix.node || '22' }}+ # openclaw@latest tracks the newest Node 24 in its engines floor (2026.10.6 wants+ # >=24.22.1), and '24' alone resolves to the runner's cached 24.x, which lags.+ check-latest: ${{ matrix.agent == 'openclaw' }}- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0with:diff --git a/.github/workflows/workflow-trigger-lint.yml b/.github/workflows/workflow-trigger-lint.ymlindex d6aa54e1189..7d0900c63f2 100644--- a/.github/workflows/workflow-trigger-lint.yml+++ b/.github/workflows/workflow-trigger-lint.yml@@ -135,6 +135,7 @@ jobs:tests/studio/test_absorbed_lanes_still_run.py \tests/studio/test_lint_ci_scans_committed_files.py \tests/studio/test_agent_guides_verdicts.py \+ tests/studio/test_agent_guides_openclaw_node.py \tests/studio/test_apt_steps_are_bounded.py \tests/studio/test_backend_ci_matrix.py \tests/studio/test_backend_ci_parallel_isolation.py \diff --git a/tests/studio/test_agent_guides_openclaw_node.py b/tests/studio/test_agent_guides_openclaw_node.pynew file mode 100644index 00000000000..ef3a737d8cf--- /dev/null+++ b/tests/studio/test_agent_guides_openclaw_node.py@@ -0,0 +1,42 @@+# SPDX-License-Identifier: AGPL-3.0-only+# Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0++"""The openclaw legs of the agent-guides workflow resolve the newest Node 24, not the runner's cache.+[email protected] raised its engines floor to node >=24.22.1 while ubuntu-latest still cached+24.21.0, so `npm install -g openclaw@latest` and the curl installer both refused and every+`connection (openclaw, ...)` leg failed before reaching Studio.+"""++from pathlib import Path++import yaml++WORKFLOW = (+ Path(__file__).resolve().parents[2] / ".github" / "workflows" / "local-agent-guides-ci.yml"+)+++def _openclaw_jobs():+ jobs = yaml.safe_load(WORKFLOW.read_text(encoding = "utf-8"))["jobs"]+ for name, job in jobs.items():+ matrix = (job.get("strategy") or {}).get("matrix") or {}+ if "openclaw" in (matrix.get("agent") or []):+ yield name, job, matrix+++def test_openclaw_legs_ask_setup_node_for_the_latest_release():+ found = list(_openclaw_jobs())+ assert found, "no job in local-agent-guides-ci.yml runs the openclaw agent"+ for name, job, matrix in found:+ include = [row for row in matrix.get("include") or [] if row.get("agent") == "openclaw"]+ assert include and str(include[0].get("node", "")).startswith("24"), name+ steps = [+ s for s in job["steps"] if str(s.get("uses", "")).startswith("actions/setup-node@")+ ]+ assert len(steps) == 1, name+ check = str((steps[0].get("with") or {}).get("check-latest", ""))+ assert "matrix.agent == 'openclaw'" in check, (+ f"{name}: setup-node must set check-latest for openclaw, or '24' resolves to the "+ "runner's cached Node, which can sit below openclaw@latest's engines floor"+ )