Repository navigation
Conversation
A Stream's lifecycle is a resource manager, so no Store closes a Stream on its own. Reserving the numbers and names keeps a later field from reusing them.
This was referenced Nov 27, 2026
auto_close in the frozen Jetty contract
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.
This PR reserves
auto_closefield numbers and identifiers in the Jetty prototype. ExplicitCloseStreamand owner lifecycle closure remain.This is the final frozen Jetty API stack. The current Brook messages use a different wire format and retention model.
The matching generated Go stack is api-go#25. The native Store copy matches this schema byte for byte. This review checked those pins and field reservations without rebuilding the prototype.
Reviewer's guide
Review this as a frozen prototype. The active Streams API uses a separate contract.
temporal/api/streamservice/v1/stream_service.proto. Both field numbers and identifiers must stay reserved.service.protocomments with the messages. Removing inactivity-based closure must not remove explicit close or owner closure.