Files
rustfs/crates/ecstore/tests
Zhengchao An 7cac528de3 refactor(protos): move compat manifest send-site assertions into owning crates (#6618)
refactor(protos): move internode compat manifest send-site assertions into owning crates

Promotes the rolling-upgrade dual-write manifest from a test-only constant in rustfs-protos into the public rustfs_protos::compat_manifest module, moves the JSON-encoder send-site assertions into the crates that own the asserted sources (ecstore remote_disk.rs for requests, the rustfs binary node_service/disk.rs for responses), and splits the scanner Phase-0 overlap inventory so its heal- and ecstore-owned halves live in those crates. Adds a cross-crate include_str!/include! guard with fixture self-tests to scripts/check_layer_dependencies.sh so a library crate can never again read another crate's Rust source at compile time, and records the rule in docs/architecture/crate-boundaries.md.

Part of rustfs/backlog#1884.
2026-08-26 11:11:16 +08:00
..

ecstore Integration Tests

MinIO-generated encrypted fixtures

rustfs/src/storage/minio_generated_read_test.rs validates the bitrot -> GetObjectReader path against raw MinIO backend data captured by .\rustfs\scripts\minio_fixture_lab\lab.py.

It currently covers multipart fixtures for:

  • sse-s3-multipart-8m
  • sse-kms-multipart-8m

Required environment variables:

  • RUSTFS_MINIO_FIXTURE_ROOT
  • RUSTFS_MINIO_STATIC_KMS_KEY_B64

Example:

$env:RUSTFS_MINIO_FIXTURE_ROOT = '.\rustfs\tmp\minio-fixture-lab-local-key'
$env:RUSTFS_MINIO_STATIC_KMS_KEY_B64 = '<base64-32-byte-local-minio-kms-key>'
cargo +1.97.1 test -p rustfs --features rio-v2 storage::minio_generated_read_test --lib -- --ignored