Preserve operation errors in table messages #686
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.32) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 123 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.288
Real PR Conversation Timeline
1 comments
"Review active on #686"
general
weight: 0.35
soltysh
/kind bug
When an apply, prune, or delete operation fails, the table can display a resource status message such as
Resource not foundinstead of the operation's error. The error is omitted from state snapshots, and the MESSAGE column only uses the resource status.Preserve the operation error in snapshots and give it priority in MESSAGE. Continue using status messages when no operation error exists. Add regression coverage for all three operations with status events arriving before and after the failure, plus successful-operation and child-resource controls. The six failure cases reproduce the bug on the base revision.
Fixes #518.
Validation: full unit tests with
go test -race -cover ./cmd/... ./pkg/...,go vet, the pinned golangci-lint 1.62.2 built with Go 1.24.0, license checks, and formatting checks passed. Tests against a live Kubernetes cluster were not run.The implementation, tests, and commit-message draft were prepared with assistance from generative AI.