Conversation
Fusion Gateway Performance Results
Simple Composite Query
Response Times
Deep Recursion Query
Response Times
Variable Batching Throughput
Response Times
Runner 1 = benchmarking-1Run 23439144857 • Commit 3bd6712 • Mon, 23 Mar 2026 13:15:04 GMT |
There was a problem hiding this comment.
Pull request overview
This PR addresses various C# analyzer warnings across the Mocha demo/test projects and parts of HotChocolate by applying small, non-functional cleanups and style fixes.
Changes:
- Remove unused
usingdirectives in multiple test/demo/runtime files. - Apply analyzer-preferred style updates (add braces for single-line
ifstatements, reformat multi-assign initializers). - Use modern C# collection expressions (
[]) for empty arrays where applicable.
Reviewed changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Mocha/test/Mocha.Transport.Postgres.Tests/PostgresMessageEnvelopeParserTests.cs | Minor style updates (var, [] empty array) in test helper construction. |
| src/Mocha/test/Mocha.Transport.Postgres.Tests/PostgresDispatchHeaderTests.cs | Remove unused using. |
| src/Mocha/test/Mocha.Transport.Postgres.Tests/PostgresDispatchEndpointTests.cs | Remove unused using. |
| src/Mocha/test/Mocha.Transport.Postgres.Tests/Connection/PostgresConnectionManagerTests.cs | Remove unused using. |
| src/Mocha/test/Mocha.Transport.Postgres.Tests/Behaviors/ConsumerLifecycleTests.cs | Remove unused usings. |
| src/Mocha/src/Mocha.Transport.Postgres/PostgresMessagingTransport.cs | Formatting-only changes for readability/analyzer compliance. |
| src/Mocha/src/Mocha.Transport.Postgres/PostgresMessageHeaders.cs | Remove unused usings. |
| src/Mocha/src/Mocha.Transport.Postgres/Configurations/PostgresTransportConfiguration.cs | Simplify base.Schema assignment to Schema. |
| src/Mocha/src/Demo/Demo.Shipping/Program.cs | Remove unused usings. |
| src/Mocha/src/Demo/Demo.Shipping/Commands/ShipShipmentCommand.cs | Add braces around if statements (style/analyzer). |
| src/Mocha/src/Demo/Demo.Shipping/Commands/ReceiveReturnPackageCommand.cs | Remove unused using; add braces around if statements. |
| src/Mocha/src/Demo/Demo.Catalog/Program.cs | Remove unused usings; add braces around if blocks in endpoints. |
| src/Mocha/src/Demo/Demo.Catalog/Commands/RequestQuickRefundCommand.cs | Remove unused using; add braces around if statement. |
| src/Mocha/src/Demo/Demo.Catalog/Commands/PlaceOrderCommand.cs | Add braces around if statements. |
| src/Mocha/src/Demo/Demo.Catalog/Commands/PlaceBulkOrderCommand.cs | Remove unused using. |
| src/Mocha/src/Demo/Demo.Catalog/Commands/InitiateReturnCommand.cs | Remove unused using; add braces around if statements. |
| src/Mocha/src/Demo/Demo.Billing/Program.cs | Remove unused using. |
| src/Mocha/src/Demo/Demo.Billing/Commands/ProcessPaymentCommand.cs | Add braces around if statements. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Planning/OperationPlanner.BuildExecutionTree.cs | Replace Array.Empty<T>() with [] (style/analyzer). |
| src/HotChocolate/Fusion/src/Fusion.Execution/Execution/Clients/SourceSchemaHttpClient.cs | Remove unused using. |
| src/HotChocolate/AspNetCore/src/Transport.Http/DefaultGraphQLHttpClient.cs | Indentation/formatting adjustment inside preprocessor blocks. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9426 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary of the changes (Less than 80 chars)