Convert Internal API to gRPC #238

Merged
Quaternions merged 9 commits from grpc into staging 2025-07-22 02:25:13 +00:00
Owner

See StrafesNET/protobufs#8 for more information.

  • Remove openapi-internal
  • Implement gRPC
See https://git.itzana.me/StrafesNET/protobufs/pulls/8 for more information. - Remove openapi-internal - Implement gRPC
Quaternions added 9 commits 2025-07-19 04:49:52 +00:00
Quaternions force-pushed grpc from 7d64ba0186 to 7b91159804 2025-07-19 04:50:58 +00:00 Compare
Quaternions added 1 commit 2025-07-19 04:55:48 +00:00
validator: prepend host env with http://
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
df370e4840
Quaternions force-pushed grpc from df370e4840 to 7b91159804 2025-07-19 05:00:59 +00:00 Compare
Author
Owner

@itzaname This has an issue where the submissions service does not start the gRPC before the validator tries to connect. I remember you told me to implement a "ready" endpoint for the game-rpc to tell kubernetes that the service is ready, so maybe I could do something similar in golang. Do you think that is needed here or is there a simpler solution? Either way, if the validator is auto-restarted it will sort itself out eventually since it just panics when it cannot connect.

Edit:
If it does crash in staging/prod one or more times before it starts working, I don't know how to tell, but it makes it impossible to test locally.

Edit2:
This is completely resolved via 1cfdb3668a

@itzaname This has an issue where the submissions service does not start the gRPC before the validator tries to connect. I remember you told me to implement a "ready" endpoint for the game-rpc to tell kubernetes that the service is ready, so maybe I could do something similar in golang. Do you think that is needed here or is there a simpler solution? Either way, if the validator is auto-restarted it will sort itself out eventually since it just panics when it cannot connect. Edit: If it does crash in staging/prod one or more times before it starts working, I don't know how to tell, but it makes it impossible to test locally. Edit2: This is completely resolved via 1cfdb3668afc4e431c8da5bc4f988ad345ddee48
Quaternions force-pushed grpc from 7b91159804 to 17c4db6284 2025-07-19 10:42:29 +00:00 Compare
Quaternions added 1 commit 2025-07-19 11:04:37 +00:00
submissions: update go-grpc
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
958d0471af
Quaternions force-pushed grpc from 958d0471af to 746ac8e8a7 2025-07-19 11:07:59 +00:00 Compare
Quaternions merged commit 740e6368b1 into staging 2025-07-22 02:25:13 +00:00
Quaternions deleted branch grpc 2025-07-22 02:25:14 +00:00
Quaternions added this to the Maps Migration project 2025-07-22 14:16:01 +00:00
Quaternions added the backendvalidator labels 2025-07-22 14:16:18 +00:00
Quaternions moved this to Prerequisites in Maps Migration on 2025-07-26 04:58:38 +00:00
Sign in to join this conversation.