Problem
When the laptop is put to sleep while a task is running in local mode, the task ends up in a broken state. The UI still shows it as actively working, so there is no visible indication that it has actually stalled or failed.
Expected behavior
A local task interrupted by the host going to sleep should either resume cleanly on wake or surface a clear interrupted/failed state. It should not stay stuck looking like it is still working when it is not.
Steps to reproduce
- Start a task in local mode.
- While it is working, put the laptop to sleep.
- Reopen the laptop.
- The task is in a broken state but the UI still shows it as running.
Problem
When the laptop is put to sleep while a task is running in local mode, the task ends up in a broken state. The UI still shows it as actively working, so there is no visible indication that it has actually stalled or failed.
Expected behavior
A local task interrupted by the host going to sleep should either resume cleanly on wake or surface a clear interrupted/failed state. It should not stay stuck looking like it is still working when it is not.
Steps to reproduce