Skip to content

[codex] Add per-repo workspace locations#888

Open
aidxun wants to merge 7 commits into
mainfrom
aidxun/repo-workspace-location
Open

[codex] Add per-repo workspace locations#888
aidxun wants to merge 7 commits into
mainfrom
aidxun/repo-workspace-location

Conversation

@aidxun

@aidxun aidxun commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a repository-level workspace location setting so each repo can choose where new worktree workspace directories are created.
  • Persist the selected parent path on newly created workspaces so existing workspaces keep resolving to their original location even if the repo setting changes later.
  • Update workspace path resolution, watcher setup, changes lookup, agent contexts, deletion, and cleanup flows to respect materialized worktree parent paths.
  • Add a Changesets entry and pending in-app announcement for the new user-visible setting.

Validation

  • bun run typecheck
  • bun x vitest run src/features/settings/panels/repository-settings.test.tsx
  • cd src-tauri && cargo test
  • cd src-tauri && cargo test custom_worktree_parent_path
  • bun run lint (passes; Biome still reports an existing optional-chain warning in src/features/composer/input-history.ts)
  • git diff --check

Closes #892

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
helmor-marketing Ignored Ignored Preview Jun 25, 2026 9:50am

Request Review

@aidxun aidxun marked this pull request as ready for review June 23, 2026 12:01
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jun 23, 2026
aidxun added 3 commits June 24, 2026 13:34
…-location

# Conflicts:
#	src-tauri/src/git/watcher.rs
#	src-tauri/src/models/workspaces.rs
#	src-tauri/src/schema.rs
#	src-tauri/src/workspace/files/changes.rs
#	src-tauri/src/workspace/helpers.rs
#	src-tauri/src/workspace/workspaces.rs
#	src/features/settings/panels/repository-settings.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support custom workspace locations per repository

1 participant