fix(process): coalesce delayed capture progress

Retain one pending intermediate observation and drop stale live status before terminal cleanup. Preserve monotonic counts and final delivery while an observer is slow or rejects an update.

Verify the send rate at its controlled-clock owner and lifecycle notification density at the CLI/MCP boundary, where receive timestamps include buffering and scheduling.
This commit is contained in:
N0zoM1z0
2026-10-10 17:33:17 +08:00
parent 2fc47976a0
commit 9a4fdbeb52
5 changed files with 203 additions and 32 deletions
+4 -2
View File
@@ -74,8 +74,10 @@ percentage. `message` reports elapsed time and those counts. The final line uses
`timeout`, `idle_timeout`, `cancelled`, or `failed`) plus the owned-process,
renderer, and temporary-root cleanup states. Updates use the shared progress
boundary and are limited to one intermediate line per 100 ms; the terminal line
is always emitted. Progress never copies child output. Child output remains in
the capture Evidence on stdout.
is always emitted. If a receiver is slow, intermediate observations are merged
into the latest status, and stale live observations are discarded before final
cleanup status. Progress never copies child output. Child output remains in the
capture Evidence on stdout.
For example: