feat(downloads): add pause and resume support for attachment downloads - #287
Conversation
syed-tp
commented
Sep 10, 2026
- Integrate background_downloader for pausing, resuming, and persisting attachments and PDF lessons.
- Add system progress notifications, background Range request handling, and SQLite taskId tracking.
- Update lesson detail and downloads screens with interactive pause, resume, and downloaded state indicators.
…wnloads with background persistence
|
Claude finished @syed-tp's task in 7m 11s —— View job Todo
PR Review Summary✅ What's good
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — mainly to get an explicit answer on the public-storage location change (#1) and to confirm the schema-version assumption (#2) is still valid before merge; #3–5 are good hardening but not necessarily blocking. |
… and migrate storage to app-private directory.
|
@claude review |
|
Claude finished @syed-tp's task in 3m 41s —— View job Todo
PR Review SummaryThis is a re-review after the previous pass (see prior comment). Diffed ✅ What's good
🔴 CRITICAL — Must fix before mergeNone found. 🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — the previous round's blockers are resolved and this is close; mainly need confirmation that PDF pause/resume across an app restart doesn't silently skip watermarking (#1). #2–3 are good hardening but not blocking. |
|
@claude review |
|
Claude finished @syed-tp's task in 3m 11s —— View job Todo
PR Review SummaryRe-review after the second round. Diffed ✅ What's good
🔴 CRITICAL — Must fix before mergeNone found. 🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — the storage-location, schema-version, silent-error-swallowing, and cold-start-reconciliation items from earlier rounds are all resolved. The remaining blocker is #1: the PDF watermark-on-resume fix doesn't actually trigger for the realistic pause-mid-download case, so a paused PDF download will currently resume as an un-watermarked file in the wrong location. |
…ntent during download initiation and resumption
…wer and lesson detail shell
|
@claude review |
|
Claude finished @syed-tp's task in 3m 30s —— View job Todo
PR Review SummaryRe-review after the third round. Diffed ✅ What's good
🔴 CRITICAL — Must fix before merge
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — the watermark-on-resume fix from the previous round is solid, but tracing its |
|
@claude review |
|
Claude finished @syed-tp's task in 1m 4s —— View job Todo
PR Review SummaryRe-review after the fourth round. Only one new commit since the last review: ✅ What's good
🔴 CRITICAL — Must fix before mergeNone found. 🟡 WARNING — Should fixNone found in this round. 🔵 SUGGESTION — Nice to have
VerdictAPPROVED — all previously-flagged CRITICAL and WARNING issues across all review rounds are resolved. The taskId-prefix fix is targeted, correct, and covered by new tests for both the plain-attachment and watermark-pipeline branches. |
…nd fallback to enqueue when resume fails