Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(worktrees): manage lifecycle on orchestrator v2 #5589

ClosedStiensWout(GitHub profile, opens in a new tab)wants to merge 8 commits intot3code/codex-turn-mapping fromrefs/pull/5589/headopened View on GitHub

Showing 49 changed files with 7 additions and 0 deletions (loading 46).

x
0 of 49 viewed, 49 left
3 additions and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -156,6 +156,9 @@
[WS_METHODS.gitResolvePullRequest]: AuthOrchestrationOperateScope,
[WS_METHODS.gitPreparePullRequestThread]: AuthOrchestrationOperateScope,
[WS_METHODS.vcsListRefs]: AuthOrchestrationReadScope,
+ [WS_METHODS.vcsListWorktrees]: AuthOrchestrationReadScope,
+ [WS_METHODS.subscribeWorktreeInventory]: AuthOrchestrationReadScope,
+ [WS_METHODS.vcsPruneWorktrees]: AuthOrchestrationOperateScope,
[WS_METHODS.vcsCreateWorktree]: AuthOrchestrationOperateScope,
[WS_METHODS.vcsRemoveWorktree]: AuthOrchestrationOperateScope,
[WS_METHODS.vcsCreateRef]: AuthOrchestrationOperateScope,
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -245,6 +245,7 @@
serverResolvedCommandContext: true,
environmentIcon: true,
projectCloneTracking: true,
+ worktreeManagement: true,
...(serverSelfUpdate === null ? {} : { serverSelfUpdate }),
// V2 restart recovery uses the environment-owned opt-in. The old
// per-update request flag is not wired into the V2 update RPC path.
3 additions and 0 deletionsapps/server/src/git/GitWorkflowService.test.tsModified
View file
@@ -10,6 +10,7 @@
import * as GitWorkflowService from "./GitWorkflowService.ts";
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
import * as VcsDriverRegistry from "../vcs/VcsDriverRegistry.ts";