Skip to content

[QUALITY-719] Hide legacy orchestration setting for v2#11035

Merged
cephalonaut merged 2 commits into
masterfrom
matthew/hide-orchestration-setting-when-v2
May 17, 2026
Merged

[QUALITY-719] Hide legacy orchestration setting for v2#11035
cephalonaut merged 2 commits into
masterfrom
matthew/hide-orchestration-setting-when-v2

Conversation

@cephalonaut
Copy link
Copy Markdown
Contributor

@cephalonaut cephalonaut commented May 15, 2026

Description

Remove the legacy v1 orchestration runtime flag and experiment setting. Orchestration availability is now driven by OrchestrationV2 together with global AI enablement.

The remaining v1 transport/event-service cleanup is deferred and annotated with TODO(QUALITY-733) comments.

Linked Issue

https://linear.app/warpdotdev/issue/QUALITY-733/cleanup-unneeded-v1-orchestration-code

Testing

  • cargo fmt
  • cargo test -p warp orchestration_ --lib
  • PATH="/tmp/warp-corepack-shims:$PATH" cargo clippy --workspace --all-targets --all-features --tests -- -D warnings

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Co-Authored-By: Oz oz-agent@warp.dev

@cla-bot cla-bot Bot added the cla-signed label May 15, 2026
@cephalonaut cephalonaut marked this pull request as ready for review May 15, 2026 19:22
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 15, 2026

@cephalonaut

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates orchestration enablement so OrchestrationV2 enables the orchestration tools independently of the legacy user setting, hides the legacy toggle while v2 is active, and adds focused unit coverage for the legacy/v2 truth table. I did not find correctness or security issues in the changed logic.

Concerns

  • The change removes a visible AI settings toggle when OrchestrationV2 is enabled, but the PR description does not include screenshots or a screen recording demonstrating the settings page behavior end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/settings_view/ai_page.rs Outdated
));

if FeatureFlag::Orchestration.is_enabled() {
if AISettings::is_orchestration_user_setting_visible() {
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.

⚠️ [IMPORTANT] For this user-facing settings change, please include screenshots or a screen recording demonstrating the legacy toggle being hidden when orchestration v2 is enabled.

@cephalonaut cephalonaut requested a review from kjankov May 15, 2026 19:31
@cephalonaut cephalonaut changed the title Hide legacy orchestration setting for v2 [QUALITY-728] Hide legacy orchestration setting for v2 May 15, 2026
@cephalonaut cephalonaut requested review from advait-m and removed request for kjankov May 16, 2026 03:47
@cephalonaut cephalonaut changed the title [QUALITY-728] Hide legacy orchestration setting for v2 [QUALITY-719] Hide legacy orchestration setting for v2 May 16, 2026
Copy link
Copy Markdown
Member

@advait-m advait-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me 👍

Comment thread app/src/settings/ai.rs Outdated
}

pub(crate) fn is_orchestration_user_setting_visible() -> bool {
FeatureFlag::Orchestration.is_enabled() && !FeatureFlag::OrchestrationV2.is_enabled()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it's easier, we can get rid of the v1 flag?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got rid of flag, but didn't clean up all affected code because I don't want to over complicate things. Filed issue to follow up.

@cephalonaut cephalonaut requested a review from szgupta May 17, 2026 13:07
cephalonaut and others added 2 commits May 17, 2026 09:09
Co-Authored-By: Oz <oz-agent@warp.dev>
Remove the v1 orchestration runtime flag and user-facing experiment setting so orchestration availability is driven by OrchestrationV2 plus global AI enablement. Leave QUALITY-733 TODOs on deferred v1 transport cleanup paths.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cephalonaut cephalonaut force-pushed the matthew/hide-orchestration-setting-when-v2 branch from 352601c to dbd839d Compare May 17, 2026 13:15
@cephalonaut cephalonaut enabled auto-merge (squash) May 17, 2026 13:17
@cephalonaut cephalonaut merged commit 2fd4a78 into master May 17, 2026
25 checks passed
@cephalonaut cephalonaut deleted the matthew/hide-orchestration-setting-when-v2 branch May 17, 2026 13:30
lawsmd pushed a commit to lawsmd/cortex that referenced this pull request May 22, 2026
)

## Description
Remove the legacy v1 orchestration runtime flag and experiment setting.
Orchestration availability is now driven by OrchestrationV2 together
with global AI enablement.

The remaining v1 transport/event-service cleanup is deferred and
annotated with TODO(QUALITY-733) comments.

## Linked Issue

https://linear.app/warpdotdev/issue/QUALITY-733/cleanup-unneeded-v1-orchestration-code

## Testing
- [x] cargo fmt
- [x] cargo test -p warp orchestration_ --lib
- [x] PATH="/tmp/warp-corepack-shims:$PATH" cargo clippy --workspace
--all-targets --all-features --tests -- -D warnings

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Co-Authored-By: Oz <oz-agent@warp.dev>

---------

Co-authored-by: Oz <oz-agent@warp.dev>
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.

3 participants