[SPARK-62432] Upgrade gRPC Swift NIO Transport to 2.13.2 #627
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 264 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.334
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #627"
general
weight: 0.35
viirya
What changes were proposed in this pull request?
This PR aims to upgrade
grpc-swift-nio-transportfrom 2.12.0 to 2.13.2.Package.swift: bump theexactpin ofgrpc-swift-nio-transportto2.13.2.README.md: update the listed dependency version to 2.13.2 (November 2026).The latest 2.13.3 is skipped on purpose. With 2.13.3,
GRPCClient.runConnections()does not return afterbeginGracefulShutdown()when no RPC was made on the channel. As a result,SparkConnectClientTests.connectWithInvalidUUIDhangs forever becauseSparkConnectClient.stop()awaits the connection task. 2.13.0, 2.13.1 and 2.13.2 do not have this issue. The only change in 2.13.3 is the following.Why are the changes needed?
To bring the latest bug fixes.
- https://github.com/grpc/grpc-swift-nio-transport/pull/197 (Report the listening address from the listener factory)
- https://github.com/grpc/grpc-swift-nio-transport/pull/198 (Add vsock peer credentials on Posix.Context)
- https://github.com/grpc/grpc-swift-nio-transport/pull/192 (Add UDS peer credentials on Posix.Context)
- https://github.com/grpc/grpc-swift-nio-transport/pull/210 (Fail RPCs started on an already cancelled task)
- https://github.com/grpc/grpc-swift-nio-transport/pull/211 (Remove timers on channelInactive in ServerConnectionManagementHandler)
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