Repository navigation
chore(build): lint raw TcpStream::connect - #5280
Conversation
Signed-off-by: Eric Curtin <[email protected]>
|
@purp @TaylorMutch PTAL when you get a chance, and |
|
/ok to test 92794df |
|
Label |
Signed-off-by: Taylor Mutch <[email protected]>
|
Pushed a54e36c to fix a missed raw dial caught during a local review check: the Windows-only host proxy test in The test now uses Local validation: rustfmt and |
|
/ok to test a54e36c |
Signed-off-by: Taylor Mutch <[email protected]>
|
/ok to test a8ff70e |
TaylorMutch
left a comment
There was a problem hiding this comment.
Reviewed the changes against issue #2577. The missed Windows host-proxy test dial and missing SPDX header have been fixed. All current checks pass, including the Fedora rootless Podman conformance suite on retry.
Merge main at 22209de and migrate the new test callers to the nodelay helper's address contract. Signed-off-by: Taylor Mutch <[email protected]>
|
/ok to test 0056959 |
Signed-off-by: Taylor Mutch <[email protected]>
|
/ok to test c119cb5 |
TaylorMutch
left a comment
There was a problem hiding this comment.
Re-reviewed after merging main and fixing the additional TCP dial callers and standalone test-support lint exception. Local affected-crate and test-support Clippy checks, focused startup and TCP_NODELAY tests, and the PostgreSQL-backed startup test pass. All current CI checks pass on c119cb5.
* chore(build): lint raw TcpStream::connect Signed-off-by: Eric Curtin <[email protected]> * fix(network): use nodelay helper in Windows host proxy test Signed-off-by: Taylor Mutch <[email protected]> * chore(build): add SPDX header to Clippy configuration Signed-off-by: Taylor Mutch <[email protected]> * fix(test): document standalone WebSocket dial lint exception Signed-off-by: Taylor Mutch <[email protected]> --------- Signed-off-by: Eric Curtin <[email protected]> Signed-off-by: Taylor Mutch <[email protected]> Co-authored-by: Taylor Mutch <[email protected]>
Summary
Fail clippy on raw
TcpStream::connectso dials keep TCP_NODELAY.Related Issue
Closes #2577
Changes
clippy.tomldisallowing tokio and stdTcpStream::connect.connect_tcp_nodelay_best_efforttakes anyToSocketAddrs; add a std twin.Testing
cargo clippy --workspace --all-targets, sandbox perf-harness and e2e/rust cleanChecklist