Skip to content

[Fusion] Add OperationPlanner version - #10409

Merged
tobias-tengler merged 1 commit into
mainfrom
tte/operation-planner-version
Sep 20, 2026
Merged

tobias-tengler merged 1 commit into
mainfrom
tte/operation-planner-version

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

Adds a static `OperationPlanner.Version` that identifies planning behavior
independently of the package version, and registers it on the schema features
as `OperationPlannerFeature` so integrations can read it from a schema.

The version is resolved at runtime rather than being a compile-time constant,
so a consumer compiled against one version reports the planner that is actually
loaded. AGENTS.md documents when to bump it.
Copilot AI lite review requested due to automatic review settings September 20, 2026 16:47

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.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified that would block approval.

Review effort: Lite
Findings: None

What changed in this PR

Adds a version identifier for Fusion’s operation planner and exposes it through schema features for planner interceptors.

Changes:

  • Introduces OperationPlanner.Version and OperationPlannerFeature.
  • Registers the feature on Fusion schemas.
  • Adds integration coverage and documents versioning rules.
File Description
src/​HotChocolate/​Fusion/​test/​Fusion.AspNetCore.Tests/​OperationPlannerInterceptorTests.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/​Planning/​OperationPlanner.cs Updated as part of this pull request.
src/​HotChocolate/​Fusion/​src/​Fusion.Execution/​Execution/​FusionRequestExecutorManager.cs Updated as part of this pull request.
AGENTS.md 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.

@tobias-tengler
tobias-tengler merged commit 7090bb8 into main Sep 20, 2026
150 of 152 checks passed
@tobias-tengler
tobias-tengler deleted the tte/operation-planner-version branch September 20, 2026 16:57
This was referenced Nov 2, 2026
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