Skip to content

fix(mac): allow five-minute node worker cold starts#106380

Merged
steipete merged 2 commits into
mainfrom
codex/extend-mac-node-worker-timeout
Jul 13, 2026
Merged

fix(mac): allow five-minute node worker cold starts#106380
steipete merged 2 commits into
mainfrom
codex/extend-mac-node-worker-timeout

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Cold macOS node-host startup can spend more than two minutes loading configured plugins and Codex supervision. The existing hard deadline can therefore leave an otherwise healthy Mac node disconnected.

Why This Change Was Made

Raise the existing bounded startup deadline from two minutes to five minutes. This keeps a hard failure bound while giving cold plugin discovery practical headroom.

User Impact

Mac nodes remain able to connect during slow cold starts instead of timing out while the worker is still healthy.

Evidence

  • swift test --package-path apps/macos --filter MacNodeHostWorkerTests — 8 tests passed
  • Signed local Mac app cold-started and connected to the remote Gateway with Codex app-server and CLI session catalogs advertised
  • Autoreview clean; no accepted/actionable findings

Follow-up to #106281.

@steipete steipete self-assigned this Jul 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Jul 13, 2026

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

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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b0378c9b4

ℹ️ 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 thread CHANGELOG.md Outdated

### Fixes

- **macOS node startup:** allow up to five minutes for cold node-host plugin discovery before timing out, preventing slow Codex-supervision startup from leaving the Mac disconnected.

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 Remove the normal-fix changelog entry

For a normal fix/direct-main change, this added CHANGELOG.md entry makes the change fail the repo's normal PR/prepare path: scripts/pr-lib/gates.sh rejects any root changelog diff unless OPENCLAW_ALLOW_ROOT_CHANGELOG_PR is set for explicit release automation, and AGENTS.md:279 says release generation owns this file. Keep the release-note context in the commit/PR text so release generation can derive the final changelog without blocking or duplicating notes.

Useful? React with 👍 / 👎.

@steipete
steipete merged commit 265f79e into main Jul 13, 2026
49 checks passed
@steipete
steipete deleted the codex/extend-mac-node-worker-timeout branch July 13, 2026 12:35
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

wm0018 pushed a commit to wm0018/openclaw that referenced this pull request Jul 14, 2026
* fix(mac): extend node worker startup timeout

* chore: keep release notes in PR
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
* fix(mac): extend node worker startup timeout

* chore: keep release notes in PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant