← Back to Pull requests

fix(health-events-analyzer): exclude IGNORE and RESTART_APP XIDs from RepeatedXIDErrorOnSameGPU #2340

Closed
unknown closed this pull request without merging on Nov 16, 2026 20:55 UTC
View on GitHub
unknown unknown commented on Nov 06, 2026 21:07 UTC
Author

Summary

Fixes #2339.

RepeatedXIDErrorOnSameGPU counts every XID except 31 and 45. An application crash-looping on a GPU raises its XID again on each restart, and each restart more than 3 minutes after the last starts a new burst. So about five restarts escalate a healthy GPU to a fatal CONTACT_SUPPORT event, and with the standard fault-quarantine rules the node gets cordoned.

Following review, this excludes the XIDs whose Xid catalogue immediate action is IGNORE or RESTART_APP, plus 45, instead of only 43 and 137. The exceptions are the retirement failures 157 and 161, which stay counted. The catalogue defines the two buckets as:

  • IGNORE: "No Action required"

  • RESTART_APP: "The application should be restarted. RESET_GPU or RESTART_BM is not deemed necessary."
  • Neither calls for a hardware action, so a repeat shouldn't escalate a healthy GPU. This follows #2064, which excluded 45 after #1710.

    The list has 68 codes, generated from the embedded Xid-Catalog.xlsx (column I) rather than written by hand:

  • RESTART_APP (48): 8, 11, 13, 25, 31, 32, 39, 40, 41, 60, 68, 69, 70, 71, 72, 75, 76, 77, 80, 82, 83, 84, 85, 86, 88, 89, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 139

  • IGNORE (19): 14, 37, 38, 43, 44, 63, 66, 67, 92, 93, 106, 107, 108, 121, 137, 141, 152, 153, 160

  • plus 45 (WORKFLOW_XID_45, already excluded)

  • kept counting: 157 (resource retirement failure) and 161 (channel retirement failure). They're IGNORE in the catalogue, but a repeat means repairs keep failing on the GPU, which is what this rule's CONTACT_SUPPORT is for.
  • Changes:

  • charts/health-events-analyzer/values.yaml:

  • - The list is used in the when condition, the current-event gate and the candidate match stage. The gate's two $ne checks became one $not/$in list, the form values-tilt.yaml already used.
    - The description and the excluded-codes comment explain the exclusion by catalogue bucket, and the comment asks to keep the three lists in sync.
  • values-tilt.yaml: the same three lists and the description.

  • docs/configuration/health-events-analyzer.md: the rule row now reads "Any XID whose Xid catalogue immediate action is not IGNORE or RESTART_APP (and not 45)".

  • tests/health_events_analyzer_test.go: comments only. The e2e test already expected XIDs 13 and 31 not to trigger this rule; the comments now give the exclusion as the reason.
  • The dedicated XID 31 and XID 13 rules are unchanged, as is the sticky-XID list (74, 79, 95, 109, 119).

    A few excluded codes could still be worth a second look, since a repeat might point at memory or link hardware: 63 (row remap event), 92 (high single-bit ECC rate), 94 (contained memory error) and 121 (corrected C2C errors). The catalogue also lists CONTACT_SUPPORT as the investigatory action for many of these codes. Happy to keep any of them counting too, as with 157 and 161.

    The branch also includes the merge of main from Nov 15.

    Type of Change


  • 🐛 Bug fix

  • ✨ New feature

  • 💥 Breaking change

  • 📚 Documentation

  • 🔧 Refactoring

  • 🔨 Build/CI
  • Component(s) Affected


  • Health Monitor

  • Core Service

  • Fault Management

  • Janitor

  • Deployment/Config

  • API/Interface

  • Preflight

  • Plugins

  • Documentation/CI

  • New Component

  • Multiple Components

  • Other
  • Testing


  • Tests pass locally

  • Manual testing completed

  • No breaking changes (or documented)
  • Local checks:

  • helm lint distros/kubernetes/nvsentinel: passes.

  • helm template of the parent chart: the rendered health-events-analyzer-config parses as TOML (22 rules), and all stages of RepeatedXIDErrorOnSameGPU parse as JSON. In both the chart and the Tilt config, the gate list and the match list each equal the 68-code list.

  • The rendered when expression, compiled and evaluated with cel.dev/cel-go v0.33.2 (the version in health-events-analyzer/go.mod):
  • | Event | Triggers |
    |---|---|
    | each of the 68 listed codes | no (68/68) |
    | 157, 161 and 48, 62, 64, 74, 79, 95, 119, 120, 154 | yes |
    | XID event with no code | yes |
    | non-XID check | no |

  • The e2e tests in tests/health_events_analyzer_test.go trigger this rule with XIDs 119, 120, 48 and 79, none of which are excluded. The only listed codes they use are 13 and 31, which were already expected not to trigger. I haven't run the e2e suite locally.
  • Manual testing: three nodes (H100 and H200) were fenced for days by this rule on XID 43 and 137 from an application crash-loop. All 24 GPUs had zero ECC double-bit errors, row-remap failures and uncorrectable remapped rows. One node passed dcgmi diag -r 3 on all 8 GPUs, and all three went back into service after a manual uncordon.

    Checklist


  • Self-review completed

  • Documentation updated (if needed)

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

    Summary by CodeRabbit

    Bug Fixes
    Repeated XID error detection now excludes a broader set of codes whose catalogue actions are IGNORE or RESTART_APP, including XIDs 13, 31, and 45. XIDs 157 and 161 continue to count toward the rule. The updated exclusions apply consistently to current events and historical candidate events; the same-GPU, 24-hour, burst, sticky-XID, and five-occurrence criteria are unchanged.

    Documentation
    Updated configuration guidance to describe the revised exclusion criteria and the XIDs that remain included.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: tanishagoyal2 Review duration: 14387m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2340"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 52% (MEDIUM) · Higher = larger blast radius
    52%
    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: 20.5% · Safe to merge
    20.5%