Repository navigation
fix(rivetkit): retry connect after guard actor_ready_timeout - #5866
Open
eersnington wants to merge 1 commit into
Open
eersnington wants to merge 1 commit into
eersnington wants to merge 1 commit into
Conversation
|
This PR was not deployed automatically as @eersnington does not have access to the Railway project. In order to get automatic PR deploys, please add @eersnington to your workspace on Railway. |
Contributor
|
Review: PR #5866 LGTM. The change adds
No blocking issues. |
This was referenced Oct 12, 2026
eersnington
added this pull request to stack #5872
October 13, 2026 18:06
eersnington
removed this pull request from stack #5872
October 13, 2026 21:11
eersnington
added this pull request to stack #5875
October 13, 2026 21:11
eersnington
force-pushed
the
fix/client-retry-actor-ready-timeout
branch
from
October 14, 2026 20:40
c2ef297 to
dbe6c77
Compare
eersnington
removed this pull request from stack #5875
October 14, 2026 20:40
eersnington
added this pull request to stack #5879
October 14, 2026 20:40
This was referenced Oct 14, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a runner drain, the gateway can reject a reconnect with
guard.actor_ready_timeoutwhile the actor finishes its work on the draining runner. The client did not classify this code as retryable, so the connection left its reconnect loop and stayedidle.actor_ready_timeouttoisRetryableGuardGatewayHttpErrorinrivetkit-typescript/packages/rivetkit/src/client/lifecycle-errors.ts. This matches the engine retry list inengine/packages/guard-core/src/utils.rs.function isRetryableGuardGatewayHttpError(code: string): boolean { return ( code === "service_unavailable" || + code === "actor_ready_timeout" || code === "actor_wake_retries_exceeded" ||This is part 1 of 6 in a stack: