Skip to content

Delete src/coreclr/tools/SOS - unused binplace-only directory - #121780

Merged
jkotas merged 2 commits into
mainfrom
copilot/remove-sos-directory
Nov 21, 2025
Merged

jkotas merged 2 commits into
mainfrom
copilot/remove-sos-directory

Conversation

Copilot AI commented Nov 19, 2025 •

Copy link
Copy Markdown
Contributor

Fixes Issue

main PR

Description

The src/coreclr/tools/SOS directory only contained a CMakeLists.txt that binplaced a README file pointing to the dotnet/diagnostics repository. This file was never shipped in any package or distribution.

Removed:

  • src/coreclr/tools/SOS/ directory and contents
  • add_subdirectory(SOS) reference from src/coreclr/tools/CMakeLists.txt

Customer Impact

None. The directory produced no shipped artifacts.

Regression

No. This is cleanup of dead build infrastructure.

Testing

CoreCLR build verified successful.

Risk

None. No functional code or shipped artifacts affected.

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

Original prompt

Create a PR to delete src\coreclr\tools\SOS. It just binplaces a README file that is not shipped anywhere.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@github-actions github-actions Bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 19, 2025
Copilot AI changed the title [WIP] Remove src/coreclr/tools/SOS directory with README Delete src/coreclr/tools/SOS - unused binplace-only directory Nov 19, 2025
Copilot AI requested a review from jkotas November 19, 2025 08:17
@jkotas jkotas added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Nov 19, 2025
@jkotas
jkotas requested a review from steveisok November 19, 2025 08:22
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@jkotas
jkotas marked this pull request as ready for review November 19, 2025 09:23
Copilot AI review requested due to automatic review settings November 19, 2025 09:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the unused src/coreclr/tools/SOS directory, which only contained build infrastructure to binplace a README file that was never shipped in any package or distribution. The README simply pointed users to the diagnostics repository where SOS now lives.

  • Deleted the entire src/coreclr/tools/SOS/ directory including SOS_README.md and CMakeLists.txt
  • Removed the add_subdirectory(SOS) reference from the parent src/coreclr/tools/CMakeLists.txt

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/coreclr/tools/SOS/SOS_README.md Removed README file that pointed to the diagnostics repository
src/coreclr/tools/SOS/CMakeLists.txt Removed CMake file that only installed the README
src/coreclr/tools/CMakeLists.txt Removed reference to SOS subdirectory and extra blank line

@jkotas
jkotas merged commit c8675d9 into main Nov 21, 2025
@jkotas
jkotas deleted the copilot/remove-sos-directory branch November 21, 2025 03:05
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants