Skip to content

v2.55.5

Choose a tag to compare

@m-aebrer m-aebrer released this 11 Aug 20:47
· 32 commits to master since this release
80dc843

Bound dashboard runtime events before RPC serialization

Dashboard child processes now project cumulative streaming state before the internal RPC JSONL boundary and use bounded stdout backpressure handling.

What changed

  • Linear dashboard streaming. Dashboard-mode message_update frames omit cumulative message and assistantMessageEvent.partial fields before serialization, while preserving deltas and final content.
  • Nested event coverage. The same projection applies recursively to background-agent streaming events.
  • Protocol compatibility. Generic RPC consumers retain the full wire shape; final message_end events and dashboard snapshots remain authoritative and complete.
  • Bounded stdout queues. Raw stdout writes now honor backpressure, flush queued frames in order, and fail loudly if accumulated backlog exceeds 16 MiB.
  • Large snapshot safety. One legitimate oversized protocol frame can drain without being mistaken for accumulated backlog; subsequent queued writes remain cap-enforced.
  • Regression coverage. Tests prove bounded frame sizes, near-linear aggregate bytes, queue ordering, takeover-path behavior, diagnostic flushing, and cap enforcement.

Implemented in PR 452.