buzz
buzz copied to clipboard
feat(media): include payload keys in upload records
Summary
Add the exact payload object key to media upload records as an optional additive field. Existing consumers can continue deriving the legacy key from sha256 and ext; tolerant consumers can prefer blob_key before sharded writes begin.
Related issue
Stacked on #4015; requested in the linked Buzz channel thread.
Testing
bin/cargo test -p buzz-media(110 passed, 1 live-MinIO test ignored)bin/cargo clippy -p buzz-media --all-targets -- -D warningsbin/cargo fmt --check
Stack
- #4015: compatibility readers.
- This PR: additive upload-record contract.
- Configurable legacy/dual/sharded writes (follow-up after the moderation consumer accepts this field).