Skip to content

[Self-review] Hosts monitor page (#2292)#1

Closed
ttpss930141011 wants to merge 6 commits into
masterfrom
dev-days/2292-hosts-monitor-page
Closed

[Self-review] Hosts monitor page (#2292)#1
ttpss930141011 wants to merge 6 commits into
masterfrom
dev-days/2292-hosts-monitor-page

Conversation

@ttpss930141011

Copy link
Copy Markdown
Owner

Self-review PR (fork-internal)

This PR is for self-review on my own fork before opening against AcademySoftwareFoundation/OpenCue. Implements AcademySoftwareFoundation#2292 (Hosts monitor page).

What this change does

Adds the /hosts route — a Monitor Hosts page for CueWeb (web equivalent of CueGUI's CueCommander → Monitor Hosts). CueWeb previously had no hosts page (the sidebar /hosts link 404'd).

  • New /hosts page: loads hosts via getHosts(), auto-refreshes every 30s.
  • Sortable + filterable table: Name, State, Locked, NIMBY, Cores (Idle/Total), Memory (Idle/Total), Free /mcp. Numeric columns sort by underlying value, not formatted string. State/Locked use the existing Status badge.
  • Loading / empty / error states.
  • Host type widened; small KB-string parse/format helpers with unit tests.
  • SimpleDataTable gains 3 backward-compatible optional props (disableContextMenu, filterPlaceholder, emptyState) so a read-only table can reuse it. Existing jobs/layers/frames callers unchanged (full suite 48/48 passes).

Self-review checklist

  • Review the diff in Files changed (6 files, +326/-24)
  • Confirm SimpleDataTable change is backward-compatible (no jobs/layers/frames regression)
  • Confirm columns/format/sort look right
  • Confirm no stray files (.env, docker-compose.override.yml, docs/) are included
  • When satisfied: close this PR and open against upstream AcademySoftwareFoundation/OpenCue:master

Scope

Read-only by design. Host actions (lock/tag/reboot/NIMBY) and server-side filtering are sibling issues (AcademySoftwareFoundation#2293AcademySoftwareFoundation#2296), out of scope here.

@ttpss930141011 ttpss930141011 force-pushed the dev-days/2292-hosts-monitor-page branch 2 times, most recently from dbe0b55 to 836cfa7 Compare June 3, 2026 20:08
@ttpss930141011 ttpss930141011 force-pushed the dev-days/2292-hosts-monitor-page branch from 836cfa7 to 189942b Compare June 3, 2026 20:38
@ttpss930141011

Copy link
Copy Markdown
Owner Author

Self-review done; opened the real PR against upstream (AcademySoftwareFoundation#2391).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant