mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 23:20:46 +00:00
* fix(terminal): bound asynchronous Windows PATH refresh Replace blocking per-terminal registry queries with parallel async reads, a one-second deadline, and a shared five-second snapshot. Preserve machine before user PATH ordering and place guessed CLI directories last. Retain per-hive successful values when registry reads fail, and honor explicit PATH overrides without querying the registry. * fix(terminal): cancel pending local starts through boot epochs Register the existing pending boot controller before awaiting PATH refresh. Honor tab close and reconnect cancellation before spawning, and clear only the matching controller so stale completion cannot erase a newer boot. Regression tests reproduce both the closed-tab PTY spawn and stale-close ownership failures against the prior revision. * fix(terminal): abort pending starts before worker close queue Propagate an owned close to the existing pending boot controller before waiting for its serialized start. Keep transport cleanup ordered and keep stale boot-epoch closes from cancelling replacements. Exercise both fire-and-forget and awaited close messages through the real worker dispatcher and local-session bridge with a controlled PATH wait. * fix(terminal): cancel superseded worker starts before queuing Signal the existing boot-abort controller when a replacement arrives, reject stale boot epochs, and recheck queued epochs before startup. Only the latest reconnect may spawn after a pending PATH refresh. Cover repeated reconnect requests and delayed old starts/closes through the real worker dispatcher and local-session bridge.