Repository navigation
[Fusion] Add a planning fingerprint to gateway archives and expose it to the planner - #10421
Merged
Merged
Conversation
The archive now writes a `configuration-id` file next to the gateway schema, derived from the SHA-256 of the gateway SDL. Reading the archive validates the ID against the schema and exposes it on `GatewayConfiguration`, `FusionConfiguration` and `OperationPlannerFeature`.
Contributor
Patch coverage77.8% of changed lines covered (35/45)
Uncovered changed lines (JSON){
"sha": "7c7aec0b110f20d6c3e910e54aea803dee3b5386",
"files": [
{ "path": "src/HotChocolate/Fusion/src/Fusion.Execution/Configuration/FileSystemFusionConfigurationProvider.cs", "ranges": [[141, 141], [175, 175], [184, 186], [194, 198]] }
]
}Project coverage: 58.4% (294720/504498 lines) |
tobias-tengler
marked this pull request as ready for review
September 23, 2026 13:29
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
One or more issues must be addressed before approval.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (2)
What changed in this PR
Adds a versioned planning fingerprint to Fusion gateway archives and propagates it through configuration into planner metadata.
Changes:
- Computes, persists, and reads gateway planning fingerprints.
- Exposes fingerprints on gateway and Fusion configurations.
- Passes fingerprints into
OperationPlannerFeature.
| File | Description |
|---|---|
| src/HotChocolate/Fusion/test/Fusion.Packaging.Tests/FusionArchiveTests.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Packaging/GatewayConfiguration.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Packaging/FusionArchive.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Packaging/FileNames.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Planning/OperationPlannerFeature.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Execution/FusionRequestExecutorManager.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Configuration/FusionConfiguration.cs | Updated as part of this pull request. |
| src/HotChocolate/Fusion/src/Fusion.Execution/Configuration/FileSystemFusionConfigurationProvider.cs | Updated as part of this pull request. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 25, 2026
Merged
This was referenced Nov 1, 2026
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.

No description provided.