← Back to Pull requests

Cancelled tests should be reported as skipped in JUnit XML. #2067

Merged
grynspan merged 2 files (82 lines) on Nov 30, 2026 23:06 UTC
View on GitHub
grynspan grynspan commented on Nov 28, 2026 18:58 UTC
Author

This PR ensures that a test that is cancelled after starting is reported in XML output as having been skipped, consistent with JUnit's behaviour when a JUnit test is aborted (their analogue of our cancellation).

If a test is cancelled after an issue is recorded, the test is not reported as skipped (again, consistent with JUnit output).

Resolves #1979.

Checklist:

  • Code and documentation should follow the style of the Style Guide.

  • If public symbols are renamed or modified, DocC references should be updated.
  • Diff: 82 lines (+77 / -5) across 2 files Reviewer: briancroom Review duration: 3127m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.31) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.31 · 82 lines diff across 2 files
    0.31
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.00 · 1 substantive comment(s)
    0.00
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    44%
    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
    Shallow Review Depth shallow_review_depth
    0.350
    Diff Size diff_size
    0.264
    Real PR Conversation Timeline
    2 items
    briancroom briancroom approved these changes on Nov 30, 2026 15:42 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    grynspan grynspan
    Labels
    risk: low confidence: 44.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: 30.9% (LOW) · Higher = larger blast radius
    30.9%
    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: 44.8% · Lower = rushed or shallow review
    44.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: 17.1% · Safe to merge
    17.1%