Skip to content

feat(s3): support metadata extensions for bucket listings#2344

Merged
overtrue merged 2 commits into
mainfrom
issue/backlog-598
Mar 30, 2026
Merged

feat(s3): support metadata extensions for bucket listings#2344
overtrue merged 2 commits into
mainfrom
issue/backlog-598

Conversation

@weisd
Copy link
Copy Markdown
Contributor

@weisd weisd commented Mar 30, 2026

Type of Change

  • New Feature
  • Bug Fix
  • Documentation
  • Performance Improvement
  • Test/CI
  • Refactor
  • Other:

Related Issues

Summary of Changes

  • update the s3s dependency to include the metadata extension handlers for bucket object listings and version listings
  • wire the new listing paths through the RustFS access, storage, and usecase layers
  • return user metadata, user tags, and internal erasure information in the extension responses
  • add unit and request-level e2e coverage for both listing extensions

Checklist

  • I have read and followed the CONTRIBUTING.md guidelines
  • Passed make pre-commit
  • Added/updated necessary tests
  • Documentation updated (if needed)
  • CI/CD passed (if applicable)

Impact

  • Breaking change (compatibility)
  • Requires doc/config/deployment update
  • Other impact:
    Adds metadata fields to the extension responses for bucket object listings and version listings.

Additional Notes

Verification commands:

cargo fmt --all --check
cargo clippy --workspace --all-features --all-targets -- -D warnings
cargo test -p rustfs list_object_versions -- --nocapture
cargo test -p rustfs list_objects_v2m -- --nocapture
cargo test -p rustfs test_phase5_s3_entrypoints_delegate_to_usecases -- --nocapture
cargo test -p e2e_test test_list_object_versions_metadata_extension_returns_metadata_tags_and_internal -- --nocapture
cargo test -p e2e_test test_list_objects_v2_metadata_extension_returns_metadata_tags_and_internal -- --nocapture
cargo test -p e2e_test list_object_versions -- --nocapture
cargo test -p e2e_test list_objects_v2 -- --nocapture
make pre-commit

@weisd weisd force-pushed the issue/backlog-598 branch from d9f9f88 to ba268d7 Compare March 30, 2026 10:40
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA ba268d7.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@overtrue overtrue merged commit 0fb070e into main Mar 30, 2026
10 checks passed
@overtrue overtrue deleted the issue/backlog-598 branch March 30, 2026 14:03
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.

2 participants