Skip to content

Conversation

bauer-andreas
Copy link
Contributor

While RPCConvertible errors are properly converted when thrown as part of the intercept method, errors thrown from within the producer closures or as part of the message sequences are not being converted.
This PR resolves that and adds the necessary unit tests to verify that.

Copy link

linux-foundation-easycla bot commented Jun 16, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jun 16, 2025
@glbrntt
Copy link
Collaborator

glbrntt commented Jun 16, 2025

The "Check generated code" check will be fixed by #4

@bauer-andreas bauer-andreas force-pushed the rpc-convertible-support-interceptors branch from ae9a5f2 to 5f26c53 Compare June 18, 2025 12:50
@bauer-andreas bauer-andreas requested a review from glbrntt June 18, 2025 12:58
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great but lint checker is unhappy:

/__w/grpc-swift-2/grpc-swift-2/Tests/GRPCCoreTests/Call/Server/Internal/ServerRPCExecutorTests.swift:417:47: warning: [EndOfLineComment] move end-of-line comment that exceeds the line length

@glbrntt glbrntt merged commit 04ef584 into grpc:main Jun 19, 2025
36 checks passed
dongjoon-hyun added a commit to apache/spark-connect-swift that referenced this pull request Aug 26, 2025
### What changes were proposed in this pull request?

This PR aims to upgrade `grpc-swift-2` to 2.1.0.

### Why are the changes needed?

To bring the latest improvements and bug fixes.
- https://github.com/grpc/grpc-swift-2/releases/tag/2.1.0
  - grpc/grpc-swift-2#4
  - grpc/grpc-swift-2#3
  - grpc/grpc-swift-2#7

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

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

No.

Closes #231 from dongjoon-hyun/SPARK-52913.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants