github its-maestro-baby/maestro v0.2.2
Maestro v0.2.2

7 hours ago

Summary

  • Fix stuck "Installing update..." screen: Tauri v2's updater doesn't auto-restart the app after installing an update (unlike v1). Added explicit app.restart() call after download_and_install succeeds.
  • Fix session file limit errors: Kills all active PTY sessions before restarting to prevent orphaned processes and file descriptor leaks that caused Claude Code sessions to hit file limits.
  • Single file change (src-tauri/src/commands/update.rs) — no new dependencies or config changes needed.

What changed

  1. Added ProcessManager state parameter to download_and_install_update (auto-injected by Tauri)
  2. After update installs: calls process_manager.kill_all_sessions() to clean up PTY sessions
  3. Calls app.restart() to relaunch the app and apply the update

Test plan

  • Trigger an update with active sessions — verify app restarts and no orphaned processes remain
  • Trigger an update with no active sessions — verify clean restart
  • Verify cargo build passes with no new warnings

🤖 Generated with Claude Code

Don't miss a new maestro release

NewReleases is sending notifications on new releases.