Conversation
The provider adopts the shipped log and its handlers rather than copying them, and names the missing-query failure by a constant.
It serves the stream interface over the shipped Workflow Streams transport, so a workflow's History holds the records and no other store is needed.
Plus the provider's own cases for publish dedupe, continue-as-new, reset and activity streams, on the stock dev server.
This was referenced Oct 3, 2026
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 adds
WorkflowStreamsProvider, which serves the stream interface over the Workflow Streams transport we already ship.What changed?
temporalio.streams.providers.workflow_streamskeeps a workflow's records in its own History, as the item payload of the shipped log, with the serializedStreamRecordas data.activity/<id>/<name>.contrib.workflow_streamsgets small hooks so the provider adopts its log and handlers rather than copying them. The missing-query failure text gets a constant, so the provider can match on it.Part of AI-198 (epic AI-37).
Why?
It's the provider that needs nothing but a Temporal server. The records ride the workflow's own History, so there's no other store to run or secure. It also proves the interface sits on top of what we ship today.
How did you test it?
Link to a test plan if any -
poe lintis clean. The conformance suite now runs on this provider as well as memory, along with the provider's own cases for dedupe, continue-as-new, reset and activity streams. They all pass on the stock dev server the fixtures start, and the shippedcontrib.workflow_streamstests still pass.