Configure HydraFusion through SDK session feature flags - #336482
Open
Bhavya U (bhavyaus) wants to merge 1 commit into
Open
Bhavya U (bhavyaus) wants to merge 1 commit into
Bhavya U (bhavyaus) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: de941855-5a83-4db5-8522-2d9514c20b18
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
End-to-end compatibility with the unchanged published SDK and runtime pins remains unresolved.
Review effort: Balanced
Findings: None
What changed in this PR
Moves HydraFusion opt-in configuration from process environment variables to SDK session feature flags.
Changes:
- Adds HydraFusion flags to create/resume session configuration.
- Removes inherited HydraFusion environment overrides.
- Updates environment and session configuration tests.
| File | Description |
|---|---|
copilotSessionLauncher.test.ts |
Verifies session feature flags. |
copilotAgent.test.ts |
Updates environment and restart tests. |
copilotSessionLauncher.ts |
Supplies SDK HydraFusion feature flags. |
copilotCliEnvironment.ts |
Removes inherited HydraFusion flags. |
copilotAgent.ts |
Stops passing HydraFusion into environment construction. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Bhavya U (bhavyaus)
marked this pull request as ready for review
September 16, 2026 21:02
Ben Villalobos (benvillalobos)
approved these changes
Sep 16, 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.
Summary
Move the existing
chat.copilot.hydraFusion.enabledopt-in from Copilot child-process environment variables into the SDK session configuration.HYDRAFUSIONandHYDRAFUSION_ROLLOUTthroughfeatureFlagsalongside the existingenableExperimentalModeopt-in in the shared create/resume config builder.