mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
The audio proxy resolved ownership only through voice comments, so R2_AUDIO video assets (which store the same proxy path in videoAsset.sourceUrl) always got 403s. Resolve ownership the way the image proxy does: query comments and video assets, merge into a unique-owning-video map, deny on ambiguity. r2-orphan-cleanup marked videoAsset.sourceUrl as referenced but not videoAsset.thumbnailUrl, so every R2_VIDEO asset thumbnail older than the TTL was deleted as an orphan. Widen the query to both columns. Co-Authored-By: Claude Fable 5 <[email protected]>