Skip to content

Temporarily disable the orchestration panel and remove its setting - #38045

Merged
brennanb2025 merged 2 commits into
mainfrom
brennanb2025/suspend-orchestration-panel
Nov 4, 2026
Merged

brennanb2025 merged 2 commits into
mainfrom
brennanb2025/suspend-orchestration-panel

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

The orchestration panel has caused a second performance incident: repeated crew graph updates retain older record maps and can exhaust Orca's memory while agents work unattended. Temporarily disable the panel for everyone, including users who previously enabled it, and remove its Experimental Settings toggle and search result.

The existing panel mount gate now stays off. Saved preferences remain on disk and are ignored; chats, terminals and agent orchestration commands continue to work. This removes the current desktop UI consumers without changing the server subscription protocol.

Temporary: panel suspension pending the retention repair tracked in STA-13738. This PR does not fix the underlying leak. Intended: preserve the server protocol for mixed client/server versions. Older clients can still subscribe, and open mobile PR #37726 would add a new subscriber if merged; it must remain held or address that exposure before landing.

Validation: all 12 CI unit-test shards, static analysis/typecheck, and package checks (including Windows) pass. The three affected renderer suites pass 14 tests; saved-opt-in regressions fail before the change and pass after it. Branch Settings screenshots pass in dark/light, and the native chat fixture keeps the composer visible with the panel absent. Independent reviews pass with no findings. The broad local dependency-selected check hit resource/time limits and is not counted as a pass.

(screenshot removed: contained real product data)

(screenshot removed: contained real product data)

(screenshot removed: contained real product data)

Files Added Deleted Net
Test 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​51 $\color{#cf222e}{\Huge{\mathbf{−}}}$​280 $\color{#cf222e}{\Huge{\mathbf{−}}}$​229
Prod 18 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5 $\color{#cf222e}{\Huge{\mathbf{−}}}$​220 $\color{#cf222e}{\Huge{\mathbf{−}}}$​215

@brennanb2025
brennanb2025 marked this pull request as ready for review November 4, 2026 05:42
@brennanb2025
brennanb2025 marked this pull request as draft November 4, 2026 05:44
@brennanb2025
brennanb2025 marked this pull request as ready for review November 4, 2026 05:45
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The orchestration panel availability hook now returns false, regardless of saved opt-ins. The experimental panel setting and its search entries are removed from the Settings pane and locale files. Tests now verify that the panel remains absent after settings hydration, and that the transcript remains unchanged. Other panel interaction tests explicitly mock the availability hook as enabled.

Merge Risk: Minimal · up to 2edac

The panel and its setting are suspended while chat remains available. No merge-blocking issue was identified.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: disabling the orchestration panel and removing its setting.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description clearly explains the problem, user-visible change, implementation approach, linked issue, compatibility risks, validation results, and visual proof. It does not use the template headin…
Full details: Description check

Explanation

The description clearly explains the problem, user-visible change, implementation approach, linked issue, compatibility risks, validation results, and visual proof. It does not use the template headings or include the full checklist, explicit risk level, rollback guidance, or agent-skill declaration, but the required information is mostly present.

Full details: Docstring Coverage

Explanation

Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 7 files.

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 51bc71e0-ef2f-427f-a98f-541b261a3368
Commits

Reviewing files that changed from the base of the PR and between c3212f0 and 2edacdf.

Files selected for processing: 22
  • src/renderer/src/components/native-chat/NativeChatStructuredSession.crew-pane.test.tsx
  • src/renderer/src/components/orchestration-crew/NativeChatCrewPanel.tsx
  • src/renderer/src/components/orchestration-crew/TerminalCrewPortals.test.tsx
  • src/renderer/src/components/orchestration-crew/orchestration-panel-enabled.test.tsx
  • src/renderer/src/components/orchestration-crew/use-orchestration-panel-enabled.ts
  • src/renderer/src/components/settings/advanced/ExperimentalPane.fixture.tsx
  • src/renderer/src/components/settings/advanced/ExperimentalPane.tsx
  • src/renderer/src/components/settings/advanced/experimental-search.ts
  • src/renderer/src/components/settings/orchestration/OrchestrationPanelExperimentalSetting.tsx
  • src/renderer/src/components/settings/orchestration/orchestration-panel-experimental-search.ts
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json
  • tests/component-fixtures/orchestration-crew-card.spec.ts
Files with no reviewable changes: 15
  • src/renderer/src/components/settings/advanced/ExperimentalPane.tsx
  • src/renderer/src/components/settings/orchestration/orchestration-panel-experimental-search.ts
  • src/renderer/src/components/settings/orchestration/OrchestrationPanelExperimentalSetting.tsx
  • src/renderer/src/components/settings/advanced/experimental-search.ts
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/ko.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

@brennanb2025

brennanb2025 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

The orchestration panel was suspended after a second performance incident involving retained crew graph generations. This PR turns it off for everyone on the updated client, including saved opt-ins, and removes its Experimental Settings toggle and search entry. Chats, terminals, and agent orchestration commands remain available.

Independent correctness, architecture, and final comparison reviews passed with no findings. The reviewed suspension is unchanged after merging main in 2edacdffa577e248461241ea553329f9d6446ded; its stable patch ID is identical. The existing-user hydration regression failed before the change and passes after it. The three affected renderer suites pass 14 tests, renderer and node typechecks pass, and branch screenshots pass with the saved opt-in enabled. No real-agent lifecycle run was required for these visibility/settings flows.

CI passed on 2edacdffa577e248461241ea553329f9d6446ded: all 12 unit-test shards, static analysis/typecheck, package checks including Windows, and the required aggregate check. The broader local dependency-selected check exceeded shared resource/time limits; it is not counted as a pass.

Temporary suspension, not a repair of the backend leak: tracked in STA-13738. Intended compatibility limit: older clients can still subscribe. Open #37726 would add a mobile subscriber and must remain held or address that exposure before landing. No other fixes or review findings were deferred.

For Brennan’s review: Settings no longer offers the toggle, and the native chat fixture keeps the composer visible while the panel is absent. Screenshot and renderer-test evidence from a6a895c5b8c0c70ea14b0712de7f483eefa66e23 carries across the main-only merge above.

(screenshot removed: contained real product data)

(screenshot removed: contained real product data)

(screenshot removed: contained real product data)

Key spots: saved opt-ins cannot enable the panel, transcript remains outside panel admission, unchanged subscription protocol for older clients.

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.

1 participant