Repository navigation
Conversation
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.
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 a native backend to the shared Stream test suite. Set
TEMPORAL_STREAMS_NATIVE_TARGETto 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.
tests/contrib/streams/conftest.pyand_support.py. Check which tests use the native server and which use a fake backend.TEMPORAL_STREAMS_NATIVE_TARGETand the matching server revision. A run without that configuration does not validate native behavior.