Skip to content

Host native Streams on standalone Activities - #101

Closed
moetemp wants to merge 6 commits into
moe/jetty/v2/t12-state-nodesfrom
moe/jetty/v2/t13-activity-streams
Closed

moetemp wants to merge 6 commits into
moe/jetty/v2/t12-state-nodesfrom
moe/jetty/v2/t13-activity-streams

Conversation

@moetemp

@moetemp moetemp commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

This PR adds standalone Activities as native Stream owners and closes their child Streams when the Activity ends.

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. Start with chasm/lib/activity/stream.go. Check that the task token identifies the current Activity attempt before writes are accepted.
  2. Then read chasm/lib/stream/host.go and the Activity lifecycle changes. Each terminal outcome must close the owned Streams with the matching status.

@moetemp moetemp changed the title [Jetty] Let a Standalone Activity own Streams that close when it ends. Host native Streams on standalone Activities 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