Repository navigation
feat(ui): show node fleet drift and wake status - #104735
Conversation
There was a problem hiding this comment.
💡 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".
|
|
||
| ### 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. |
There was a problem hiding this comment.
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 👍 / 👎.
|
Codex review: stale review; fresh review needed. Summary Next step |
|
Land-ready at exact head
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. |
|
Merged via squash.
|
* feat(ui): show node fleet drift and wake status * chore: keep release changelog ownership * test(ui): compare node drift labels explicitly
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
coreVersionanduiVersionfields. 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
tbx_01kx9kfp1g1wdj9keeawe5s8vt: focused Nodes inventory/UI suite — 32 passed.pnpm tsgo:uiandpnpm tsgo:test:uipassed.git diff --check