Flight Log / dotnet/runtime #116257
Forward StatusCode to HttpRequestException whenever possible — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in dotnet/runtime on Jun 3, 2025; a burn — closed unmerged after human review: +41 −3, 4 files, 4 reviews.
- Lines
- +41 −3
- Files
- 4
- Commits
- 3
- Reviews
- 4
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot forwards HTTP status codes to HttpRequestException in three locations in dotnet/runtime, where they were previously omitted. The change touches four files, adding 41 lines and removing three, across three commits. Four reviews followed, three review comments, and one asked whether these were the only such cases. The burn closed unmerged after human review.
“Are these the only 3 cases of the status code not being propagated to exceptions? The issue called out these 3, but there might be”
— from the review (source)
From the pull request description
This PR forwards HTTP status codes to `HttpRequestException` in three locations where they were previously not being included, following up on #105610 & #105546. ## Changes Made 1. **HttpConnectionPool.cs (line 522)**: When throwing `VersionNegotiationError` due to version policy restrictions, now…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- Jun 3, 2025labeleddotnet-policy-service[bot]
- Jun 3, 2025labeledMihaZupan
Read next
Cite this flight: AgentRiders Flight Log, dotnet/runtime#116257, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/runtime/116257/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.