fix(process): resolve process manager deadlock on chartread & release v0.2.1 #83

Merged
gronod merged 7 commits from development into main 2026-08-25 13:07:38 +01:00
Owner

Summary of Changes

  • Process Manager Architecture: Decoupled ChildStdin mutex management from child.wait().
    • take() stdin at spawn and store ChildStdin in an independent stdins map.
    • Run child.wait() with a kill_rx oneshot channel in tokio::select!.
    • Fixes the deadlock where send_stdin and kill were blocked while chartread is waiting for calibration/interactive input.
    • Prevents premature closing of stdin on process spawn.
  • Version Bump: Bumped to v0.2.1 across package.json, Cargo.toml, tauri.conf.json, README.md, and ROADMAP.md.
## Summary of Changes - **Process Manager Architecture**: Decoupled `ChildStdin` mutex management from `child.wait()`. - `take()` stdin at spawn and store `ChildStdin` in an independent `stdins` map. - Run `child.wait()` with a `kill_rx` oneshot channel in `tokio::select!`. - Fixes the deadlock where `send_stdin` and `kill` were blocked while `chartread` is waiting for calibration/interactive input. - Prevents premature closing of stdin on process spawn. - **Version Bump**: Bumped to `v0.2.1` across `package.json`, `Cargo.toml`, `tauri.conf.json`, `README.md`, and `ROADMAP.md`.
gronod added 7 commits 2026-08-25 13:07:29 +01:00
fix(process): decouple ChildStdin from wait to prevent deadlock and premature closure
Build Windows Packages / Build Windows (push) Failing after 3m8s
Build Linux Packages / Build Linux (push) Failing after 4m29s
d6118a1e1e
chore(release): bump package.json to v0.2.1
Build Linux Packages / Build Linux (push) Failing after 4m44s
Build Windows Packages / Build Windows (push) Failing after 3m6s
fe2f69d521
chore(release): bump Cargo.toml to v0.2.1
Build Linux Packages / Build Linux (push) Failing after 5m0s
Build Windows Packages / Build Windows (push) Failing after 3m2s
46a65f0e14
chore(release): bump tauri.conf.json to v0.2.1
Build Linux Packages / Build Linux (push) Failing after 4m52s
Build Windows Packages / Build Windows (push) Has been cancelled
85995ed9aa
fix(deps): add macros feature to tokio in Cargo.toml
Build Windows Packages / Build Windows (push) Has been cancelled
Build Linux Packages / Build Linux (push) Has been cancelled
6c0fadb74e
docs: bump README release badge to v0.2.1
Build Windows Packages / Build Windows (push) Has been cancelled
Build Linux Packages / Build Linux (push) Has been cancelled
9db4563262
docs: update ROADMAP for v0.2.1 hotfix
Build Windows Packages / Build Windows (pull_request) Has been cancelled
Build Windows Packages / Build Windows (push) Has been cancelled
Build Linux Packages / Build Linux (pull_request) Has been cancelled
Build Linux Packages / Build Linux (push) Has been cancelled
3f2d1ca4cd
gronod merged commit 74dea06443 into main 2026-08-25 13:07:38 +01:00
Sign in to join this conversation.