Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
pingdotgg
/
t3code
Pull requests
pingdotgg
t3code
Public
Synced with GitHub
Popular #1
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
fix(server): resume threads after merged worktree branches are removed
#23132
Send to my agent
Closed
juliusmarminge
wants to merge 3 commits into
main
from
fix/issue-19124
·
opened
last month
View on GitHub
Conversation
5
Commits
3
Files changed
2
Impact
Showing
2 changed files
with
49 additions
and
6 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
29 additions and 1 deletion
+29
-1
apps/server/src/orchestration-v2/ProviderTurnStartService.test.ts
Modified
Diff
Before/After
Viewed
apps/server/src/orchestration-v2/ProviderTurnStartService.test.ts
View file
Show all 2 lines
@@ -3,6 +3,7 @@
3
3
import
{ it
as
effectIt }
from
"@effect/vitest"
;
4
4
import
{
5
5
CheckpointScopeId
,
6
+
GitCommandError
,
6
7
MessageId
,
7
8
NodeId
,
8
9
ProviderSessionId
,
Expand up
Expand down
Show all 63 lines
@@ -72,6 +73,8 @@
72
73
[managedWorktreesDir]: managedWorktreesDir,
73
74
[
`
${
managedWorktreesDir
}
/project`
]:
`
${
managedWorktreesDir
}
/project`
,
74
75
},
76
+
createWorktreeImpl:
GitWorkflow
.
GitWorkflowService
[
"Service"
][
"createWorktree"
] = () =>
77
+
Effect
.
succeed
({}
as
never
),
75
78
) {
76
79
const
threadId =
ThreadId
.
make
(
"thread_provider_turn_start_projection_failure"
);
77
80
const
runId =
RunId
.
make
(
"run_provider_turn_start_projection_failure"
);
Expand up
Expand down
Show all 42 lines
@@ -120,7 +123,7 @@
120
123
);
121
124
const
startRootRun = vi.
fn
(() =>
Effect
.
void
);
122
125
const
pruneWorktrees = vi.
fn
(() =>
Effect
.
void
);
123
-
const
createWorktree = vi.
fn
(() =>
Effect
.
succeed
({}
as
never
));
126
+
const
createWorktree = vi.
fn
(createWorktreeImpl);
124
127
const
layer =
ProviderTurnStart
.
layer
.
pipe
(
125
128
Layer
.
provide
(
126
129
Layer
.
mergeAll
(
Expand up
Expand down
Show all 129 lines
@@ -256,6 +259,31 @@
Home
Search
Explore
Menu