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): wait for delegated Claude background wake results
#24391
Send to my agent
Closed
juliusmarminge
wants to merge 3 commits into
main
from
fix/issue-24297
·
opened
last month
View on GitHub
Conversation
8
Commits
3
Files changed
2
Impact
Showing
2 changed files
with
117 additions
and
10 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
97 additions and 9 deletions
+97
-9
apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
Modified
Diff
Before/After
Viewed
apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
View file
Expand up
Show all 6,254 lines
@@ -6255,7 +6255,7 @@
6255
6255
);
6256
6256
6257
6257
it.
effect
(
6258
-
"uses task_started as an incremental roster fallback and clears on empty snapshot"
,
6258
+
"uses task_started as an incremental roster fallback and clears the internal roster on empty snapshot"
,
6259
6259
() =>
6260
6260
Effect
.
scoped
(
6261
6261
Effect
.
gen
(
function
* () {
Expand up
Expand down
Show all 55 lines
@@ -6317,15 +6317,16 @@
6317
6317
),
6318
6318
);
6319
6319
6320
-
yield
*
Queue
.
offer
(harness.
sdkMessages
, emptyRoster);
6321
-
yield
* harness.
until
(() =>
6322
-
providerThreadRosterEvents
(harness.
events
).
some
(
6323
-
(event) =>
6324
-
event.
providerThread
.
status
===
"idle"
&&
6325
-
(event.
providerThread
.
pendingBackgroundTasks
?.
length
??
0
) ===
0
,
6326
-
),
6327
-
);
6320
+
yield
* harness.
offerAndWait
(emptyRoster);
6328
6321
assert.
isFalse
(
yield
* harness.
hasPendingBackgroundWork
);
6322
+
// The exited command still owes its wake run, so the published roster keeps it.
6323
+
assert.
include
(
6324
+
(
6325
+
providerThreadRosterEvents
(harness.
events
).
at
(-
1
)?.
providerThread
6326
+
.
pendingBackgroundTasks
?? []
6327
+
).
map
((task) => task.
taskId
),
Home
Search
Explore
Menu