Local tasks break but appear to keep running when laptop sleeps
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the local-mode task lifecycle and the UI status update around host sleep and wake; the issue names no files or tests. Reproduce the sleep-and-wake sequence, then verify that the task either resumes or displays an interrupted or failed state instead of remaining marked as running.
Written by the indexing model from the issue text.
Assessment
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100