← Back to Pull requests

Use `_swift_clockSuspending_getTime()` by default for test timing. #2016

Merged
grynspan merged 4 files (89 lines) on Nov 30, 2026 17:08 UTC
View on GitHub
grynspan grynspan commented on Nov 07, 2026 00:59 UTC
Author

_swift_clockSuspending_getTime() is now in the PAL, so we should use it by default (implementations can provide overriding replacement functions as needed.)

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: 89 lines (+64 / -25) across 4 files Reviewer: stmontgomery Review duration: 34089m
    All Vouch review confidence checks passed
    Residual risk 0.10 = Change Risk (0.34) × (1 − Review Confidence (0.70)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.34 · 89 lines diff across 4 files
    0.34
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.54 · 1 substantive comment(s)
    0.54
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    70%
    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.269
    Real PR Conversation Timeline
    3 items
    grynspan grynspan commented on Nov 07, 2026 01:09 UTC
    Author
    stmontgomery stmontgomery approved these changes on Nov 13, 2026 18:01 UTC
    Approved Reviewer

    Approved these changes.

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