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): agent-created schedules in projects without Git no longer fail every run
#18583
Send to my agent
Closed
ghost
wants to merge 5 commits into
main
from
refs/pull/18583/head
·
opened
2 months ago
View on GitHub
Conversation
12
Commits
5
Files changed
2
Impact
Showing
2 changed files
with
191 additions
and
11 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
158 additions and 0 deletions
+158
-0
apps/server/src/mcp/OrchestratorMcpService.test.ts
Modified
Diff
Before/After
Viewed
apps/server/src/mcp/OrchestratorMcpService.test.ts
View file
Show all 2 lines
@@ -3,7 +3,9 @@
3
3
import
{
4
4
CommandId
,
5
5
EnvironmentId
,
6
+
GitCommandError
,
6
7
MessageId
,
8
+
type
OrchestratorMcpFailure
,
7
9
NodeId
,
8
10
ORCHESTRATOR_MCP_RUNNING_TASK_NEXT
,
9
11
type
OrchestratorMcpCapabilitiesResult
,
Show all 16 lines
@@ -26,6 +28,7 @@
26
28
import
*
as
Layer
from
"effect/Layer"
;
27
29
import
*
as
Ref
from
"effect/Ref"
;
28
30
import
*
as
Schema
from
"effect/Schema"
;
31
+
import
{
ChildProcessSpawner
}
from
"effect/process"
;
29
32
30
33
import
{
CodexProviderCapabilitiesV2
}
from
"../orchestration-v2/Adapters/CodexAdapterV2.ts"
;
31
34
import
*
as
CommandReceiptStore
from
"../orchestration-v2/CommandReceiptStore.ts"
;
Expand up
Expand down
Show all 2,531 lines
@@ -2563,6 +2566,161 @@
2563
2566
}),
2564
2567
);
2565
2568
2569
+
describe
(
"scheduled tasks that start a fresh thread per run"
, () => {
2570
+
const
projectId =
ProjectId
.
make
(
"project:fresh-runs"
);
2571
+
const
client:
McpInvocationScope
= {
2572
+
environmentId
:
EnvironmentId
.
make
(
"environment:fresh-runs"
),
2573
+
requestNamespace
:
"client:fresh-runs"
,
2574
+
thread
:
undefined
,
Home
Search
Explore
Menu