Skip to content

Configure HydraFusion through SDK session feature flags - #336482

Open
Bhavya U (bhavyaus) wants to merge 1 commit into
mainfrom
dev/bhavyau/hydrafusion-sdk-flags
Open

Bhavya U (bhavyaus) wants to merge 1 commit into
mainfrom
dev/bhavyau/hydrafusion-sdk-flags

Conversation

@bhavyaus

@bhavyaus Bhavya U (bhavyaus) commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Move the existing chat.copilot.hydraFusion.enabled opt-in from Copilot child-process environment variables into the SDK session configuration.

  • Pass HYDRAFUSION and HYDRAFUSION_ROLLOUT through featureFlags alongside the existing enableExperimentalMode opt-in in the shared create/resume config builder.
  • Stop setting the HydraFusion environment variables and remove inherited standalone/aggregate HydraFusion overrides while preserving unrelated environment configuration.
  • Update the environment and session-config tests. Preserve the existing model-picker and runtime-restart behavior.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: de941855-5a83-4db5-8522-2d9514c20b18
Copilot AI balanced review requested due to automatic review settings September 16, 2026 20:50

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

🔵 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.

@bhavyaus
Bhavya U (bhavyaus) marked this pull request as ready for review September 16, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants