Skip to content

Move to grpc-swift V2#379

Open
dcantah wants to merge 1 commit intoapple:mainfrom
dcantah:grpc-v2-wowzers
Open

Move to grpc-swift V2#379
dcantah wants to merge 1 commit intoapple:mainfrom
dcantah:grpc-v2-wowzers

Conversation

@dcantah
Copy link
Member

@dcantah dcantah commented Nov 2, 2025

Closes #51

No API changes which is nice. The largest change code wise is in Vminitd. The connection loop is setup immediately in the new API by calling runConnections() on the client, and this blocks until either the task it's running on is cancelled or beginGracefulShutdown is called. Because of this, either we'd have to modify our API to have VirtualMachineAgent implementations call some run() method, or we just put runConnections() in an internal task on Vminitd. I went for the latter approach as it's simpler.

@dcantah dcantah changed the title Upgrade to GRPC V2 Move to grpc-swift V2 Nov 3, 2025
@dcantah dcantah marked this pull request as draft November 5, 2025 00:50
@dkovba
Copy link
Contributor

dkovba commented Dec 20, 2025

@dcantah We can proceed with this PR.

@dcantah dcantah marked this pull request as ready for review January 21, 2026 04:42
@jglogan jglogan added this to the 2026-02 milestone Feb 2, 2026
@jglogan jglogan self-requested a review February 2, 2026 20:54
@dcantah dcantah mentioned this pull request Feb 6, 2026
No real notable API changes. The largest change code wise is in Vminitd.
The connection loop is setup immediately in the new API by calling
runConnections() on the client, and this blocks until either the task
it's running on is cancelled or beginGracefulShutdown is called. Because
of this, either we'd have to modify our API to have VirtualMachineAgent
implementations call some run() method, or we just put runConnections in
an internal task on Vminitd. I went for the latter approach as it's simpler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use grpc-swift v2

4 participants