Skip to content

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.

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.
@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
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

1 participant