← Back to Pull requests

[SPARK-62433] Upgrade swift-system to 1.9.0 #629

Closed
unknown closed this pull request without merging on Nov 29, 2026 01:09 UTC
View on GitHub
unknown unknown commented on Nov 28, 2026 23:59 UTC
Author

What changes were proposed in this pull request?

This PR aims to upgrade swift-system from 1.8.1 to 1.9.0.

  • Package.swift: bump the exact pin of swift-system to 1.9.0.

  • README.md: update the listed dependency version to 1.9.0 (November 2026).
  • Why are the changes needed?

    To bring the latest bug fixes.

  • https://github.com/apple/swift-system/releases/tag/1.9.0 (2026-11-12)

  • - https://github.com/apple/swift-system/pull/421 (Use a thread-safe strerror in Errno.description)
    - https://github.com/apple/swift-system/pull/412 (fix(FilePath.ComponentView): prevent trailing separator when replacing suffix)
    - https://github.com/apple/swift-system/pull/391 (Improve CSystem import handling)

    swift-system 1.9.0 requires Swift 6.2 or later, which is satisfied by the current minimum requirement (swift-tools-version: 6.4.0).

    Does this PR introduce _any_ user-facing change?

    No.

    How was this patch tested?

    Pass the CIs. The full test suite also passed locally on macOS against an Apache Spark 4.3.0 Connect server (716 tests in 66 suites).

    Was this patch authored or co-authored using generative AI tooling?

    Generated-by: Claude Opus 5.5

    Diff: 155 lines (+116 / -39) across 1 files Reviewer: viirya Review duration: 70m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.33) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 155 lines diff across 1 files
    0.33
    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%
    56%
    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.302
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #629"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.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: 33.2% (LOW) · Higher = larger blast radius
    33.2%
    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: 56.8% · Lower = rushed or shallow review
    56.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: 14.4% · Safe to merge
    14.4%