Repository navigation
Conversation
Design for dropping a downloaded media file onto the library page: raw-body PUT upload (bypasses Starlette's spool-to-tempdir double write), sequential client-side queue, no new dependencies. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
robrien20
marked this pull request as ready for review
July 31, 2026 01:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What\n\n- Stream browser-selected files into UUID-scoped staging and atomically ingest them.\n- Add an accessible drag-and-drop/file-picker queue with strictly sequential uploads.\n- Harden upload-job lifecycle behavior with per-set locks and terminal SSE failures.\n- Centralize supported media extensions, including MOV/QuickTime.\n- Preserve recognizer input compatibility in fingerprint process workers.\n\n## Why\n\nLocal users should not need to type filesystem paths. Browsers do not expose Finder paths, so selected file bytes must be uploaded before the existing ingest pipeline can process them.\n\n## Validation\n\n- Full pytest suite: 100% passed, with 2 expected skips.\n- Ruff and mypy pass for changed files.\n- JavaScript syntax and git diff --check pass.\n- Browser checks covered the multi-file chooser, client-side rejection, failed-upload terminal state, queue/card refresh, staging cleanup, live status, and the existing typed-path redirect.\n- A physical drag gesture was not fully exercised. A valid-audio live upload also encountered the repository's pre-existing intermittent native soundfile process crash (exit 138); invalid-upload lifecycle behavior completed and cleaned staging correctly.\n\n## Existing repository-wide debt\n\nUnrelated baseline checks remain unchanged: one Ruff RUF001 finding in scripts/audit_bpm_normalization.py and three mypy findings in Spotify, Apple auth, and BPM modules.