Repository navigation
feat(projects): per-project setup command and header quick actions (#153) - #660
Merged
currentbits merged 4 commits intoAug 22, 2026
Merged
Conversation
… We still have 5 items on in progress bt i think we finished
… Before when we had a pr it showed a link in the related thre
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
currentbits
deleted the
coder/fork-per-project-setup-script-auto-run-o-a19ee2
branch
October 3, 2026 16:07
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.
Closes #153.
A project can now carry a
setupCommandthat runs once after a new worktree is created, plus up to 8 namedquickActionsthat show as buttons in the thread header.What it does
setupWorktreefire-and-forgets the project'ssetupCommandin the new worktree. A failednpm installnever undoes the worktree, andsetupWorktreestays synchronous for its existing call sites.[setup] running <cmd>and[setup] ok in 12.3s/[setup] failed: exit 1 in 4swith a 1500-char log tail.How
electron/projectCommands.jsreuses the existingverify.jsshell runner rather than adding a second one. Setup gets a 30 min timeout (a coldnpm installbeats a test suite); named actions use the verify timeout. One in-flight command per thread. Command failure is a result, not a throw, matchingrunVerify.setupCommand/quickActionsnormalize inmigrateProjectandupdateProject; empty clears the key.threads:runCommandwired through ipc.js, ipcChannels.ts, preload.js, useCoder, devCoder and fakeCoder — the preload entry is present, so this does not repeat the Verify is broken on desktop: threads.setVerifyCommand/runVerify are missing from preload (web and dev have them) #622 drift.Size
1435 lines / 22 files, over the 400-line cap and opened deliberately. ~668 of those lines are tests; the rest is one coherent feature whose slices would not stand green alone.
Verification
Run on the worker's branch worktree:
npx tsc --noEmit— cleannode --test electron/test/{project-commands,store,projects-update,ipc-seam,worktree-setup-fail}.test.js— 88 pass / 0 failtest/{threadHeader,editProject,threadView}.test.tsx— 84 pass / 0 fail🤖 Generated with Claude Code