feat(ui): operator triage board + richer pods columns - #24
Merged
Conversation
Triage board (`:triage`/`:issues [namespace|all]`): a live, worst-first board of only the pods needing an operator's attention — CrashLoopBackOff/OOMKilled/ ImagePullBackOff/Error (critical), Pending/NotReady/restart-hot ≥3 (warning). Healthy pods are omitted; the title summarizes `N critical · M warning`; capped at 500 rows worst-first. Rebuilt from store state each frame; navigate j/k+g/G, esc closes. This is the daily-driver "is anything wrong, and where" view. Pods table gained the columns operators expect: RST · CPU · %CPU/R · %CPU/L · MEM · %MEM/R · %MEM/L · IP · NODE. RST (container restarts) colors yellow at ≥3, red at ≥10. Metric headers are the explicit %CPU/R-style form. Model: add `restarts`, `ready`, and `pod_ip` to the lean `Extracted` (the crashloop/readiness/IP signals the status string and prior columns lacked). Also fixed `classify_status_severity` to flag `*BackOff`/`ImagePullBackOff` as critical (was silently Ok) — corrects table coloring too. Tests: restart/readiness/IP extraction; triage selection + worst-first ordering + counts; pods table renders RST/IP/NODE and the percentage columns. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
The operator daily-driver view:
:triage [namespace|all](alias:issues) — a live, worst-first board of only the pods that need attention.[XX]: CrashLoop/OOM/ImagePull/Error/Evicted/Failed[!!]: Pending, NotReady (Running but failing readiness — JVM slow-start), restart-hot (≥3)Pods table columns
Added
RST · CPU · %CPU/R · %CPU/L · MEM · %MEM/R · %MEM/L · IP · NODE.RST(restarts) colors yellow ≥3, red ≥10. Metric headers are the explicit%CPU/R-style form.Model / fixes
Extractedgainsrestarts,ready,pod_ip(the crashloop/readiness/IP signals the status string and prior columns lacked).classify_status_severityto flag*BackOff/ImagePullBackOffas critical (was silentlyOk) — also corrects table coloring.Testing
make validategreen (106 tests + release build)🤖 Generated with Claude Code