Skip to content

fix(tests+docs): reconcile with merged streaming rewrites - #29

Merged
MegumiinUwU merged 1 commit into
mainfrom
fix/reconcile-tests-docs-after-merge
Jul 3, 2026
Merged

fix(tests+docs): reconcile with merged streaming rewrites#29
MegumiinUwU merged 1 commit into
mainfrom
fix/reconcile-tests-docs-after-merge

Conversation

@MegumiinUwU

Copy link
Copy Markdown
Collaborator

The streaming code was rewritten upstream (no AbortSignal.timeout on stream fetches, client-disconnect handling via res.on('close')/res.destroyed, run.completed.summary streamed word-by-word, thinking at 10ms/word, synthetic 'error' events persisted). Align tests, docs, and diagrams:

  • Tests: give the mock Response on/off/destroyed so readAgentStream's disconnect wiring runs; add coverage for run.completed summary streaming and the error-event merge on mid-stream failure. 108 tests, messages.service 96%, overall line coverage 87%.
  • Docs: update DOCUMENTATION.md (streaming proxy, handleEvent, event union incl. 'error' + run.completed.summary, timeout semantics) and TESTING.md numbers.
  • Diagrams: update flow_handle_event, flow_send_message, and the event class diagrams; re-render PNGs.

The streaming code was rewritten upstream (no AbortSignal.timeout on stream
fetches, client-disconnect handling via res.on('close')/res.destroyed,
run.completed.summary streamed word-by-word, thinking at 10ms/word, synthetic
'error' events persisted). Align tests, docs, and diagrams:

- Tests: give the mock Response on/off/destroyed so readAgentStream's
  disconnect wiring runs; add coverage for run.completed summary streaming and
  the error-event merge on mid-stream failure. 108 tests, messages.service 96%,
  overall line coverage 87%.
- Docs: update DOCUMENTATION.md (streaming proxy, handleEvent, event union incl.
  'error' + run.completed.summary, timeout semantics) and TESTING.md numbers.
- Diagrams: update flow_handle_event, flow_send_message, and the event class
  diagrams; re-render PNGs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@MegumiinUwU
MegumiinUwU merged commit 33983ec into main Jul 3, 2026
1 check passed
@MegumiinUwU
MegumiinUwU deleted the fix/reconcile-tests-docs-after-merge branch July 3, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant