← Back to Pull requests

fix: use the global logger provider by default #1252

Merged
huong8373tt-beep merged 2 files (16 lines) on Oct 26, 2026 12:11 UTC
View on GitHub
huong8373tt-beep huong8373tt-beep commented on Oct 25, 2026 01:36 UTC
Author

Fixes #1232

Summary

  • Use the currently registered global logger provider when OTelLogHandler is initialized without an explicit provider.

  • Add a regression test covering the default handler path and verifying that the registered provider receives the log record.
  • Validation

  • swift test: 1,241 tests passed, 44 skipped.

  • git diff --check: passed.
  • Disclosure

    Slai Agent Runtime assisted with analysis, implementation, and test execution. The account owner authorized this contribution and is responsible for the submission.

    Diff: 16 lines (+15 / -1) across 2 files Reviewer: aranhave Review duration: 2075m
    All Vouch review confidence checks passed
    Residual risk 0.11 = Change Risk (0.21) × (1 − Review Confidence (0.50)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.21 · 16 lines diff across 2 files
    0.21
    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: 50%
    50%
    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.170
    Real PR Conversation Timeline
    3 items
    aranhave aranhave approved these changes on Oct 26, 2026 11:47 UTC
    Approved Reviewer

    Approved these changes.

    kukushechkin kukushechkin approved these changes on Oct 26, 2026 12:08 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    huong8373tt-beep huong8373tt-beep
    Labels
    risk: low confidence: 50% 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: 21.4% (LOW) · Higher = larger blast radius
    21.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: 50% · Lower = rushed or shallow review
    50%
    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.7% · Safe to merge
    10.7%