Conversation
Contributor
Fusion Gateway Performance Results
Simple Composite Query
Response Times
Deep Recursion Query
Response Times
Variable Batching Throughput
Response Times
Runner 1 = benchmarking-1Run 23342943080 • Commit 5e2c4ee • Fri, 20 Mar 2026 12:32:05 GMT |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses analyzer warnings/errors across multiple projects in the repository (Nitro CLI, Mocha, HotChocolate, GreenDonut) by removing unused using directives and applying small style/formatting adjustments so the codebase compiles cleanly under stricter analyzer settings.
Changes:
- Remove unused
usingdirectives across several projects to satisfy analyzers. - Apply minor formatting/style fixes (brace blocks, object initializer formatting,
varusage, static-field naming). - Minor resource reference simplification in
ThrowHelper.
Reviewed changes
Copilot reviewed 29 out of 29 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Nitro/CommandLine/src/CommandLine/Commands/Schemas/PublishSchemaCommand.cs | Remove unused Configuration using. |
| src/Nitro/CommandLine/src/CommandLine/Commands/OpenApi/PublishOpenApiCollectionCommand.cs | Remove unused Configuration using. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Mcp/PublishMcpFeatureCollectionCommand.cs | Remove unused Configuration using. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Fusion/FusionPublishHelpers.cs | Formatting tweak in object initializer. |
| src/Nitro/CommandLine/src/CommandLine/Commands/Clients/PublishClientCommand.cs | Remove unused Configuration using. |
| src/Mocha/test/Mocha.Transport.Postgres.Tests/Behaviors/ReconnectionResilienceTests.cs | Add braces around if/else blocks for analyzer/style compliance. |
| src/Mocha/test/Mocha.Tests/Inbox/ConsumeInboxMiddlewareTests.cs | Remove unused using; rename static field to s_-prefixed name and update reference. |
| src/Mocha/test/Mocha.Hosting.Tests/Topology/MessageBusEndpointRouteBuilderExtensionsTests.cs | Remove unused Mocha.Hosting using. |
| src/Mocha/test/Mocha.EntityFrameworkCore.Postgres.Tests/PostgresMessageInboxTests.cs | Remove unused Mocha.EntityFrameworkCore.Postgres using. |
| src/Mocha/src/Mocha.EntityFrameworkCore/IDbContextOptionsConfigurationPolyfill.cs | Remove unused Microsoft.EntityFrameworkCore using. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Planning/OperationPlanner.BuildExecutionTree.cs | Replace explicit nullable type with var to satisfy analyzer. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Execution/Clients/SourceSchemaHttpClient.cs | Remove unused System.Collections.Concurrent using. |
| src/HotChocolate/Fusion/src/Fusion.Diagnostics/Extensions/DiagnosticsFusionGatewayBuilderExtensions.cs | Remove unused System.Text/ObjectPool usings. |
| src/HotChocolate/Diagnostics/src/Diagnostics/Spans/ResolveFieldSpan.cs | Remove unused usings (Execution, OpenTelemetry). |
| src/HotChocolate/Diagnostics/src/Diagnostics/Listeners/ActivityExecutionDiagnosticListener.cs | Remove unused OpenTelemetry using. |
| src/HotChocolate/Diagnostics/src/Diagnostics/Extensions/DiagnosticsRequestExecutorBuilderExtensions.cs | Remove unused System.Text/ObjectPool usings. |
| src/HotChocolate/Diagnostics/src/Diagnostics/ActivityEnricher.cs | Formatting of empty virtual methods for analyzer/style compliance. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/VariableCoercionSpan.cs | Remove unused OpenTelemetry using. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/ValidationSpan.cs | Remove unused OpenTelemetry using. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/ParsingSpan.cs | Remove unused usings. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/Http/ParseHttpRequestSpan.cs | Remove unused OpenTelemetry using. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/Http/FormatHttpResponseSpan.cs | Remove unused OpenTelemetry using. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/Http/ExecuteHttpRequestSpan.cs | Remove unused usings (Execution, OpenTelemetry). |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/Spans/ExecuteOperationSpan.cs | Remove unused OpenTelemetry using. |
| src/HotChocolate/Diagnostics/src/Diagnostics.Core/ActivityEnricherBase.cs | Formatting of empty virtual methods for analyzer/style compliance. |
| src/HotChocolate/Core/src/Types/Utilities/ThrowHelper.cs | Use statically imported resource identifier directly. |
| src/HotChocolate/Core/src/Types.Analyzers/FileBuilders/ConnectionTypeFileBuilder.cs | Remove unused helper using. |
| src/GreenDonut/test/GreenDonut.Data.Tests/Cursors/Serializers/EnumCursorKeySerializerTests.cs | Remove redundant using. |
| src/GreenDonut/src/GreenDonut.Data/Cursors/Serializers/EnumCursorKeySerializer.cs | Rename static field to s_-prefixed name and update reference. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of the changes (Less than 80 chars)