Skip to content

Promote APFS shared paths from experimental - #8318

Merged
nwparker merged 1 commit into
mainfrom
nwparker/apfs-default
Jul 11, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/apfs-default

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Summary

  • remove the experimental shared-paths toggle and search entry
  • show per-repository shared-path configuration by default
  • always materialize configured paths for local worktrees, using APFS clone-copy on macOS with the existing symlink fallback
  • remove the retired experimental setting and telemetry key

Validation

  • pnpm typecheck
  • 853 targeted Vitest tests covering APFS/shared paths and worktree creation
  • automated four-reviewer pass: no findings

Performance

Repositories without configured shared paths do no additional work. Repositories with configured paths use the existing bounded materialization path only during worktree creation.

@nwparker
nwparker merged commit 8009672 into main Jul 11, 2026
1 of 3 checks passed
@nwparker
nwparker deleted the nwparker/apfs-default branch July 11, 2026 21:24
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: a06f524b-9b5b-41a3-8d70-d1c5f26b637d

📥 Commits

Reviewing files that changed from the base of the PR and between b18ec39 and f5bb035.

📒 Files selected for processing (10)
  • src/main/codex-accounts/runtime-home-service.test.ts
  • src/main/codex-accounts/service.test.ts
  • src/main/ipc/worktree-remote.ts
  • src/main/runtime/orca-runtime.ts
  • src/renderer/src/components/settings/ExperimentalPane.tsx
  • src/renderer/src/components/settings/RepositoryPane.tsx
  • src/renderer/src/components/settings/experimental-search.ts
  • src/shared/constants.ts
  • src/shared/telemetry-events.ts
  • src/shared/types.ts

📝 Walkthrough

Walkthrough

The experimental worktree symlink setting was removed from global settings types, defaults, telemetry, test fixtures, and experimental settings search/UI. Local worktree creation now creates configured linked paths whenever repository symlink paths are present. Repository settings visibility no longer depends on the removed flag, while remote worktree behavior remains restricted and its explanatory comment was updated.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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

Comment @coderabbitai help to get the list of available commands.

AmethystLiang added a commit that referenced this pull request Jul 11, 2026
…romoted worktree symlinks

Merging main surfaced two semantic conflicts against this branch's tests:

- #8322 exposed right-click paste on every platform, so the settings
  navigation metadata now indexes it even when only the terminal host is
  Windows. Update the stale assertion accordingly.
- #8318 promoted APFS worktree shared paths by dropping the
  experimentalWorktreeSymlinks gate, so WorktreeSymlinksSection now always
  mounts inside RepositoryPane and reads window.api.fs. Stub a minimal
  renderer fs bridge in the pane test, matching the AppearancePane pattern.

Co-authored-by: Orca <[email protected]>
AmethystLiang added a commit that referenced this pull request Jul 12, 2026
* Add host removal lifecycle safeguards and credential cleanup retry UI

- Sequence host removal so metadata commits before the client socket
  closes, avoiding a stranded host when storage fails, and add a
  cancellable open-registry to stop races between host-client opens
  and closes/unmounts.
- Queue AsyncStorage host-list mutations (rename/removal/lastConnected)
  to prevent concurrent writers from clobbering each other's changes.
- Track keychain credential cleanups that fail or time out as durable
  pending intents, surfaced with a manual retry affordance in Settings.

* Fix host removal error handling to reopen confirm dialog and alert user

Previously a failed host removal silently closed the confirm dialog,
leaving the host listed with no feedback and no easy retry path. Now
the confirm modal reopens and an alert surfaces the failure so the
user can retry.

* test: reconcile settings tests with universal right-click paste and promoted worktree symlinks

Merging main surfaced two semantic conflicts against this branch's tests:

- #8322 exposed right-click paste on every platform, so the settings
  navigation metadata now indexes it even when only the terminal host is
  Windows. Update the stale assertion accordingly.
- #8318 promoted APFS worktree shared paths by dropping the
  experimentalWorktreeSymlinks gate, so WorktreeSymlinksSection now always
  mounts inside RepositoryPane and reads window.api.fs. Stub a minimal
  renderer fs bridge in the pane test, matching the AppearancePane pattern.

Co-authored-by: Orca <[email protected]>

---------

Co-authored-by: Orca <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Add host removal lifecycle safeguards and credential cleanup retry UI

- Sequence host removal so metadata commits before the client socket
  closes, avoiding a stranded host when storage fails, and add a
  cancellable open-registry to stop races between host-client opens
  and closes/unmounts.
- Queue AsyncStorage host-list mutations (rename/removal/lastConnected)
  to prevent concurrent writers from clobbering each other's changes.
- Track keychain credential cleanups that fail or time out as durable
  pending intents, surfaced with a manual retry affordance in Settings.

* Fix host removal error handling to reopen confirm dialog and alert user

Previously a failed host removal silently closed the confirm dialog,
leaving the host listed with no feedback and no easy retry path. Now
the confirm modal reopens and an alert surfaces the failure so the
user can retry.

* test: reconcile settings tests with universal right-click paste and promoted worktree symlinks

Merging main surfaced two semantic conflicts against this branch's tests:

- stablyai#8322 exposed right-click paste on every platform, so the settings
  navigation metadata now indexes it even when only the terminal host is
  Windows. Update the stale assertion accordingly.
- stablyai#8318 promoted APFS worktree shared paths by dropping the
  experimentalWorktreeSymlinks gate, so WorktreeSymlinksSection now always
  mounts inside RepositoryPane and reads window.api.fs. Stub a minimal
  renderer fs bridge in the pane test, matching the AppearancePane pattern.

Co-authored-by: Orca <[email protected]>

---------

Co-authored-by: Orca <[email protected]>
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