Surface project Worktree Folder settings#350
Open
parsakhaz wants to merge 1 commit into
Open
Conversation
Member
Author
Codex PR Test Automation QAStatus: Pass for PR #350 first-pass QA. Tested branch Test marker: What I Tested
Screenshot EvidenceRepository menu and Project SettingsUpload manifest: GitHub Release tag Automated Checks
Persistence / Future Worktree EvidenceIsolated temp repo and temp SQLite database proof wrote {
"marker": "agent-e2e-pr350-backend",
"projectId": 1,
"persistedWorktreeFolder": "/var/folders/_g/m1ct2hts759cbkq3sd1kgy5r0000gn/T/pane-pr350-qvhSg5/custom-worktrees",
"createdWorktreePath": "/var/folders/_g/m1ct2hts759cbkq3sd1kgy5r0000gn/T/pane-pr350-qvhSg5/custom-worktrees/qa-pr-350-future-worktree",
"branch": "qa-pr-350-future-worktree",
"baseBranch": "HEAD",
"baseCommit": "f4d9665563dee90adb3876663931f103654fe51d"
}Environment Notes / Limits
Remaining human review: optional visual/manual review in a real Electron app session built from this branch; no product failure found in automated/manual first-pass QA. |
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.


Description
Closes #340.
This makes the existing per-project
Worktree Foldersetting reachable from each repository row's actions menu by adding aProject Settingsitem. It reuses the existingProjectSettingsmodal andprojects.updatesave path, including the existingworktree_folderbehavior rather than introducing a second settings surface.When a user saves a Worktree Folder for a project, Pane stores that project-level override and future worktrees for that project use the saved folder. Existing worktrees are not moved by this change.
Visual Overview
Type of Change
Testing
pnpm typecheckpnpm lintexits 0; existing repo warnings remainpnpm exec playwright test tests/smoke.spec.ts -g "Repository menu opens Project Settings with editable Worktree Folder"The focused Playwright test opens the repository actions menu, enters Project Settings, edits the Worktree Folder field, saves, and asserts
projects.updatereceivesworktree_folder.CI should execute this coverage because
.github/workflows/quality.ymlrunsxvfb-run -a pnpm test:ci:minimal, andplaywright.ci.minimal.config.tsincludessmoke.spec.ts.Checklist
pnpm typecheckandpnpm lintlocallypnpm electron-devCritical Areas Modified
Codex QA Summary
Status: Pass for PR #350 first-pass QA on branch
issue-340-worktree-folderat26d79347(basemain).Project Settings-> editableWorktree Folder; save asserted throughprojects.updatewithworktree_folder.worktree_folder, thenWorktreeManager.resolveWorkingDirectorycreatedqa-pr-350-future-worktreeunder the saved custom folder. Marker:agent-e2e-pr350-backend.pnpm typecheck,pnpm lint,pnpm run build:main,pnpm run build:frontend,pnpm --filter runpane build,runpane doctor --json, andpnpm electron:rebuildafter Node-side native-module testing.pnpm lintexited 0 with existing warnings; RunPane doctor reached installed Pane 2.4.29 and reported no darwin/arm64 dmg inpr-assets, which is unrelated to this PR. Screenshots and full QA evidence are in the marked Codex QA comment.