Repository navigation
Agent guides CI: resolve the newest Node 24 for the openclaw legs - #15013
Conversation
[email protected] (2026-10-22) raised its engines floor to node >=24.22.1. setup-node with node-version '24' takes the runner's cached 24.21.0, so npm refuses openclaw@latest, the curl installer fails the same way, and every connection (openclaw, ...) leg fails at install. Set check-latest for openclaw so setup-node resolves the newest 24.x, and pin it with a test.
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 25f02f9068
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 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" |
There was a problem hiding this comment.
Add the new guard to the unfiltered pytest invocation
Because this new module reads a workflow file, the existing test_every_workflow_reading_guard_runs_in_the_unfiltered_job check in tests/studio/test_workflow_guards_run_unfiltered.py:59-65 requires it to be listed in the Workflow guard suites invocation. This commit does not add test_agent_guides_openclaw_node.py to .github/workflows/workflow-trigger-lint.yml, so that unfiltered job will fail on every PR before this regression guard can provide useful coverage.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 5c06010: added tests/studio/test_agent_guides_openclaw_node.py to the Workflow guard suites invocation in workflow-trigger-lint.yml. test_every_workflow_reading_guard_runs_in_the_unfiltered_job passes with it and fails without it.
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Local differential with the official Node tarballs, running the same
|
connection (openclaw, stable)in Local agent guides CI fails on every PR that runs it (for example #15002 and #15005):Cause
[email protected], published 2026-10-22, raised its engines floor:node >=24.16.0 <25 || >=26.1.0(2026.10.5)node >=24.22.1 <25 || >=26.12.1The openclaw legs run
actions/setup-nodewithnode-version: '24', which takes the runner's cached Node. That isv24.21.0on the current ubuntu-latest image, so npm refuses the install and the curl installer fails the same way. Node 24.22.1 was released on 2026-10-20 and is in setup-node's manifest; the runner image has not picked it up yet.Nothing in the repo changed. The upstream package moved, so the workflow is what needs fixing.
Fix
check-latest: ${{ matrix.agent == 'openclaw' }}, so'24'resolves to the newest 24.x release instead of the cached one. The other agents keep the cached Node 22 as before.tests/studio/test_agent_guides_openclaw_node.pypins this for every job whose matrix runs openclaw. Removingcheck-latestfails it.The workflow-wide tests (
test_studio_smokes_do_not_trigger_on_the_training_library.pyand the other workflow-parsing suites, 426 tests) still pass. The proof of the fix itself is this PR's ownconnection (openclaw, stable)leg.