Desktop: do not schedule wanted-list checks when no download client is configured #37

Closed
opened 2026-08-18 05:56:10 +00:00 by logan · 1 comment
Collaborator

Report

Users should still be able to add things to the wanted list without a download client. But with no client configured, those requests should not be part of the periodic search job — I saw "next check in 6 hours" against a wanted album on an install with no client.

Findings

  • downloadStore.available already reports whether a client is configured (it is what gates canDownload on the album page).
  • The reconcile/search pass is a registered job (backend/jobs), so it is visible in the indicator — meaning a pointless pass is also visible noise, on top of being pointless.

Direction

  • Backend: skip scheduling the check when no client is configured, and do not compute or emit a "next check" time.
  • Frontend: where a request row would show "next check in ...", say what is actually true instead — "no download client configured", with a link to Settings.
  • When a client is configured later, the pass should start without a restart (the config is read at the moment the pass would run, matching how AllowMeteredCatalogDownload is handled).
**Report** Users should still be able to add things to the wanted list without a download client. But with no client configured, those requests should not be part of the periodic search job — I saw "next check in 6 hours" against a wanted album on an install with no client. **Findings** - `downloadStore.available` already reports whether a client is configured (it is what gates `canDownload` on the album page). - The reconcile/search pass is a registered job (`backend/jobs`), so it is visible in the indicator — meaning a pointless pass is also visible noise, on top of being pointless. **Direction** - Backend: skip scheduling the check when no client is configured, and do not compute or emit a "next check" time. - Frontend: where a request row would show "next check in ...", say what is actually true instead — "no download client configured", with a link to Settings. - When a client *is* configured later, the pass should start without a restart (the config is read at the moment the pass would run, matching how `AllowMeteredCatalogDownload` is handled).
logan added the Area/DownloadsKind/EnhancementPlatform/Desktop
Priority
Medium
3
labels 2026-08-18 14:36:10 +00:00
logan self-assigned this 2026-08-18 15:17:39 +00:00
Owner

Shipped in main as 760021e — fix(downloads): stop searching a list there is nothing to search with — merged through #83. This was listed in that PR's Closes line but did not close automatically; closing it now.

Shipped in `main` as `760021e` — fix(downloads): stop searching a list there is nothing to search with — merged through #83. This was listed in that PR's `Closes` line but did not close automatically; closing it now.
yonlu closed this issue 2026-08-18 19:56:53 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yonlu/yellowjacket#37