You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(helper): start gRPC server when API.EnableGRPC is true (#21)
The systray helper previously only started the REST API (when
API.EnableREST was set); the matching API.EnableGRPC config flag was
silently ignored. Mirror the REST startup pattern so operators who
enable gRPC actually get a listener.
Default remains OFF (no behavior change for existing users). Port
defaults to 50051. REST and gRPC can run concurrently.
- internal/systray: new grpcServer field, startGRPCServer(), Run()
branch, and bounded-GracefulStop-with-ForceStop-fallback on exit.
- pkg/api/grpc: add ForceStop() for the hard-stop fallback path used
during helper shutdown when a streaming RPC wedges.
- test: assert startGRPCServer populates App.grpcServer and binds.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments