fix(security): bump openclaw to 2026.3.28#1144
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughUpdated OpenClaw version references from 2026.3.11 to 2026.3.28 across package metadata, Docker base image installation, and multiple test fixture stubs and generated JSON fixtures. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
test/install-preflight.test.js (1)
32-32: Consider centralizing the OpenClaw test version into one constant.
"2026.3.28"is repeated in many fixtures; a singleOPENCLAW_VERSIONconstant would make future security bumps safer and less error-prone.♻️ Refactor sketch
+const OPENCLAW_VERSION = "2026.3.28"; ... -echo "2026.3.28" +echo "${OPENCLAW_VERSION}" ... -`openclaw-2026.3.28.tgz` +`openclaw-${OPENCLAW_VERSION}.tgz`Also applies to: 146-146, 240-240, 382-382, 452-452, 510-510, 573-573, 691-691, 987-987, 1046-1046, 1465-1465, 1505-1505, 1546-1546
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@test/install-preflight.test.js` at line 32, Centralize the repeated OpenClaw version by adding a single constant OPENCLAW_VERSION (e.g., at the top of test/install-preflight.test.js) and replace all hard-coded "2026.3.28" literals in fixtures (the echo "2026.3.28" occurrences noted across the file) with that constant; update any helper/fixture-generation functions that emit the version so they reference OPENCLAW_VERSION (search for echo "2026.3.28" instances and replace them) to make future version bumps a single change.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Line 19: The package.json bump sets "openclaw": "2026.3.28" but
Dockerfile.base still installs openclaw@2026.3.11; update the Dockerfile.base
installation step that pins openclaw (the RUN/npm/yarn install line referencing
openclaw@2026.3.11) to use openclaw@2026.3.28 so all install paths match the
package.json pin.
---
Nitpick comments:
In `@test/install-preflight.test.js`:
- Line 32: Centralize the repeated OpenClaw version by adding a single constant
OPENCLAW_VERSION (e.g., at the top of test/install-preflight.test.js) and
replace all hard-coded "2026.3.28" literals in fixtures (the echo "2026.3.28"
occurrences noted across the file) with that constant; update any
helper/fixture-generation functions that emit the version so they reference
OPENCLAW_VERSION (search for echo "2026.3.28" instances and replace them) to
make future version bumps a single change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: e5f016ab-4216-41e5-aff0-0c862899477e
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (2)
package.jsontest/install-preflight.test.js
|
ugh. lovely. |
Addresses CVE-2026-22172 (CRITICAL, WebSocket auth bypass), CVE-2026-29087, and CVE-2022-25878 in openclaw@2026.3.11. Updated from 2026.3.11 to 2026.3.28 (latest stable). Test fixtures updated to match (NVBUG 6018704). Made-with: Cursor
a634c6a to
a6ae6b8
Compare
|
Addressed — All openclaw version references are now consistent across |
Summary
openclawfrom2026.3.11to2026.3.28(latest stable) (NVBUG 6018704)install-preflight.test.jsupdated to match new version (13 references)min_openclaw_versionis2026.3.0, so2026.3.28is compatibleTest plan
npm installsucceeds with no peer dependency conflictsnpx vitest run test/install-preflight.test.js— 46 tests passnemoclaw onboardcompletes with the new openclaw versionSummary by CodeRabbit