Repository navigation
Disable the lagging experimental orchestration panel - #37527
Conversation
|
No actionable comments were generated in the recent review.
|
|
The experimental Orchestration panel caused app-wide lag after enabling it. This PR removes its Settings switch and search entry and prevents panel mounts, including when an existing user has a saved opt-in. Saved preferences and orchestration commands remain intact. Brennan requested “Just do one quick review w/ grok” after the original review service failed before doing any review. That quick independent review is complete: Grok traced the diff, panel mount callers, Settings/search removal, and suspension regression test. It found no blocking production issue and one low-severity stale fixture assertion. Commit 78b5db0 fixes that assertion to verify the native-chat card remains hidden with a saved opt-in while the composer stays visible. No production code changed after Grok’s review. No findings remain deferred. Validation: four renderer suites (23 tests), all five card fixture browser tests, the Settings screenshot, 41 incremental checks for the test correction, and CI on final head 78b5db0 passed. The earlier broad local test selection was stopped after it expanded into unrelated suites; CI’s selected suites passed. This is a quick Grok review, not a claim that the full review procedure ran. For Brennan’s review: Cherry-pick task: STA-13511. No merge or cherry-pick has been applied. |
* Disable the orchestration panel after reported app lag * test: expect suspended orchestration card to stay hidden (cherry picked from commit 7872cb5)

Enabling the experimental Orchestration panel caused noticeable app-wide lag in the latest hourly. Turning it off immediately improved responsiveness. The panel keeps hidden panes subscribed, and agent status/title updates trigger database reads and large workspace-state copies.
Remove the Orchestration panel switch and its settings search entry, and disable the common panel mount gate for terminal and native-chat surfaces. An existing saved opt-in cannot turn the panel back on in this build. The saved value is preserved; orchestration commands and runtime data are untouched. This suspension is intended at Brennan’s request.
Tracked in STA-13510.
Validation: restored enabled settings pass through the real renderer settings load and cannot mount panels or inspect terminal-pane lists across 172 mounted panes. Existing panel interaction coverage remains isolated from release availability. English and German settings rendering and search checks pass. Component-fixture screenshot confirms the switch is absent. The changed-file command passed all 40 non-test checks, including all selected typechecks. Its locale-catalog test selection expanded into unrelated suites and was stopped at 176 seconds; the four named renderer suites cover this change instead. CI passed on the final head.
Review: one quick Grok review at Brennan’s request, replacing the full review loop after its service failed before review started. Grok found no blocking production issue and one stale native-chat fixture expectation. The test now verifies that the card stays hidden with a saved opt-in while the composer stays visible; all five card fixture tests pass. The test-only correction passed all 41 incremental changed-file checks. CI passed on the final head, including the test-only correction. No persistence format, migration, ownership, lifecycle, ordering or wire behavior changes.
Cherry-pick requested in STA-13511, after review, CI and merge.