orca/config/scripts
Trevin Chow bf51593706
fix(worktree): make generated workspace names unique across repos (#2857)
Auto-generated workspace names walked the marine-creature list in order
and deduped only within the active repo (the default when workspaces are
nested), so the first auto-named worktree in every repo landed on
"Nautilus". That guaranteed identical branch names across repos, which
appear flat and indistinguishable in the sidebar.

The in-order walk also produced "Nautilus-2", "Nautilus-3", ... within a
single repo: the suggester ignores branches left behind by deleted
worktrees, so it kept re-proposing "Nautilus", and the create-time retry
loop suffixed it to dodge the lingering branch. Random selection now
yields a fresh creature each time instead of marching the same name.

- Dedup against worktrees in every repo, not just the active one
- Pick randomly from the unused pool instead of the first list entry
- Lowercase the result to match branch-name convention (fix/seahorse)
- Expand the corpus 260 -> 552 (more marine species plus public-domain
  mythological sea creatures) so random picks rarely repeat

getSuggestedCreatureName drops the now-unused repoId/nestWorkspaces
params; the RNG is injectable for deterministic tests.

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-05-28 20:41:10 -04:00
..
styled-scrollbars Clean up styled scrollbar guard 2026-05-20 10:38:23 -07:00
build-computer-macos.mjs Add native computer-use automation (#1683) 2026-05-11 14:20:08 -07:00
build-relay.mjs fix: address review findings (#2130) 2026-05-16 17:13:01 -07:00
check-feature-wall-assets.mjs feat(onboarding): add feature wall tour (#1772) 2026-05-14 15:20:49 -07:00
check-styled-scrollbars.mjs Clean up styled scrollbar guard 2026-05-20 10:38:23 -07:00
check-styled-scrollbars.test.mjs Clean up styled scrollbar guard 2026-05-20 10:38:23 -07:00
computer-use-smoke.mjs Add native computer-use automation (#1683) 2026-05-11 14:20:08 -07:00
dev-fresh-profile.sh feat: onboarding flow for new users (#1596) 2026-05-08 14:17:50 -07:00
electron-builder-config.test.mjs Fix Linux package icon sizes (#2538) 2026-05-21 13:54:31 -07:00
ensure-native-runtime.mjs fix: Node native runtime rebuild verification (#2845) 2026-05-26 19:15:42 -07:00
ensure-native-runtime.test.mjs fix: Node native runtime rebuild verification (#2845) 2026-05-26 19:15:42 -07:00
install-dev-cli.mjs
install-electron-package-binary.mjs Preserve Electron framework symlinks (#2958) 2026-05-27 18:13:25 -07:00
install-electron-package-binary.test.mjs Preserve Electron framework symlinks (#2958) 2026-05-27 18:13:25 -07:00
marine-creatures-parity.test.mjs fix(worktree): make generated workspace names unique across repos (#2857) 2026-05-28 20:41:10 -04:00
orca-dev Add web runtime client support 2026-05-15 05:44:25 -04:00
package-electron-runtime-contract.test.mjs Handle already-bumped patch release cuts 2026-05-27 17:29:48 -07:00
pty-batch-flush-benchmark.mjs Bound PTY batch flushes to reduce typing latency spikes (#2724) 2026-05-23 20:01:06 -07:00
publish-complete-draft-releases.mjs Fix release-cut draft RC recovery (#1942) 2026-05-15 11:33:05 -07:00
publish-complete-draft-releases.test.mjs Fix release-cut draft RC recovery (#1942) 2026-05-15 11:33:05 -07:00
rebuild-native-deps.mjs Fix Electron binary repair in release CI 2026-05-27 17:25:22 -07:00
rebuild-native-deps.test.mjs Fix Electron binary repair in release CI 2026-05-27 17:25:22 -07:00
run-electron-vite-build.mjs
run-electron-vite-dev.mjs Show sleeping workspaces by default (#2514) 2026-05-21 02:12:22 -07:00
run-internal-dev-setup.mjs Fix Windows setup hook script (#2106) 2026-05-16 17:44:42 -04:00
run-internal-dev-setup.test.mjs Fix Windows setup hook script (#2106) 2026-05-16 17:44:42 -04:00
terminal-e2e-helpers.mjs
vendor-feature-wall-assets.mjs feat(onboarding): add feature wall tour (#1772) 2026-05-14 15:20:49 -07:00
verify-computer-native.mjs Add native computer-use automation (#1683) 2026-05-11 14:20:08 -07:00
verify-macos-entitlements.mjs fix: verify macOS entitlements before release 2026-05-14 19:02:37 -07:00
verify-macos-release-env.mjs
verify-release-required-assets.mjs fix: expect debian release artifact name 2026-05-14 19:37:04 -07:00
verify-release-required-assets.test.mjs Fix updater release asset readiness checks (#2870) 2026-05-26 19:52:25 -07:00
verify-telemetry-constants.mjs ci(telemetry): inject ORCA_POSTHOG_WRITE_KEY + ORCA_BUILD_IDENTITY at release build time (#1418) 2026-05-04 21:43:22 -07:00
verify-web-build.mjs Add web runtime client support 2026-05-15 05:44:25 -04:00