Skip to content

fix(macos): show About in native connection settings - #153184

Merged
steipete merged 2 commits into
mainfrom
codex/mac-about-settings
Sep 19, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/mac-about-settings

Conversation

@steipete

@steipete steipete commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The macOS About panel still describes OpenClaw as a menu-bar companion and displays duplicated version information in an unstructured credits area. CI also exposed a CLI child that printed its expected validation error and then hung during Node shutdown.

User Impact

About OpenClaw now selects an About tab alongside Connection and Gateways in the native settings window, including when the Gateway is offline. It shows the current homepage tagline, app version/build, commit, build date, resource links, and Copy Build Info.

Why This Change Was Made

Reuse the existing native window and tab opener for app identity. The obsolete standalone panel is removed; app and Gateway preferences retain their existing owners. The description matches openclaw.ai: “The AI that really does things.”

The CI repair disables concurrent Sparkplug compilation in the shared test Node policy, alongside the existing Maglev setting. This removes the compiler shutdown path implicated by nodejs/node#54918. The update process tests use the existing diagnostic child runner with their original 60-second deadline, output limit, refusal checks, and unchanged-state assertions. The profiler delegates Node flags to that same owner, and the PTY watcher consumes it directly. Timeout diagnostics emit fixed native thread roles without disclosing process names.

Evidence

  • macOS app and test bundle build successfully; the focused ConnectionWindowTests passes, including selecting About with Debug disabled.
  • Native localization inventory/verification, focused Swift lint/format, documentation checks, and git diff --check pass.
  • The after capture is a signed, isolated native fixture rendering the production About view, Settings tab container, and opener. About opening and Gateways → About switching pass. Build details are synthetic; other tabs are inert fixtures, and no live Gateway is involved.
  • CI repair: 399 local tests passed (one platform skip), 358 tests passed on Linux with Node 24.19 and two CPUs, the 56-case profiler suite passed, and two real PTY cases passed. The diagnostic privacy cases also passed separately.
  • Selected changed gates pass for all nine CI-repair paths; independent review found no actionable P0–P2 findings in the native About change or final CI repair.
  • A real profiler invocation failed before the caller fix because Node rejects the Sparkplug flag in NODE_OPTIONS; the repaired invocation produces the selected test's grouped JSON report while preserving caller Node options.
  • The rare shutdown hang did not reproduce in isolated stress. Compiler tracing confirmed concurrent baseline jobs before the flag and none afterward; that demonstrates removal of the exposed path, not a captured before/after deadlock.
Before After
Before: standalone macOS About panel After: native About tab in Connection settings

@clawsweeper

clawsweeper Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: macos App: macos size: S maintainer Maintainer-authored PR labels Sep 19, 2026
@steipete
steipete marked this pull request as ready for review September 19, 2026 21:42
@steipete
steipete enabled auto-merge (squash) September 19, 2026 21:47
@clawsweeper

clawsweeper Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 19, 2026, 7:27 PM ET / 23:27 UTC (Revision 2).

ClawSweeper review

What this changes

Moves macOS About information into the native Connection window, adds Copy Build Info, and updates shared test-process handling to avoid concurrent compiler shutdown waits.

Merge readiness

✅ Ready for maintainer review

The change remains useful: current main and the latest release retain the old About panel. No actionable introduced defect was found, and this maintainer-owned PR is protected from cleanup closure.

Priority: P3
Reviewed head: fa4f9e0f8c684f8873c26fe9787c0ef7d1a76d2f

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A sound, bounded implementation with useful inspected visual evidence and clearly disclosed limits on the intermittent-hang claim.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots demonstrate the native About presentation using the production view, tab container, and opener in the declared isolated fixture. The body reports successful tab switching and a repaired real profiler invocation; compiler tracing supports removal of the exposed shutdown path, not a captured deadlock recovery. The maintainer-authored tooling change is exempt from the external-contributor proof gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected before/after screenshots demonstrate the native About presentation using the production view, tab container, and opener in the declared isolated fixture. The body reports successful tab switching and a repaired real profiler invocation; compiler tracing supports removal of the exposed shutdown path, not a captured deadlock recovery. The maintainer-authored tooling change is exempt from the external-contributor proof gate.
Evidence reviewed 9 items Current-main necessity: Fetched main still implements the standalone About panel with the old companion description and repeated build information; its test Node policy returns only --no-maglev.
Latest-release check: The supplied latest release, v2026.9.5, also retains the standalone About implementation; the requested presentation has not already shipped there.
Native owner and complete cutover: About now uses the existing connection-window opener and tab selection. The old panel is removed, build parsing remains owned by ArtifactBuildInfo, and both menu entrypoints retain their existing navigation owner.
Findings None None.
Security None None.

How this fits together

The macOS app routes menu actions into native windows and reads build information from its app bundle. Separately, repository test tooling supplies Node flags and supervises CLI test processes.

flowchart LR
  A[About menu action] --> B[Native window opener]
  B --> C[About tab]
  D[App bundle metadata] --> C
  C --> E[Build details and clipboard]
  F[Test commands] --> G[Shared Node policy]
  G --> H[Supervised test processes]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +31, Docs +1, Other +63. Total +95 across 20 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 6 100 69 +31
Docs 5 10 9 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 9 106 43 +63
Total 20 216 121 +95

Review metrics

Metric Value Why it matters
Production versus test growth Native app +62 lines; tooling −6; tests and test support +35 Production growth supplies the structured native view while replacing the old panel and reusing existing metadata and navigation owners.

Technical review

Best possible solution:

Keep native app identity in the existing offline window and retain one shared owner for test-process flags and diagnostics.

Do we have a high-confidence way to reproduce the issue?

Yes for the presentation problem: current source and the before screenshot establish the old panel and duplicated version display. The intermittent compiler shutdown hang has no deterministic reproduction in the supplied evidence.

Is this the best way to solve the issue?

Yes. The patch reuses native navigation and build metadata, removes the superseded panel, and centralizes test flags without weakening the existing state assertions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 741d65bcf703.

Labels

Label justifications:

  • P3: This is a bounded native presentation improvement with a supporting test-tooling repair and no established urgent user-facing regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected before/after screenshots demonstrate the native About presentation using the production view, tab container, and opener in the declared isolated fixture. The body reports successful tab switching and a repaired real profiler invocation; compiler tracing supports removal of the exposed shutdown path, not a captured deadlock recovery. The maintainer-authored tooling change is exempt from the external-contributor proof gate.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected before/after screenshots demonstrate the native About presentation using the production view, tab container, and opener in the declared isolated fixture. The body reports successful tab switching and a repaired real profiler invocation; compiler tracing supports removal of the exposed shutdown path, not a captured deadlock recovery. The maintainer-authored tooling change is exempt from the external-contributor proof gate.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected before/after screenshots demonstrate the native About presentation using the production view, tab container, and opener in the declared isolated fixture. The body reports successful tab switching and a repaired real profiler invocation; compiler tracing supports removal of the exposed shutdown path, not a captured deadlock recovery. The maintainer-authored tooling change is exempt from the external-contributor proof gate.

Evidence

What I checked:

  • Current-main necessity: Fetched main still implements the standalone About panel with the old companion description and repeated build information; its test Node policy returns only --no-maglev. (apps/macos/Sources/OpenClaw/AppNavigationActions.swift:125, 741d65bcf703)
  • Latest-release check: The supplied latest release, v2026.9.5, also retains the standalone About implementation; the requested presentation has not already shipped there. (apps/macos/Sources/OpenClaw/AppNavigationActions.swift:125, ec9c1a13db89)
  • Native owner and complete cutover: About now uses the existing connection-window opener and tab selection. The old panel is removed, build parsing remains owned by ArtifactBuildInfo, and both menu entrypoints retain their existing navigation owner. (apps/macos/Sources/OpenClaw/AppNavigationActions.swift:125, fa4f9e0f8c68)
  • Inspected visual proof: Both prepared images were inspected locally. The before image shows duplicated version information in the standalone panel; the after image shows the native About tab, updated description, resource links, build details, and copy button. The captured PR body identifies the after setup as a signed isolated fixture using the production view, container, and opener, with synthetic metadata and inert sibling tabs. (fa4f9e0f8c68)
  • Shared test policy and preserved assertions: The added Sparkplug flag stays in the shared Node argument policy. The profiler delegates arguments to run-vitest while preserving caller NODE_OPTIONS. Update tests retain their 60-second deadline, output bound, refusal checks, and unchanged-state assertions through the existing diagnostic child runner. (scripts/lib/vitest-process-env.mts:173, fa4f9e0f8c68)
  • Referenced dependency failure mechanism: The PR explicitly links Node's compiler shutdown report. The inspected upstream comment describes workers waiting for main-thread collection while shutdown joins those workers, and acknowledges that the deadlock is not reproducible on demand: Deadlock at process shutdown nodejs/node#54918 (comment). This supports the mitigation rationale, not proof that this PR reproduced and eliminated the deadlock.

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-19T21:48:40.259Z sha 88b308c :: needs maintainer review before merge. :: none

Open About beside Connection and Gateways without requiring a Gateway connection. Replace the obsolete menu-bar description with the current homepage tagline, retain build metadata and resource links, and add Copy Build Info.
Keep the original process deadlines and state assertions, use the existing diagnostic child runner, and route all test Node flags through the shared policy. Preserve caller NODE_OPTIONS in the profiler and report only fixed native thread roles.
@steipete
steipete force-pushed the codex/mac-about-settings branch from 88b308c to fa4f9e0 Compare September 19, 2026 23:18
@steipete steipete self-assigned this Sep 19, 2026
@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes scripts Repository scripts size: M and removed size: S labels Sep 19, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 19, 2026
@steipete
steipete merged commit 0a33027 into main Sep 19, 2026
185 checks passed
@steipete
steipete deleted the codex/mac-about-settings branch September 19, 2026 23:41
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 20, 2026
Open About beside Connection and Gateways without requiring a Gateway connection. Replace the obsolete menu-bar description with the current homepage tagline, retain build metadata and resource links, and add Copy Build Info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos cli CLI command changes docs Improvements or additions to documentation maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant