Skip to content

Remove OrchestrationPillBar and OrchestrationViewerPillBar feature flags#12255

Merged
cephalonaut merged 3 commits into
masterfrom
matthew/remove-orch-pill-bar-flags
Jun 5, 2026
Merged

Remove OrchestrationPillBar and OrchestrationViewerPillBar feature flags#12255
cephalonaut merged 3 commits into
masterfrom
matthew/remove-orch-pill-bar-flags

Conversation

@cephalonaut
Copy link
Copy Markdown
Contributor

Description

Remove the OrchestrationPillBar and OrchestrationViewerPillBar feature flags, which were already in the default feature set and enabled for all builds.

What

  • Remove both variants from the FeatureFlag enum and all Cargo feature declarations
  • Remove is_enabled() runtime checks throughout the codebase, keeping the code paths that were active when the flags were on
  • Remove the legacy ChildAgentStatusCard view, which was only rendered when OrchestrationPillBar was OFF (now dead code)
  • Remove the flag-guarded early return in inherit_share_for_local_child and simplify the condition in maybe_add_parent_navigation_card
  • Update tests to remove the now-unnecessary feature flag overrides; delete the test that verified the disabled-flag behavior

Also picks up OrchestrationV2 removal and orchestration_viewer_streamer addition from master.

Why

Both flags were already in the default feature set, making all the is_enabled() checks permanently true. Removing them reduces technical debt and dead code.

Agent Mode

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

CHANGELOG-NONE


Oz conversation

Both flags were in the default feature set (enabled for all builds). Remove
them from the FeatureFlag enum, Cargo.toml, and all runtime is_enabled()
checks. Dead code paths (the legacy child-agent status card in the status bar,
the flag-guarded early return in inherit_share_for_local_child) are removed.
The ChildAgentStatusCard view is also removed since it was only rendered when
OrchestrationPillBar was off.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jun 5, 2026
Co-Authored-By: Oz <oz-agent@warp.dev>
@cephalonaut cephalonaut force-pushed the matthew/remove-orch-pill-bar-flags branch from 62d324a to fcefb6c Compare June 5, 2026 15:56
@cephalonaut cephalonaut marked this pull request as ready for review June 5, 2026 15:56
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented Jun 5, 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 removes the always-enabled OrchestrationPillBar and OrchestrationViewerPillBar feature flags, deletes the legacy child-agent status card fallback, and simplifies the active pill-bar/shared-session viewer paths. I did not find a concrete security issue in the changed code.

Concerns

  • The change affects user-visible orchestration UI surfaces and shared-session viewer behavior, but the PR description does not include screenshots or a screen recording. For this user-facing change, please include screenshots or a short recording demonstrating the orchestration pill bar and viewer behavior working 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

…without cfg gate

The import was accidentally gated to non-WASM during the master merge, but
the WASM-specific match arm in dispatch_start_agent_conversation uses it.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cephalonaut cephalonaut requested a review from advait-m June 5, 2026 16:48
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.

nice! agree good to clean-up now

@cephalonaut cephalonaut merged commit 457ffad into master Jun 5, 2026
26 checks passed
@cephalonaut cephalonaut deleted the matthew/remove-orch-pill-bar-flags branch June 5, 2026 21:54
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