feat: show what a failing object says about itself (#86) - #122
Merged
Conversation
The behold half of chant#1401, and #86's last criterion. chant#1397 made the status word honest — a crashlooping Pod reports `CrashLoopBackOff` rather than `Running`. chant#1401 adds the part that says what to do about it, and this renders it: health degraded status Unschedulable condition PodScheduled=Unschedulable: 0/3 nodes are available: 1 node(s) had untolerated taint. Conditions sit with health and status rather than among the attributes below, because that IS the answer — `Unschedulable` is the reason, and the message is what a person acts on. Rendering them through the generic attribute loop would have printed a JSON array at the bottom of the panel, which is where you put something nobody needs to read. One line each, in the degraded colour. chant only sends conditions NOT in their happy state, so everything here is worth reading and there is nothing to filter. Absent on every substrate that records none, where the panel is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FBkcXzqjyY1YKWdaDFuqKs
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.
The behold half of chant#1401, and #86's last criterion.
chant#1397 made the status word honest — a crashlooping Pod reports
CrashLoopBackOffrather thanRunning. chant#1401 adds the part that says what to do about it. This renders it:Conditions sit with health and status rather than among the attributes below, because that is the answer —
Unschedulableis the reason, and the message is what a person acts on. Rendering them through the generic attribute loop would have printed a JSON array at the bottom of the panel, which is where you put something nobody needs to read.One line each, in the degraded colour. chant only sends conditions not in their happy state, so everything here is worth reading and there's nothing to filter. Absent on every substrate that records none, where the panel is unchanged.
395 tests pass, tsc clean, build clean.
Stacked behind chant#1402 landing — harmless before it, since an absent field renders nothing.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FBkcXzqjyY1YKWdaDFuqKs