Repository navigation
feat(engine): env-var overrides for SpillPolicy (STN-8/9/10) - #4404
Merged
Merged
Conversation
oferchen
force-pushed
the
feature/stn-8-9-10-env-vars
branch
from
May 18, 2026 00:57
4010720 to
cf60044
Compare
oferchen
force-pushed
the
feature/stn-8-9-10-env-vars
branch
from
May 18, 2026 01:24
cf60044 to
4b085e7
Compare
oferchen
added a commit
that referenced
this pull request
May 18, 2026
oferchen
added a commit
that referenced
this pull request
May 18, 2026
oferchen
added a commit
that referenced
this pull request
Aug 24, 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.
Summary
spill/env.rswithapply_env_overrides(&mut SpillPolicy):OC_RSYNC_SPILL_DIR(STN-8) ->dirOC_RSYNC_SPILL_THRESHOLD_BYTES(STN-9) ->threshold_bytesOC_RSYNC_SPILL_COMPRESSION(STN-10) ->compression(parsesnone|zstd|zstd:N)tracing::warn!(under the optionaltracingfeature) and leave the field unchanged. No panics.zstd*values are rejected when thespill-compressionfeature is off, matching the gated enum variant.SpillPolicy::from_env()convenience constructor.DeltaConsumer::spawn_with_config(the single construction site reachingbuild_spillable) so any caller passingConcurrentDeltaConfigpicks up env overrides automatically.Test plan
cargo fmt --allcleanEnvGuardplus aMutexto serialize concurrent threadsnextest.tomltest-group pins the new env tests tomax-threads = 1as belt-and-suspendersCloses #2342, closes #2343, closes #2344.