Repository navigation
[release/10.0] Stabilize HTTP/2 stream pooling test - #70487
Merged
Merged
Conversation
Backport of #70281. (cherry picked from commit 51ed718) Co-authored-by: BrennanConroy <[email protected]> Co-authored-by: Copilot <[email protected]>
wtgodbe
requested review from
BrennanConroy,
JamesNK and
halter73
as code owners
November 10, 2026 23:23
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain in the stream-pooling stabilization backport, although full interop validation still depends on CI.
No open issues 🎉
What changed in this PR
Backports the HTTP/2 stream-pooling test stabilization to release/10.0, making the shared interop test wait for server-side pooling before sending its second request.
Changes:
- Add an HTTP/2 trace event emitted after a stream enters the pool.
- Wait for the appropriate HTTP/2 or HTTP/3 pooling event and poll within the existing default timeout.
- Preserve quarantine attributes and reference-reuse assertions.
Full interop test validation remains dependent on CI because the pinned SDK was unavailable locally.
| File | Description |
|---|---|
src/Servers/Kestrel/test/Interop.FunctionalTests/Http3/Http3RequestTests.cs |
Wait for HTTP/2 pooling and use timeout-based log polling. |
src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelTrace.Http2.cs |
Define the Http2StreamPooled trace event. |
src/Servers/Kestrel/Core/src/Internal/Http2/Http2Connection.cs |
Emit the trace event after pooling a stream. |
Review effort: Balanced
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.
Backport of #70281 to
release/10.0.Wait for the first HTTP/2 stream to enter the server pool before sending the second request, matching the existing HTTP/3 synchronization. Add the trace event used by that wait and poll within the existing default timeout. Preserve the quarantine and reference-reuse assertions.
This carries the same shared-test stabilization to release/10.0; the thirty-day retained PR sample did not establish a release/10.0 hit for this test. It is distinct from the QUIC stream-context reuse assertion and from the product HTTP/2 hang backport in #70100.
Validation:
git diff --checkverified.10.0.114; integration validation requires CI.