Skip to content

[release/10.0] Stabilize HTTP/2 stream pooling test - #70487

Merged
wtgodbe merged 1 commit into
release/10.0from
wtgodbe/backport-http2-pool-sync-release10
Nov 11, 2026
Merged

wtgodbe merged 1 commit into
release/10.0from
wtgodbe/backport-http2-pool-sync-release10

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Nov 10, 2026

Copy link
Copy Markdown
Member

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:

  • Exact upstream additions/deletions, three-file scope, C# syntax, unique new HTTP/2 logging event ID, unchanged quarantine attributes, and git diff --check verified.
  • Full Interop functional-test execution blocked before compilation by missing pinned SDK 10.0.114; integration validation requires CI.

Backport of #70281.

(cherry picked from commit 51ed718)

Co-authored-by: BrennanConroy <[email protected]>
Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 23:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@wtgodbe
wtgodbe merged commit d06bba9 into release/10.0 Nov 11, 2026
34 checks passed
@wtgodbe
wtgodbe deleted the wtgodbe/backport-http2-pool-sync-release10 branch November 11, 2026 17:28
@dotnet-policy-service dotnet-policy-service Bot added this to the 10.0.14 milestone Nov 11, 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.

3 participants