fix(rivetkit): spawn the local Engine on the endpoint's port - #5643
Open
eersnington wants to merge 1 commit into
Open
fix(rivetkit): spawn the local Engine on the endpoint's port#5643eersnington wants to merge 1 commit into
eersnington wants to merge 1 commit into
Conversation
eersnington
force-pushed
the
stack/fix-rivetkit-preserve-engine-bind-defaults-rqsvztrk
branch
from
September 2, 2026 21:15
c1f2e1f to
2b600fd
Compare
11 tasks
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.
Description
If you set
endpointto a local URL, RivetKit still spawned the Engine on port 6420. So the client waited on the port you asked for, and the health check failed.The fix:
engineHostandenginePortstay unset unless you set them, so the Engine falls back to the endpoint's port.enginePort: used as before. Unchanged.endpoint: the Engine now listens on that endpoint's port. This never worked before.This only affects local dev and tests. Deployed apps never spawn an Engine.
Type of change
How Has This Been Tested?
Checklist: