Repository navigation
[release/11.0] Preserve original failures in HTTP metrics and QUIC test diagnostics - #138213
Merged
Merged
Conversation
…137472) <!-- --> Preserve original failures in networking tests uncovered while investigating #137416: - **HTTP metrics:** Enrichment runs from `finally`, including on failed requests where `Response` is legitimately null. Asserting inside the callback masks the original exception. Capture the response instead and assert `Same` after a successful send, keeping the original test flow. - **QUIC diagnostics:** `MsQuicRemoteExecutorTests` explicitly passes `null` as its output helper, so error-path logging can throw `NullReferenceException` and hide a connection failure. Make helper logging null-safe, but read `serverTask.Exception` independently so its fault remains observed even without logging. Test-only changes: no product, MsQuic version, retry, or timeout changes. The underlying TLS/QUIC flakes remain unresolved. **Validation:** The baseline build, 14 HTTP diagnostic-listener cases, and 6 focused QUIC cases passed on macOS ARM64 with locally built MsQuic 2.6.4/OpenSSL. Local cancellation and failed-handshake repros confirmed both masking bugs before the fixes; neither repro is in the final diff. Windows Schannel and full suites were not run. > [!NOTE] > Generated with GitHub Copilot. --------- Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @karelz, @dotnet/ncl |
lewing
approved these changes
Nov 24, 2026
Member
|
/ba-g QUIC certificate validation fails before the changed diagnostic logging; the other failures are separately tracked. |
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 #137472 to release/11.0. Test-only; no product code changes.
/cc @lewing @akoeplinger
Captures the enrichment callback's response and asserts after the send instead of inside the callback, and makes QUIC test helper logging null-safe while still surfacing the server task's exception, so the original test failures are no longer masked by secondary assertion failures or NREs.
Customer Impact
None; test-only.
Regression
No.
Testing
Clean cherry-pick of test-only changes; PR CI runs the tests.
Risk
Low; test-only.