Skip to content

Launch the multi-machine picker to everyone - #4216

Merged
ymichael merged 1 commit into
mainfrom
bb/clean-up-multi-machine-picker-thr_g6xbbd97i6
Sep 23, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/clean-up-multi-machine-picker-thr_g6xbbd97i6

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

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

AGENT GENERATED

The searchable, target-first environment and machine pickers are now the
default. Remove the multiMachinePicker experiment key, its Settings toggle,
the prop threading through NewThreadPromptBox and the pickers, the
experiment-off tests, and the experiment docs. Stored values for the old
key are already ignored when experiments are read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ymichael
ymichael merged commit 2d5d5e3 into main Sep 23, 2026
18 checks passed
@ymichael
ymichael deleted the bb/clean-up-multi-machine-picker-thr_g6xbbd97i6 branch September 23, 2026 20:49
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