Repository navigation
Add experimental multi-machine picker - #3563
Merged
Merged
Conversation
ymichael
force-pushed
the
bb/add-machine-search-to-picker-thr_naxivupsnv
branch
4 times, most recently
from
September 12, 2026 05:45
9e18640 to
efe469d
Compare
ymichael
force-pushed
the
bb/add-machine-search-to-picker-thr_naxivupsnv
branch
from
September 13, 2026 20:19
efe469d to
1c9d590
Compare
ymichael
added a commit
that referenced
this pull request
Sep 23, 2026
## Human comments ## What was wrong The searchable, target-first environment and machine pickers from #3563 were gated behind the default-off `multiMachinePicker` experiment, so most users still got the grouped environment menu. That menu lists every machine with all of its environment options, which gets long with many machines, and machine-only pickers had no search. The feature is ready to launch to everyone. ## What changed - `packages/domain`: removed the `multiMachinePicker` experiment key and default. - `apps/app`: removed the Settings → Experiments toggle, the config-atom default, and the `multiMachinePickerEnabled` prop from `EnvironmentPickerUI`, `MachinePickerUI` and `NewThreadPromptBox`. Search now depends only on the machine count: - environment picker: at least 3 machines gives the target-first layout with search; - machine-only picker: more than 5 machines adds search. - Tests and stories: deleted the tests for the experiment being off or passed through, plus a redundant CLI experiment-toggle test. Removed the key from the remaining fixtures. - Docs: removed the experiment's entry from `docs/configuration.md`, the bb-guide customization template and the bb-cli skill's `app-settings.md`. `CHANGELOG.md` is left alone because its line describes the released 0.43.3. - Existing stored `multiMachinePicker` rows are harmless: unknown `system_experiments` keys are ignored on read, which `packages/db/test/experiments.test.ts` already covers. - No wire changes and no `HOST_DAEMON_PROTOCOL_VERSION` bump. Experiments go between the server and the app only. ## How you verified - `pnpm exec turbo run typecheck lint` for `@bb/app`, `@bb/domain`, `@bb/cli`, `@bb/server`, `@bb/db` and `@bb/desktop`: pass (app lint reports 0 errors). - Affected test files pass: - `apps/app`: pickers/, NewThreadPromptBox, SettingsView.experiments and AppLayout fixtures (182 tests); - `apps/server/test/system/experiments.test.ts`; - `apps/cli` settings command-output; - `packages/db/test/experiments.test.ts`; - `apps/desktop/test/preload-build.test.ts`; - `@bb/templates` tests. - Manual QA with `pnpm start:worktree` at this commit, using a project with 6 machines (1 connected, 5 seeded offline): - The environment picker opens target-first with search. `mcs` fuzzy-matches Mac Studio, and selecting it shows that machine's environment options disabled with its last-seen time. - In a no-project composer, the machine-only picker shows search with 6 machines, and `gpu` filters to GPU workstation. - Settings → Experiments no longer lists Multi-machine picker. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The environment picker grouped every available environment under every machine, so adding machines repeated options and pushed frequently used choices below the fold. The machine-only picker also had no way to narrow a long host list.
What changed
multiMachinePickerexperiment, exposed through Settings andbb settings experiment multiMachinePicker <true|false>.Environment picker
Before:
After:
Machine picker
Before:
After searching:
How you verified
pnpm exec turbo run test --filter=@bb/app -- --run src/components/pickers/EnvironmentPicker.test.tsx src/components/plugin/PluginNewThreadComposer.test.tsx src/views/RootComposeView.test.ts(144 tests)@bb/server,@bb/domain,@bb/db,@bb/cli, and@bb/desktop(16 tests)pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/server --filter=@bb/domain --filter=@bb/db --filter=@bb/cliFixes #3562