Skip to content

Conversation

@pthirun
Copy link
Contributor

@pthirun pthirun commented Jan 28, 2026

Summary

  • Add gRPC support for the getFutureVersion endpoint
  • The HTTP and gRPC paths now share the same business logic through VeniceControllerRequestHandler.getFutureVersion()
  • Add proper handling for VeniceNoStoreException in gRPC error handling

Changes

  • Add GetFutureVersionGrpcRequest and GetFutureVersionGrpcResponse proto messages
  • Add getFutureVersion RPC to VeniceControllerGrpcService
  • Add getFutureVersion handler method in VeniceControllerRequestHandler
  • Update VeniceControllerGrpcServiceImpl to implement the RPC
  • Update StoresRoutes.getFutureVersion to use the handler
  • Add VeniceNoStoreException handling in ControllerGrpcServerUtils to return NOT_FOUND status

Test plan

  • Unit tests for VeniceControllerRequestHandlerTest.testGetFutureVersion*
  • Unit tests for VeniceControllerGrpcServiceImplTest.testGetFutureVersion
  • Unit tests for StoresRoutesTest.testGetFutureVersion*

VALIDATION_OVERRIDE

🤖 Generated with Claude Code

@pthirun pthirun force-pushed the controller-grpc-migration-get-future-version branch from eb22c62 to 5240ed1 Compare January 29, 2026 19:31
- Add GetFutureVersionGrpcRequest/Response proto messages
- Add getFutureVersion RPC to VeniceControllerGrpcService
- Add getFutureVersion handler method in VeniceControllerRequestHandler
- Update VeniceControllerGrpcServiceImpl to implement the RPC
- Update StoresRoutes.getFutureVersion to use the handler
- Add VeniceNoStoreException handling in ControllerGrpcServerUtils
- Add comprehensive unit tests

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@pthirun pthirun force-pushed the controller-grpc-migration-get-future-version branch from 5240ed1 to 69ccd4c Compare January 29, 2026 22:46
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.

1 participant