Redirect to pubsub node and some bug fixes #8

Merged
ghe0 merged 7 commits from pubsub_redirect into surreal_brain 2025-06-19 17:39:56 +00:00

Implement follow redirect on pubsub required grpc call
updated proto and and changed app resource disk mb to gb
randomly selecting brain url from a list
macro for grpc redirect call

Implement follow redirect on pubsub required grpc call updated proto and and changed app resource disk mb to gb randomly selecting brain url from a list macro for grpc redirect call
noormohammedb added 7 commits 2025-06-19 14:44:06 +00:00
Refactors brain connection logic to use custom endpoint while runtime
Implements redirect handling in the `create_vm` function to gracefully handle server moves by reconnecting to the new URL
redirect handling in gRPC client and add macro for follow redirects
random brain url selection for staging environment.
cleanup duplicate sign_request function
list of 3 brain urls for staging and testnet
refactor brain URL selection for staging and testnet environments.
updated proto and changed accordingly
Improve macro with full crate path for log debug
Simplifies brain URL selection by using lazy static variables for staging and testing environments.
noormohammedb requested review from ghe0 2025-06-19 14:44:11 +00:00
Owner

LGTM

LGTM
ghe0 merged commit 65ee3231b2 into surreal_brain 2025-06-19 17:39:56 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testnet/detee-cli#8
No description provided.