Alexander b5b175a8e9 Publish download events from PollDownloadWorker to event stream
PollDownloadWorker now publishes status/result/error events to both the
EventBus (for live UI updates via SubscribeEvents) and AlbumEventRepository
(for DB persistence and replay on reconnect).

- Add AlbumID, Quality, WorkflowRunID to PollDownloadArgs
- Add EventBus and AlbumEvents fields to PollDownloadWorker
- Publish status events with progress % on each poll tick
- Publish result event on download completion
- Publish error events on torrent failure
- Thread workflowRunID through saveTorrentAndDownload for event correlation
- RecoverOrphanedDownloads populates AlbumID/Quality from download record

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/claude-agent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-20 14:57:25 +02:00
2026-05-20 09:46:43 +02:00
2026-05-20 09:46:43 +02:00
2026-04-28 18:05:23 +02:00
2026-05-20 09:46:43 +02:00
2026-05-04 14:56:05 +02:00
WIP
2026-04-29 17:29:58 +02:00
2026-05-04 14:56:05 +02:00
2026-05-20 09:46:43 +02:00
S
Description
No description provided
2.1 MiB
Languages
Go 88.6%
Nix 8%
PLpgSQL 2.1%
Bru 1.3%