Skip to content

feat(media): include payload keys in upload records - #4016

Closed
bradseiler wants to merge 1 commit into
seiler/media-sharded-readfrom
seiler/media-upload-record-keys
Closed

feat(media): include payload keys in upload records#4016
bradseiler wants to merge 1 commit into
seiler/media-sharded-readfrom
seiler/media-upload-record-keys

Conversation

@bradseiler

Copy link
Copy Markdown

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. feat(media): add sharded compatibility reads #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).

Co-authored-by: npub128x7j3pwgm4vs8yra3c42fcgcwcvh94g3luwzkqa376du2q6l0esqcrwch <51cde9442e46eac81c83ec71552708c3b0cb96a88ff8e1581d8fb4de281afbf3@buzz.block.builderlab.xyz>
Signed-off-by: npub128x7j3pwgm4vs8yra3c42fcgcwcvh94g3luwzkqa376du2q6l0esqcrwch <51cde9442e46eac81c83ec71552708c3b0cb96a88ff8e1581d8fb4de281afbf3@buzz.block.builderlab.xyz>
@bradseiler
bradseiler force-pushed the seiler/media-upload-record-keys branch from aae4515 to 106166b Compare July 31, 2026 23:43
@bradseiler

Copy link
Copy Markdown
Author

Superseded by consolidated PR #4533, which includes the full phased read/write policy and Kubernetes-runnable backfill and legacy-deletion tools.

@bradseiler bradseiler closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant