minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Recall "End Session" button freezes app — requires force-kill (Windows 11)

Open JstG3tnbi opened this issue 5 months ago • 5 comments

Bug Report

Version: 0.18.5 OS: Windows 11 Enterprise 25H2 CPU: Intel Core Ultra 7 258V (2.20 GHz) RAM: 32.0 GB (31.6 GB usable)

Steps to Reproduce

  1. Open Minutes Recall
  2. Click the End Session button

Expected Behavior

Session closes cleanly.

Actual Behavior

The application freezes and becomes unresponsive. The process must be force-killed — there is no recovery without terminating it.

Additional Notes

No errors appear in minutes logs --errors. The minutes events log does not show any session-end event, suggesting the freeze occurs in the UI layer before any shutdown event is written.

JstG3tnbi avatar Jun 05 '26 17:06 JstG3tnbi

Thanks for the detailed report, and for checking the logs and events first. That already points us at the desktop session-teardown path rather than the recording pipeline.

A few questions to pin it down, since we develop on macOS and this looks specific to Windows ConPTY teardown:

  1. When it freezes, does it stay frozen until you force-kill it, or does it recover after ~10 to 20 seconds?
  2. Which agent is running in the Recall panel when you hit End Session (Claude, Codex, Gemini, OpenCode, or a plain shell)?
  3. Does the whole window go unresponsive, or just the Recall panel on the right?
  4. Every time, or only sometimes?

We have a candidate fix that hardens how the pseudo-terminal is torn down on Windows (it currently holds an internal lock across the kill, and may not terminate the whole agent process tree). I am preparing a Windows test build and will follow up here with a download link so you can confirm it resolves this on your machine before the next release.

silverstein avatar Jun 05 '26 18:06 silverstein

The Windows test build is ready, if you are able to try it before the next release:

https://github.com/silverstein/minutes/actions/runs/27032771726

Download the minutes-desktop-windows-x64 artifact (you will need to be signed in to GitHub), unzip it, and run the setup .exe. It is unsigned, so Windows shows a SmartScreen warning: click More info, then Run anyway. Then open Recall and hit End Session: it should close cleanly with no freeze.

The questions above still help even if you cannot test the build. Thanks again.

silverstein avatar Jun 05 '26 19:06 silverstein

Fixed and merged in #275 (will ship in the next release). A Windows contributor verified the End Session freeze is gone across a full test matrix: clean teardown, no force-kill, no orphaned processes, and rapid start/stop cycles with no leak.

Leaving this open until the release is out so you can confirm on the published build. Thanks again for the clear report.

silverstein avatar Jun 06 '26 22:06 silverstein

Installed and tested — looks good so far. The week is young, so I'll have more time to put it through its paces. I'll report back if anything comes up. Thanks again for the quick turnaround on this.

JstG3tnbi avatar Jun 08 '26 14:06 JstG3tnbi

Fixed and merged in #275 (will ship in the next release). A Windows contributor verified the End Session freeze is gone across a full test matrix: clean teardown, no force-kill, no orphaned processes, and rapid start/stop cycles with no leak.

Leaving this open until the release is out so you can confirm on the published build. Thanks again for the clear report.

silverstein avatar Jun 09 '26 00:06 silverstein