Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(runtime): drain Codex notifications before completion

4 weeks ago

59ef9c4
Authored
mweinbach8/27/2026, 11:53:05 PM
Deliver model stream parts in order, wait for accepted output before settling a turn, and propagate sink failures. Ignore notifications after terminal state while preserving interruption and disconnect deadlines.

Regression coverage locks backpressure, failures, cancellation, disposal, duplicate output, and interleaved exec/wait citations. Targeted tests and the full project verification lane pass.

Parent1241c38

3 files changed
  • src/runtime/codexAppServer/notifications.ts+55−21
  • test/runtime/codex-app-server/notifications.test.ts+317−15
  • test/runtime/codex-app-server/turn.test.ts+275−6