hermes-agent/apps
teknium1 8fe9706da8 fix(bootstrap): make read_decoded_line cancel-safe under tokio::select!
The salvaged helper cleared its line buffer on entry. Inside run_script's
tokio::select! loop, a stdout line arrival cancels the in-flight stderr
read (and vice versa); read_until had already consumed bytes into the
buffer, and the next call's clear() silently dropped that partial line.

Keep partially-read bytes across cancellation (clear only after a full
line is decoded) and emit an unterminated final line at EOF instead of
swallowing it. Adds a cancellation regression test (fails against the
clear-on-entry version) and an EOF-tail test.
2026-07-19 01:21:59 -07:00
..
bootstrap-installer fix(bootstrap): make read_decoded_line cancel-safe under tokio::select! 2026-07-19 01:21:59 -07:00
desktop fmt(js): npm run fix on merge (#67311) 2026-07-19 04:31:52 +00:00
shared fmt(js): npm run fix on merge (#66983) 2026-07-18 15:12:47 +00:00