mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
The line-aggregating stray capture added two branches — the post-truncation early return and the residual-overflow admit — that the aggregation and split tests did not exercise, so per-file coverage dropped below 100%. A 2 MB newline-free native write under a 4 KiB maxLogBytes drives the residual across the budget (admit-and-truncate) and then short-circuits later chunks, asserting the captured output ends at the truncation marker and stays under budget rather than buffering the whole flood.