Skip to content

Remove HotChocolate.Types.Shared and unused build tooling#9764

Merged
glen-84 merged 1 commit into
mainfrom
cleanup-dead-build-weight
May 21, 2026
Merged

Remove HotChocolate.Types.Shared and unused build tooling#9764
glen-84 merged 1 commit into
mainfrom
cleanup-dead-build-weight

Conversation

@glen-84
Copy link
Copy Markdown
Member

@glen-84 glen-84 commented May 21, 2026

Summary

  • Remove HotChocolate.Types.Shared, which has been an empty package since Adds ResultDocument to HotChocolate Core #8931 deleted its three source files in February. No remaining references in the repo.
  • Remove the vendored dotnet-install.sh at the repo root — build.sh / build.ps1 / .devcontainer/backend/dockerfile / .github/workflows/benchmarks.yml all download their own copy from dot.net/v1, so the local file was dead weight.
  • Drop dotnet-sonarscanner and boost.tool from .config/dotnet-tools.json — nothing in CI or scripts invokes either. nuke.globaltool is kept until Nuke itself is removed.

Pure subtraction; no functional change to anything CI runs.

Test plan

  • dotnet build src/HotChocolate/Core/HotChocolate.Core.slnx passes locally (0 warnings, 0 errors).
  • ci.yml PR run should pass without special-casing.

Copilot AI review requested due to automatic review settings May 21, 2026 15:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 cleans up unused build/repo artifacts by removing an empty HotChocolate package project, a vendored .NET install script that is no longer referenced, and unused .NET tool-manifest entries.

Changes:

  • Removed the empty HotChocolate.Types.Shared project (HotChocolate.Types.Shared.csproj) with no remaining references in the repo.
  • Deleted the vendored root dotnet-install.sh since build/workflows download the script directly from https://dot.net/v1/.
  • Removed unused tool-manifest entries (dotnet-sonarscanner, boost.tool) from .config/dotnet-tools.json (no usages found in scripts/workflows).

Reviewed changes

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

File Description
src/HotChocolate/Core/src/Types.Shared/HotChocolate.Types.Shared.csproj Removes an empty/unreferenced project to reduce solution/package surface area.
dotnet-install.sh Removes a large vendored install script that is not used by repo scripts/workflows anymore.
.config/dotnet-tools.json Drops unused tool entries, leaving only nuke.globaltool in the manifest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@glen-84 glen-84 merged commit c94c8e2 into main May 21, 2026
143 checks passed
@glen-84 glen-84 deleted the cleanup-dead-build-weight branch May 21, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants