← Back to Pull requests

fix(health-events-analyzer): exclude XID 45 from RepeatedXIDErrorOnSameGPU #1712

Closed
unknown closed this pull request without merging on Sep 02, 2026 08:18 UTC
View on GitHub
unknown unknown commented on Sep 01, 2026 11:24 UTC
Author

Summary

Fixes #1710, taking option 1 as agreed: exclude XID 45 from RepeatedXIDErrorOnSameGPU the
same way XID 31 already is, rather than adding a broad isfatal predicate.

Why

The rule is described as detecting fatal XIDs repeating on a GPU and carries
CONTACT_SUPPORT. Its only code exclusion was XID 31, so XID 45 was in scope and repeats were
escalated to CONTACT_SUPPORT with isFatal: true.

The shipped Xid-Catalog.xlsx resolves XID 45 (ROBUST_CHANNEL_PREEMPTIVE_REMOVAL) as:

Solo: RESTART_FM / Not Solo: IGNORE (follow other Xid)

with trigger condition "logged when the user application aborts and the kernel driver tears
down the GPU appli...". A repeat is by definition not solo, so the rule fired exactly where
the catalogue says to ignore. It is also inconsistent with the detector, which maps XID 45 to
NONE with isFatal: false.

Measured on a 288 node GB200 fleet: 672 CONTACT_SUPPORT events with isFatal: true
across 3 nodes in 3 hours, from 1,232 XID 45 detector events on the worst node. Over 2 days the
collection holds 168,924 XID 45 events against 10 of every other XID combined. With
fault-quarantine enabled those nodes would be cordoned and drained continuously.

Change

One predicate, in both files that define the rule:

-{"$ne": [{"$arrayElemAt": ["$healthevent.errorcode", 0]}, "31"]},
+{"$not": [{"$in": [{"$arrayElemAt": ["$healthevent.errorcode", 0]}, ["31", "45"]]}]},

A $not/$in list rather than a second $ne, so the next per-XID decision is one list entry,
which is how you framed it on the issue. values-tilt.yaml gets the same change so Tilt and
e2e behaviour match production.

Verification

  • The predicate was run against a live MongoDB, not just reasoned about. Same match stage,

  • 2 days of real data: the control returns 45, 44, 145.RLW_SRC_TRACK,
    149.NETIR_BER_EVENT; with the predicate, 45 is dropped and the rest retained. Removed
    exactly 45. No aggregation error, so the $not/$in form is valid on the server.
  • YAML parses and the edited stage is valid JSON in both files.

  • Confirmed these are the only two files defining the rule and no $ne ... "31" copy remains.

  • Confirmed extractXidDetectorConfig keys off a rule named RepeatedXidError, which does not

  • exist in the shipped config, so the PostgreSQL burst-detector path is unaffected.
  • Confirmed the existing e2e tests never use XID 45, so nothing there changes behaviour. The

  • test at tests/health_events_analyzer_test.go:379 already documents the XID 31 exclusion as
    precedent for this shape.

    On an e2e test

    I did not add one. The natural case is sending 5 XID 45 events and asserting
    EnsureNodeConditionNotPresent, mirroring the XID 31 note above, but e2e-test-ci depends on
    tilt-ci and I have no way to run it here. I would rather not ship an e2e test I could not
    execute. Happy to add it if you want it, or if CI will exercise it on this branch.

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

    Summary by CodeRabbit

  • Bug Fixes

  • - Improved repeated XID event detection by excluding XID 31 and XID 45 from candidate events.
    - Reduced false positives from preemptive channel cleanup and separately handled events being flagged as repeated errors.
    - Applied consistent filtering across supported deployment configurations.

  • Documentation

  • - Updated configuration guidance to explain how XID 31 and XID 45 are handled.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 446 lines (+334 / -112) across 5 files Reviewer: tanishagoyal2 Review duration: 1254m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 446 lines diff across 5 files
    0.45
    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.365
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1712"
    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: 45.4% (MEDIUM) · Higher = larger blast radius
    45.4%
    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: 17.9% · Safe to merge
    17.9%