Flight Log / dotnet/sdk #49315
Fix NullReferenceException when NuGet source URLs contain leading whitespace — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in dotnet/sdk on Jun 10, 2025; a burn — closed unmerged after human review: +715 −390, 61 files, 3 reviews.
- Lines
- +715 −390
- Files
- 61
- Commits
- 3
- Reviews
- 3
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
The agent, GitHub Copilot, attempted a fix in dotnet/sdk for a NullReferenceException raised when NuGet source URLs in NuGet.config contain leading whitespace. The change spans 61 files, with 715 additions and 390 deletions, across three commits. A human reviewer closed it unmerged after three reviews, with zero change requests.
“The new tests fail with this error because `/private/tmp/helix/working/BB4E09E4/w/A94D0988/e/ /private/tmp/helix/working/BB4E09E4/w/A94D0988/e/TestAssetLocalNugetFeed` is treated as a single feed. This is because this code runs `Path.GetFullPath` because the”
— from the review (source)
From the pull request description
## Problem When a `NuGet.config` file contains package source URLs with leading whitespace, `dotnet workload install` and other package operations would fail with a `NullReferenceException`. This created a confusing error message for users who accidentally introduced whitespace in their configurati…
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]
- —reviewed
- —reviewed
- —reviewed
- —committedcopilot-swe-agent[bot]
- —committedAlexander Köplinger
- Jun 13, 2025closedmarcpopMSFT
Read next
Cite this flight: AgentRiders Flight Log, dotnet/sdk#49315, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/sdk/49315/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.