Skip to content

feat: upgrade openclaw to 4.26#899

Merged
su8su merged 12 commits intomainfrom
feat/upgrade_openclaw_version_4.21
Apr 28, 2026
Merged

feat: upgrade openclaw to 4.26#899
su8su merged 12 commits intomainfrom
feat/upgrade_openclaw_version_4.21

Conversation

@hazeone
Copy link
Copy Markdown
Contributor

@hazeone hazeone commented Apr 23, 2026

Summary

The OpenClaw gateway startup process is significantly slower than in the previous version. On macOS development mode, it takes roughly twice as long compared to ClawX 0.3.10. We should either skip this version or investigate what’s causing the slowdown in the startup process.

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other

Validation

dev local test

Checklist

  • I ran relevant checks/tests locally.
  • I updated docs if behavior or interfaces changed.
  • I verified there are no unrelated changes in this PR.

@su8su su8su changed the title [Draft]chore(dependencies): update package versions in package.json and pnpmlock.yaml feat: upgrade openclaw to 4.26 Apr 28, 2026
@su8su su8su marked this pull request as ready for review April 28, 2026 06:53
Copy link
Copy Markdown
Contributor

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

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: 904efd19f6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread electron/utils/paths.ts
Comment on lines +236 to +237
.sort((left, right) => right.localeCompare(left));
return candidates[0] ?? null;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Badge Pick packaged runtime deterministically by version/recency

This chooser sorts candidate runtime directories lexicographically and takes the first entry, which can select an older OpenClaw build whenever more than one openclaw-* directory is present (for example, openclaw-2026.4.9-* sorts ahead of openclaw-2026.4.26-*). In that case the app can boot an outdated runtime despite a newer staged one being available, causing unexpected behavior/version mismatches; the selection should be based on parsed version/marker metadata or filesystem recency instead of path string order.

Useful? React with 👍 / 👎.

@su8su su8su merged commit 9c930b2 into main Apr 28, 2026
7 checks passed
@su8su su8su deleted the feat/upgrade_openclaw_version_4.21 branch April 28, 2026 07:04
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.

2 participants