Conversation
There was a problem hiding this comment.
💡 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".
| .sort((left, right) => right.localeCompare(left)); | ||
| return candidates[0] ?? null; |
There was a problem hiding this comment.
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 👍 / 👎.
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
Validation
dev local test
Checklist