Repository navigation
gpu page: host health table with CPU/RAM/Disk bars and drill-down - #114
Merged
Thangnguyenvn98 merged 1 commit intoSep 3, 2026
Merged
Conversation
Add a host-level read layer (queryHostLatest, skip-scan latest row per hostname over host_snapshots) and fold it into /api/gpu/latest so the page keeps its single 30s SWR cadence. The Host Summary table becomes a GpuHostTable component: health dot, GPU util/temp, verbatim per-GPU memory mini-bars, and new CPU/RAM/Disk progress bars, where the Disk cell shows the worst alertable mount (workspace/images/data/system; 'other' never drives it) and tmpfs mounts are labeled RAM-backed. Rows expand to a drill-down with reporter status and last_error, node conditions (including a Cordoned marker for cordoned-but-Ready nodes), per-mount disk detail with errors, and per-GPU breakdown. Hosts whose reporter has not rolled out host metrics render em-dash empty states. Signed-off-by: Thang Nguyen <thang.nguyen@inferact.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Thangnguyenvn98
pushed a commit
that referenced
this pull request
Sep 3, 2026
Signed-off-by: Thang Nguyen <thang.nguyen@inferact.ai> Co-authored-by: Thang Nguyen <thang.nguyen@inferact.ai>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #113 (base retargets to
mainautomatically when it merges).What
The approved "table + drill-down" prototype design, rewritten properly on the real stack:
othermounts never drive it; tmpfs mounts are labeled RAM-backed/api/gpu/latestgains ahostsarray via a skip-scan latest-row-per-host query overhost_snapshots, keeping the page's single 30s SWR pollTest plan
npm test: 98/98 (24 new: query normalization, worst-alertable-disk selection, graceful-missing-host path, 11 renderToStaticMarkup component tests)npm run lint,tsc --noEmit,npm run buildall clean