← Back to Pull requests

[UI] Use Proper Deployment Status Information #382

Closed
unknown closed this pull request without merging on Mar 19, 2026 18:11 UTC
View on GitHub
unknown unknown commented on Mar 19, 2026 17:05 UTC
Author

Description

Motivation: It's confusing to have failed deployments, but the 'running' counter states all are running.
What changed: Updated the counter to only count running (and discovered) resources as "running". Updated status indicator to match current Deployment states, added amber for "Deploying".

Change Type

/kind fix

Changelog

``release-note
Fix deployment count in
/deployed page and update deployment indicators to match deployment state.
``

Additional Notes

Just a minor update, I noticed a check referred to non-existent DeploymentStateX (i think it checked "running", when it's "deployed"), so fixed that up to match the current deployment states defined.

In the screenshot, we see that we now display 1 deployment, and can verify since only one has the running indicator and the rest are failed deployments (meaning they aren't running).

<img width="1366" height="898" alt="Screenshot 2026-03-19 at 12 59 56 PM" src="https://github.com/user-attachments/assets/67a48b20-533b-4c75-aa6f-80397738d6be" />

Diff: 135 lines (+101 / -34) across 1 files Reviewer: inFocus7 Review duration: 66m
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.56) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 135 lines diff across 1 files
0.56
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Diff Size diff_size
0.294
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.056
Real PR Conversation Timeline
1 comments
"Review active on #382"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 55.6% (MEDIUM) · Higher = larger blast radius
55.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 21.9% · Safe to merge
21.9%