Repository navigation
chore(fuzz,fs,rdma,ci): close fuzz, fs cancellation, and toolchain gaps - #1659
Merged
Merged
Conversation
4 tasks
This was referenced Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1634
Summary
Closes the remaining fuzzing, filesystem cancellation/locking/recovery, RustFS profile registration guard, RDMA manifest compilation, fuzz lockfile audit, and workflow pinning gaps tracked in #1634 (the
docs/rustfs-profile.md28-switch registration, 6-crateclippy::print_*lints, andrdma/MSRV alignment already landed in PR #1637 with zero overlapping files):crates/fs):crates/fs/src/staging.rs) so dropped futures clean up temporary version and multipart staging artifacts.version_lockaccess and added boundedDuration-accumulated upload-directoryflockretry (crates/fs/src/uploads.rs,versioning.rs,buckets.rs,completion.rs,lifecycle.rs).DeleteBucketcrash-left (SIGKILL) recovery for bothversions/.tmp-*anduploads/{.tmp-upload-,.complete-,.abort-}*directories while failing closed (400 InvalidRequest) on symlinks, non-directories, or unexpected entries (crates/fs/src/cancellation_tests.rs).fuzz/,crates/difftest,crates/http,crates/core):dialect_admin_routes,s3vectors_auth,sig_token_and_stsaligned with ADR-0056's public surface + alias/Authorization invariants,server_http_conn,http_metadata_query,sse_context_json) and support harnesses.aws-chunkedtrailer fuzzing, 6 trailer seeds underfuzz/seeds/chunked_decode/, and replay coverage (crates/http/tests/chunked_decode_replay.rs,header_and_query.rs).Charand character-reference validation (crates/difftest/src/xmltree.rs,endpoint_replay/,tests/endpoint_replay_xml.rs) across 200/4xx XML responses plus control-byte preservation.scripts/check_rustfs_profile_registered.sh,crates/gateway/src/builder/rustfs_profile.rs):docs/rustfs-profile.mdand synced with rustdoc.fuzz/Cargo.lockaudit, and workflow pinning (.github/workflows/*.yml,scripts/,deny.toml):fuzz/Cargo.lock, scopedlibfuzzer-sys's NCSA license allowance indeny.toml, and wiredcargo deny --locked --manifest-path fuzz/Cargo.tomlintoci.yml.scripts/verify_rdma_manifest.sh(wired intoci.yml) to compile-checkrdma/Cargo.toml --features rdma --libagainst public external-payload ports.check_rust_toolchain_msrv.sh,check_suites_pinned.sh,check_ci_test_split.sh,check_ci_time_gate.sh,test_guard_scripts.sh).TDD and Mutation Verification
crates/fs/src/uploads.rscrash-left upload staging recovery):n_crash_left_upload_staging_dirs_recover_while_symlink_and_unknown_fail_closedfailed before implementation (BucketNotEmpty409 !=Ok(204))..complete-prefix fromis_interrupted_upload_staging_name-> test failed RED (BucketNotEmpty409 !=Ok(204)).interrupted_upload_staging_directorysymlink/non-dir guard toif true-> test failed RED (InternalError500 !=InvalidRequest400).cancellation_tests11/11 PASS,multipart_upload_ids18/18 PASS.Verification Outputs
cargo fmt --all --check: PASScargo clippy --workspace --all-targets -- -D warnings: PASS (0 warnings)RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps: PASScargo xtask spec verify: PASScargo test --workspace -- --test-threads=4: PASScargo test --package rustfs-gateway --package rustfs-gateway-fs --features rustfs-gateway/external-payload,rustfs-gateway-fs/external-payload external_payload: PASS (24/24gateway,9/9fs)bash scripts/verify_rdma_manifest.sh: PASS (OK: rdma/Cargo.toml compiles with --features rdma against public external-payload ports,8.66s)cargo check --manifest-path fuzz/Cargo.toml --bins: PASS (all 29 fuzz binaries compile clean)cargo xtask verify --crate rustfs-gateway-fs: PASS (prebuild29.58soutside budget; loop29.34s <= 30s)cargo xtask verify --crate rustfs-gateway-difftest: PASS (prebuild44.10soutside budget; loop5.04s <= 30s)cargo xtask verify --crate rustfs-gateway-http: PASS (prebuild32.39soutside budget; loop9.18s <= 30s)cargo xtask verify --crate rustfs-gateway-core: PASS (prebuild20.98soutside budget; loop7.86s <= 30s)cargo xtask verify --crate rustfs-gateway: PASS (prebuild45.35soutside budget; loop 1/223.94s <= 30s, loop 2/27.48s <= 30s)cargo deny --locked(workspace +compat/aws-sdk-rust+fuzz/Cargo.toml): ALL 3 PASS (advisories ok, bans ok, licenses ok, sources ok)actionlint .github/workflows/*.yml: PASSmodel/tools/verify.py,unittest discover -s scripts -p 'test_*.py'): ALL PASS# REQUIRES-PRguards PASS,test_test_target_consolidation.sh(117/117),test_test_target_coverage.sh(32/32), fulltest_guard_scripts.sh(2057/2057, 0 failures)Checklist
fmt,clippy,test,xtask verify --crate)check_protected_files: no protected contract change)//!module docs on all new Rust sourcesunsafe, no.unwrap()/.expect()on external input, all files<= 800linesDifftest-coupled change: #1634 closes fuzz, difftest XML 1.0, fs cancellation, RDMA manifest, and CI pinning gaps together.
Role Verdicts
crates/fs/src/{staging,uploads,buckets,versioning,completion}.rsRAII staging cleanup, bounded upload-dir flock retry, andDeleteBucketcrash-left staging recovery — no break foundendpoint_replayXML 1.0 validation, and.github/workflows/*.ymlCI budget splits for regressions or wall-clock gate violations — no break foundcrates/fs, ADR-0056 alignment infuzz/fuzz_targets/sig_token_and_sts.rs, GitHub Action SHA pinning, andfuzz/Cargo.lockcargo-denypolicy — no break foundstaging.rsRAII guards,scripts/check_rustfs_profile_registered.sh,scripts/verify_rdma_manifest.sh, and workflow guard changes — no break found