Repository navigation
Commit febeaf7
test(server): hold Codex final-answer gates in the notification handler
The streamed final-answer test held each item/completed before the replay
emitted it, then advanced the clock one step, assuming the preceding delta
had already reached the adapter. With stdout now routed through a queue,
that delta can still be in flight, so the flush timer is not yet scheduled
and the test waits forever. Holding item/completed in its handler instead
guarantees the delta handler already ran.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent fa00d2a commit febeaf7
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4764 | 4764 | | |
4765 | 4765 | | |
4766 | 4766 | | |
| 4767 | + | |
| 4768 | + | |
| 4769 | + | |
4767 | 4770 | | |
4768 | 4771 | | |
4769 | 4772 | | |
4770 | 4773 | | |
4771 | 4774 | | |
4772 | | - | |
4773 | | - | |
4774 | | - | |
4775 | | - | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
4776 | 4781 | | |
4777 | 4782 | | |
4778 | 4783 | | |
| |||
0 commit comments