Skip to content

Local tasks break but appear to keep running when laptop sleeps #2886

Description

@charlesvien

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

  1. Start a task in local mode.
  2. While it is working, put the laptop to sleep.
  3. Reopen the laptop.
  4. The task is in a broken state but the UI still shows it as running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingHigh PriorityThis issue should be prioritized

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions