Skip to content

Ported the harness onto Brook. - #4

Closed
moetemp wants to merge 7 commits into
mainfrom
moe/brook/harness
Closed

moetemp wants to merge 7 commits into
mainfrom
moe/brook/harness

Conversation

@moetemp

@moetemp moetemp commented Oct 18, 2026

Copy link
Copy Markdown
Owner

What changed?

This PR ports the harness onto Brook, the sdk-python build at moe/brook/v2/h10-sdk-streams. It replaces #3, which pinned the Bridge build dr40. temporalio is pinned to h10 60c15016, and uv.lock follows. The agent publishes with stream_producer(TURN_EVENTS) and a sync append. Activities publish through stream_producer too, with await append. Clients, the web app, the subagent activities and the Nexus pollMessages handler read with stream_handle(client, ...). Brook has no stream notifier, so STREAMS_NOTIFY and the notify_on_append() call are gone, and the README says a stock dev server is enough. The branch starts at #3's head, so its commits stay in the history. The last commit removes two unused imports.

Why?

Brook is the interim release. The harness reads only from outside Workflows, so it needs no Workflow reads, Wakes or notifier, and Brook covers what it uses.

How did you test it?

Link to a test plan if any -

  • Unit Tests
  • Staging
  • End to End Tests

It is the base that the sdk-streams port changes. Its tree equals that branch's head.
The stream runtime now lives in the sdk-streams crate. STREAMS_STORE picks Redis or memory, and the tests default to memory on the time-skipping server.
Brook names the producers stream_producer and the client handle stream_handle. It has no stream notifier, so STREAMS_NOTIFY is gone.
@moetemp

moetemp commented Oct 21, 2026

Copy link
Copy Markdown
Owner Author

Replaced by #6, the Brook v3 stack.

@moetemp moetemp closed this Oct 21, 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