Repository navigation
docs(audits): spill.rs decomposition plan (#2323) - #4337
Merged
Merged
Conversation
Map crates/engine/src/concurrent_delta/spill.rs (1229 LoC) into the six-way submodule split targeted by SPL-2 through SPL-8. Includes source line ranges per target module, recommended extraction order to minimise churn, cross-cutting helper risks, and a per-test destination table for the SPL-8 test split.
2 of 3 tasks
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Map crates/engine/src/concurrent_delta/spill.rs (1229 LoC) into the six-way submodule split targeted by SPL-2 through SPL-8. Includes source line ranges per target module, recommended extraction order to minimise churn, cross-cutting helper risks, and a per-test destination table for the SPL-8 test split.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Map crates/engine/src/concurrent_delta/spill.rs (1229 LoC) into the six-way submodule split targeted by SPL-2 through SPL-8. Includes source line ranges per target module, recommended extraction order to minimise churn, cross-cutting helper risks, and a per-test destination table for the SPL-8 test split.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Map crates/engine/src/concurrent_delta/spill.rs (1229 LoC) into the six-way submodule split targeted by SPL-2 through SPL-8. Includes source line ranges per target module, recommended extraction order to minimise churn, cross-cutting helper risks, and a per-test destination table for the SPL-8 test split.
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.
Summary
crates/engine/src/concurrent_delta/spill.rs(1229 LoC, 44.3 KB - well over the 650 LoC cap) and documents the natural six-way module split for the SPL-2..SPL-8 follow-ups.spill.rsto a target submodule (error,codec,tempfile,policy,stats,buffer) with source line ranges and inter-module dependencies.write_record,reload_item,spill_excess, and friends share mutable state onSpillableReorderBuffer, requiring aSpillStateborrow to lift them cleanly.No code changes - documentation only.
Test plan
cargo fmt --all(no-op, no code changes)spill.rs#[cfg(test)] mod testsblock