Skip to content

feat(ui): show node fleet drift and wake status - #104735

Merged
steipete merged 3 commits into
mainfrom
codex/node-fleet-status
Jul 11, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/node-fleet-status

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Nodes page shows each node's reported version but does not compare the node core against the connected Gateway. Operators also see that a Windows node is offline without learning that the Gateway cannot wake it remotely.

Why This Change Was Made

The Control UI now carries the Gateway server version into the unified inventory and preserves the node catalog's split coreVersion and uiVersion fields. Drift compares the Gateway only with the node core version, with the shipped single-version fallback retained for legacy macOS/Linux/Windows headless nodes.

Status chips are restricted to approved paired node records. Version drift uses direction-neutral remediation because either side can be newer. Offline Windows nodes show that manual power or network restoration is required; browser/operator devices, pending approvals, unapproved nodes, connected Windows nodes, and version-aligned nodes remain unflagged.

User Impact

Operators can spot mixed node/Gateway core versions directly in the fleet view and understand the next action for an offline Windows node without confusing non-node devices or pairing requests.

Evidence

  • Blacksmith Testbox tbx_01kx9kfp1g1wdj9keeawe5s8vt: focused Nodes inventory/UI suite — 32 passed.
  • Blacksmith Testbox: pnpm tsgo:ui and pnpm tsgo:test:ui passed.
  • Coverage includes modern split core/UI versions, legacy desktop version fallback, older/newer/aligned nodes, offline/online Windows nodes, pending and unapproved nodes, and an offline Windows operator-only device.
  • git diff --check
  • Fresh autoreview: no accepted or actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 11, 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: 84fb07629f

ℹ️ 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

- **Node fleet status:** show node-to-Gateway version drift in the Control UI and mark offline Windows nodes that require a manual wake or network restore.

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 release-only changelog entry

For this non-release feature commit, adding a manual CHANGELOG.md entry bypasses the repo's release-generation flow; root AGENTS.md says CHANGELOG.md is release-only and normal user-visible fixes/features should carry release-note context in the PR body or direct commit instead. Since this commit already includes that context in its message, this line should be removed.

Useful? React with 👍 / 👎.

@clawsweeper

clawsweeper Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 3b16dde9cb2ec3834ff2cbfdec421eece5ae249c, but the PR head is now 01ec1b728457a7393f92ad75ceb391acb968ab7f. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready at exact head 01ec1b728457a7393f92ad75ceb391acb968ab7f.

  • Blacksmith Testbox-through-Crabbox tbx_01kx9kfp1g1wdj9keeawe5s8vt: 32 focused Nodes UI tests passed.
  • pnpm tsgo:ui and pnpm tsgo:test:ui passed on the same Testbox.
  • Targeted oxlint and oxfmt checks passed; the exact-head lint comparator failure was fixed and re-proven.
  • Fresh autoreview: no accepted/actionable findings.
  • Hosted CI run 29170376971: all jobs completed successfully on the exact head.
  • Repository-native OPENCLAW_TESTBOX=1 scripts/pr prepare-run 104735 passed with the review artifacts validated.

Known proof gap: the offline Windows state is covered by the rendered Control UI regression tests because the physical Windows node is currently offline; no remote wake capability exists to exercise live.

@steipete
steipete merged commit e37e4da into main Jul 11, 2026
76 checks passed
@steipete
steipete deleted the codex/node-fleet-status branch July 11, 2026 22:28
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 12, 2026
* feat(ui): show node fleet drift and wake status

* chore: keep release changelog ownership

* test(ui): compare node drift labels explicitly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant