Skip to content

Remove timer-based automatic close from Jetty - #102

Closed
moetemp wants to merge 2 commits into
moe/jetty/v2/t13-activity-streamsfrom
moe/jetty/v3/t14-no-auto-close
Closed

moetemp wants to merge 2 commits into
moe/jetty/v2/t13-activity-streamsfrom
moe/jetty/v3/t14-no-auto-close

Conversation

@moetemp

@moetemp moetemp commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

This PR removes the auto-close deadline from native Stream creation. Explicit close and close on the owner’s terminal transition remain.

This layer belongs to the frozen Jetty server prototype. The active Streams contract has no close operation and does not require a server change.

Current Streams design and project plan.

Reviewer's guide

Review this as a frozen prototype. The active Streams API uses a separate contract.

  1. Read chasm/lib/stream/stream.go with proto/v1/tasks.proto. Check that inactivity no longer schedules automatic closure.
  2. Then check tests/stream_test.go. Explicit close and owner termination must still finish reads.

A Stream's owner closes it, and the safety TTL and the Retention end it. The server no longer
reads or answers the auto_close fields, and the state reserves its field.
The api reserves auto_close on the create and the describe of a Stream.
@moetemp moetemp changed the title [Jetty] Removed the auto close from Streams. Remove timer-based automatic close from Jetty 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