Repository navigation
Complete SSE streaming coverage and fix StreamHandle cancel join - #151
Merged
Conversation
MisterVVP
merged commit Jul 15, 2026
8170638
into
dev-add-coverage-and-production-streaming-examples
15 checks passed
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.
Motivation
Description
HttpJsonTransport::CreateDefault(...)andJsonRpcTransport::CreateDefault(...)(modifiedscripts/run_cpp_sut_streaming_functional.sh).StreamHandle::Cancel()by skippingjoin()whenCancel()is invoked on the worker thread itself (change insrc/client/client.cpp).tests/interop/http_streaming_gap_test.cpp), low-level libcurlStreamRequestcoverage including fragmentation, metadata-before-chunk, handler failures, timeout and connection failure (tests/unit/http_client_test.cpp), and StreamHandle lifecycle edge cases including cancellation-from-OnEvent and no-callbacks-after-cancel (tests/unit/stream_handle_lifecycle_test.cpp).tests/interop/http_sse_interop_client.cpp).Testing
clang-format --dry-run --Werror ...andcmake/cmake --build; build succeeded../build/tests/http_client_test --gtest_filter='*Stream*',./build/tests/stream_handle_lifecycle_test, and the newhttp_streaming_gap_test; all added/modified tests passed locally../scripts/run_http_sse_interop.shand./scripts/run_cpp_sut_streaming_functional.sh, which startedtck_sutand validated send, subscribe, and cancellation for both transports../scripts/verify_changes.sh(format, build, tests, targetedclang-tidyfixes applied to touched test files); the verification run completed with tests passing after fixing readability issues in the touched tests.