Repository navigation
fix: unblock master CI after #5899 + #5902 regressions - #5910
Merged
Merged
Conversation
PR #5902 introduced a `clippy::extend-with-drain` lint violation in the nested dir-merge wiring at transfer.rs:187. PR #5899 widened `build_wire_format_rules` to take a `delete_excluded: bool` parameter but missed the SSH push/pull call sites in ssh_transfer.rs (E0061). Both fail the master fmt+clippy and Build cells, blocking every open PR. - engine/.../transfer.rs: replace `extend(.drain(..))` with `append(&mut)`. - core/.../ssh_transfer.rs: pass `config.delete_excluded()` at both call sites.
- transfer test: wrap compile-time invariants in `const _: () = assert!(...)` - cli verbose test: use `lines.contains(&"only.txt")` over iter().any()
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
* fix(engine,core): unblock master CI after #5899 + #5902 regressions PR #5902 introduced a `clippy::extend-with-drain` lint violation in the nested dir-merge wiring at transfer.rs:187. PR #5899 widened `build_wire_format_rules` to take a `delete_excluded: bool` parameter but missed the SSH push/pull call sites in ssh_transfer.rs (E0061). Both fail the master fmt+clippy and Build cells, blocking every open PR. - engine/.../transfer.rs: replace `extend(.drain(..))` with `append(&mut)`. - core/.../ssh_transfer.rs: pass `config.delete_excluded()` at both call sites. * fix(core): wire delete_excluded through async_ssh_transport build_*_server_config * fix(tests): clippy assertions-on-constants + manual-contains lints - transfer test: wrap compile-time invariants in `const _: () = assert!(...)` - cli verbose test: use `lines.contains(&"only.txt")` over iter().any() * fix(tests): convert OsString args to String for find_flag_string helper
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
clippy::extend-with-drainlint violation atcrates/engine/src/local_copy/context_impl/transfer.rs:187.flags::build_wire_format_rulesto take adelete_excluded: boolparameter but missed both SSH push and pull call sites incrates/core/src/client/remote/ssh_transfer.rs, producing an E0061 signature mismatch.This PR makes the two minimal edits:
transfer.rs: replaceextend(other.drain(..))withappend(&mut other)— semantically identical, satisfies the lint.ssh_transfer.rs: passconfig.delete_excluded()as the new second arg at both call sites.Test plan
cargo fmt --all)