Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete debug assert in HttpEventListenerService #2419

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

MihaZupan
Copy link
Member

This assert was randomly firing during local test runs for me. While the base EventListenerService doesn't opt-in to the RequestFailedDetailed keyword, a different event listener somewhere else may (e.g. VS diagnostic tools).

The product code is clearly doing the right checks here:
https://github.com/dotnet/runtime/blob/51b51bffbb4733a50c93a39f047b29ff424494d9/src/libraries/System.Net.Http/src/System/Net/Http/HttpTelemetry.cs#L76-L84
so I don't think we should care about this assert in YARP.

@MihaZupan MihaZupan added this to the v.Next milestone Feb 27, 2024
@MihaZupan MihaZupan requested a review from Tratcher as a code owner February 27, 2024 11:40
@MihaZupan MihaZupan merged commit cdec1ea into dotnet:main Feb 27, 2024
7 checks passed
@MihaZupan MihaZupan modified the milestones: v.Next, YARP 2.2.0-preview1 May 14, 2024
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.

2 participants