← Back to Pull requests

fix: Fix show script to display the correct node conditions. #809

Closed
unknown closed this pull request without merging on Feb 06, 2026 08:22 UTC
View on GitHub
unknown unknown commented on Feb 05, 2026 23:46 UTC
Author

Summary

Previously the script always printed No health event conditions found (cluster is healthy) even when conditions existed after injecting the error.<br>
This fix updates 01-show-cluster.sh so the "Node Conditions (Health Events)" section shows the right conditions and gives a clear health summary.

Output before changes:

[INFO] Checking for health-related node conditions...

Node: nvsentinel-demo-worker
GpuDcgmConnectivityFailure	False	No Health Failures
GpuNvswitchFatalWatch	False	No Health Failures
GpuSmWatch	False	No Health Failures
GpuDriverWatch	False	No Health Failures
GpuNvlinkWatch	False	No Health Failures
GpuPcieWatch	False	No Health Failures
GpuPmuWatch	False	No Health Failures
GpuInforomWatch	True	ErrorCode:DCGM_FR_CORRUPT_INFOROM GPU:0 A corrupt InfoROM has been detected in GPU 0. Flash the InfoROM to clear this corruption. Recommended Action=COMPONENT_RESET;
GpuMcuWatch	False	No Health Failures
GpuMemWatch	False	No Health Failures
  ℹ️  No health event conditions found (cluster is healthy)

Output after the fix:

[INFO] Checking for health-related node conditions...

Node: nvsentinel-demo-worker
GpuDcgmConnectivityFailure	False	No Health Failures
GpuNvswitchFatalWatch	False	No Health Failures
GpuPcieWatch	False	No Health Failures
GpuSmWatch	False	No Health Failures
GpuInforomWatch	True	ErrorCode:DCGM_FR_CORRUPT_INFOROM GPU:0 A corrupt InfoROM has been detected in GPU 0. Flash the InfoROM to clear this corruption. Recommended Action=COMPONENT_RESET;
GpuMemWatch	False	No Health Failures
GpuNvlinkWatch	False	No Health Failures
GpuPmuWatch	False	No Health Failures
GpuDriverWatch	False	No Health Failures
GpuMcuWatch	False	No Health Failures

  ⚠️  Health issues detected (see conditions above)
  

<!-- Brief description of your changes -->

Type of Change


  • 🐛 Bug fix

  • ✨ New feature

  • 💥 Breaking change

  • 📚 Documentation

  • 🔧 Refactoring

  • 🔨 Build/CI
  • Component(s) Affected


  • Core Services

  • Documentation/CI

  • Fault Management

  • Health Monitors

  • Janitor

  • Other: ____________
  • Testing


  • Tests pass locally

  • Manual testing completed

  • No breaking changes (or documented)
  • Checklist


  • Self-review completed

  • Documentation updated (if needed)

  • Ready for review
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Bug Fixes
    Improved node health condition display and handling in the cluster demo so per-node conditions are captured and shown more reliably.
    Script now continues gracefully on node fetch errors and reflects filtered condition results correctly.
    Final health summary updated to clearly indicate either detected health issues or a healthy state.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 365 lines (+273 / -92) across 4 files Reviewer: cbumb Review duration: 516m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.43) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 365 lines diff across 4 files
    0.43
    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%
    56%
    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.353
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #809"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    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: 42.7% (MEDIUM) · Higher = larger blast radius
    42.7%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 18.5% · Safe to merge
    18.5%