Skip to content

Agent guides CI: resolve the newest Node 24 for the openclaw legs - #15013

Merged
danielhanchen merged 2 commits into
mainfrom
ci-openclaw-node-floor
Oct 23, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
ci-openclaw-node-floor

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

connection (openclaw, stable) in Local agent guides CI fails on every PR that runs it (for example #15002 and #15005):

[install] npm install -g openclaw@latest attempt 3 failed
[install] curl|bash https://openclaw.ai/install.sh attempt 3 failed
[agent install failed] agent=openclaw: openclaw install failed (npm + curl)

Cause

[email protected], published 2026-10-22, raised its engines floor:

  • before: node >=24.16.0 <25 || >=26.1.0 (2026.10.5)
  • now: node >=24.22.1 <25 || >=26.12.1

The openclaw legs run actions/setup-node with node-version: '24', which takes the runner's cached Node. That is v24.21.0 on 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

  • Both setup-node steps that run openclaw now pass 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.py pins this for every job whose matrix runs openclaw. Removing check-latest fails it.

The workflow-wide tests (test_studio_smokes_do_not_trigger_on_the_training_library.py and the other workflow-parsing suites, 426 tests) still pass. The proof of the fix itself is this PR's own connection (openclaw, stable) leg.

[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.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T18:08:43.615572Z 5c06010 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +28 to +30
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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 5c06010578

ℹ️ 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".

@danielhanchen

Copy link
Copy Markdown
Member Author

Local differential with the official Node tarballs, running the same npm install -g openclaw@latest the workflow runs:

Node Result
24.21.0 (the runner's cached 24.x) exit 1, EBADENGINE ... [email protected] required: { node: '>=24.22.1 <25 || >=26.12.1' }
24.22.1 (what check-latest resolves from setup-node's manifest) exit 0

@danielhanchen
danielhanchen merged commit 3ab2c1e into main Oct 23, 2026
4 of 36 checks passed
@danielhanchen
danielhanchen deleted the ci-openclaw-node-floor branch October 23, 2026 18:23
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.

1 participant