buzz icon indicating copy to clipboard operation
buzz copied to clipboard

feat(media): include payload keys in upload records

Open bradseiler opened this issue 4 months ago • 0 comments

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 warnings
  • bin/cargo fmt --check

Stack

  1. #4015: compatibility readers.
  2. This PR: additive upload-record contract.
  3. Configurable legacy/dual/sharded writes (follow-up after the moderation consumer accepts this field).

bradseiler avatar Jul 31 '26 21:07 bradseiler