Skip to content

Wire OS sleep/wake power events (suspend-edge session snapshot) #33

Description

@pmaxhogan

Why it matters

OS sleep/wake power events are not wired; the app relies on a 30s poll. In-flight backup sessions are not snapshotted on the suspend edge, so a suspend mid-session can lose progress or leave work un-checkpointed.

Next action

Add per-OS suspend/resume notifications (WM_POWERBROADCAST on Windows, NSWorkspace on macOS, logind PrepareForSleep over DBus on Linux) and snapshot in-flight sessions on the suspend edge instead of waiting for the poll.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions