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(codex): app-server stdout keeps draining while notification handlers wait
#28711
Send to my agent
Closed
juliusmarminge
wants to merge 9 commits into
main
from
refs/pull/28711/head
·
opened
last month
View on GitHub
Conversation
18
Commits
9
Files changed
3
Impact
Showing
3 changed files
with
91 additions
and
33 deletions
.
x
0 of 3 viewed, 3 left
Files
Hide whitespace
Unified
Split
9 additions and 4 deletions
+9
-4
apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts
Modified
Diff
Before/After
Viewed
apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts
View file
Expand up
Show all 4,763 lines
@@ -4764,15 +4764,20 @@
4764
4764
};
4765
4765
}),
4766
4766
);
4767
+
// Holding item/completed in its handler means the earlier delta was already handled
4768
+
// and its flush timer started, so one clock step shows the streaming update.
4769
+
let
completedCount =
0
;
4767
4770
const
harness =
yield
*
makeCodexReplayHarness
(
4768
4771
transcript,
4769
4772
undefined
,
4770
4773
undefined
,
4771
4774
undefined
,
4772
-
(entry) => {
4773
-
const
gate = streamed
4774
-
? gates.
find
((gate) => entry.
label
===
`item/completed/
${
gate.
id
}
`
)
4775
-
:
undefined
;
4775
+
undefined
,
4776
+
undefined
,
4777
+
undefined
,
4778
+
(method) => {
4779
+
const
gate =
4780
+
streamed && method ===
"item/completed"
? gates[completedCount++] :
undefined
;
4776
4781
return
gate ===
undefined
4777
4782
?
Effect
.
void
4778
4783
:
Deferred
.
succeed
(gate.
ready
,
undefined
).
pipe
(
Expand down
Show all lines
53 additions and 0 deletions
+53
-0
packages/effect-codex-app-server/src/protocol.test.ts
Modified
Diff
Before/After
Viewed
packages/effect-codex-app-server/src/protocol.test.ts
View file
Expand up
Show all 463 lines
@@ -464,6 +464,59 @@
Home
Search
Explore
Menu