Skip to content

Run the Jetty Stream suite against the native Store - #364

Closed
moetemp wants to merge 10 commits into
moe/jetty/v2/j7-native-takeoversfrom
moe/jetty/v2/j8-native-lane
Closed

moetemp wants to merge 10 commits into
moe/jetty/v2/j7-native-takeoversfrom
moe/jetty/v2/j8-native-lane

Conversation

@moetemp

@moetemp moetemp commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

This PR adds a native backend to the shared Stream test suite. Set TEMPORAL_STREAMS_NATIVE_TARGET to test against the matching prototype server.

This is a frozen Jetty prototype. See the Brook design and Python implementation for current work.

The November review inspected the source and existing test coverage. It did not rerun the frozen native server stack.

Reviewer's guide

This is a frozen prototype. Review current Streams behavior in the Python implementation.

  1. Start with tests/contrib/streams/conftest.py and _support.py. Check which tests use the native server and which use a fake backend.
  2. Native coverage needs TEMPORAL_STREAMS_NATIVE_TARGET and the matching server revision. A run without that configuration does not validate native behavior.

With TEMPORAL_STREAMS_NATIVE_TARGET set, every test on memory and Redis also runs on the server, so native drift shows in the whole suite and not in a few tests (S125).
The native server finds a Workflow's Stream only by its owner fields and takes half the bytes of one append, so the tests expect that there.
The native server gives a Superseded item and its batch's Record their own offsets, so the tests find the item before the retried Record on every backend.
@moetemp moetemp changed the title [Jetty] Ran the main streams suite on a native lane too. Run the Jetty Stream suite against the native Store 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