Flight Log / dotnet/sdk #49541
Fix dotnet new "Add project to solution" postAction to find .slnx files — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in dotnet/sdk on Jun 24, 2025; merged clean in 29.2 d: +70 −24, 2 files, 3 reviews.
- Lines
- +70 −24
- Files
- 2
- Commits
- 3
- Reviews
- 3
- To merge
- 29.2 d
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
The agent fixed the dotnet new postAction that adds a project to the solution so it finds .slnx files. The method used a null-coalescing operator on a helper that returns an empty list, not null, so the search never ran. Two files changed, 70 additions and 24 deletions, across three commits. It merged with zero change requests after 701.5 hours.
From the pull request description
The `FindSolutionFilesAtOrAbovePath` method in `DotnetSlnPostActionProcessor` was incorrectly using the null-coalescing operator (`??`) with `FileFindHelpers.FindFilesAtOrAbovePath`, which returns an empty list (not `null`) when no files are found. This caused the method to never search for `.slnx` …
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
- —reviewed
- —reviewed
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
Read next
Cite this flight: AgentRiders Flight Log, dotnet/sdk#49541, record updated Nov 3, 2026, https://agentriders.com/logs/dotnet/sdk/49541/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.