Files
beta-real-debrid-downloader/tests
SucukdeluxeandClaude Opus 4.6 f25e61573d Fix downloads not starting: reset session.running on startup
Root cause: normalizeSessionStatuses() did not reset session.running
to false on startup. If the app was closed/crashed while downloads
were active, session.json retained running=true. On next launch,
start() checked if (this.session.running) return — silently refusing
to start any downloads.

Also improved normalizeSessionStatuses to match the old DM behavior:
- Reset session.running, paused, reconnectUntil, reconnectReason
- Recover cancelled/Gestoppt items back to queued
- Mark extracting/integrity_check items as completed (already downloaded)
- Handle paused and reconnect_wait items
- Cover all transient package statuses

Updated update tests for beta repo name.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 19:38:22 +01:00
..
2026-03-04 17:31:20 +01:00
2026-03-06 12:09:39 +01:00
2026-03-07 03:52:41 +01:00