Skip to content

Reserve auto_close in the frozen Jetty contract - #31

Closed
moetemp wants to merge 1 commit into
moe/jetty/v2/a3-takeoversfrom
moe/jetty/v3/a4-no-auto-close
Closed

moetemp wants to merge 1 commit into
moe/jetty/v2/a3-takeoversfrom
moe/jetty/v3/a4-no-auto-close

Conversation

@moetemp

@moetemp moetemp commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

This PR reserves auto_close field numbers and identifiers in the Jetty prototype. Explicit CloseStream and 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.

  1. Check the removed fields in temporal/api/streamservice/v1/stream_service.proto. Both field numbers and identifiers must stay reserved.
  2. Compare service.proto comments with the messages. Removing inactivity-based closure must not remove explicit close or owner closure.

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.
@moetemp moetemp changed the title [Jetty] Reserved auto_close in CreateStreamRequest and DescribeStreamResponse. Reserve auto_close in the frozen Jetty contract Nov 27, 2026
@moetemp moetemp closed this Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant