test(ci): gate parked-conn CLIENT KILL parity test off the Windows runner - #440
Conversation
…nner parked_connection_visible_and_killable asserts that CLIENT KILL of a parked/idle connection removes it from CLIENT LIST. The kill path breaks the handler's pending read via shutdown(2); on Windows that interruption does not fire (the same socket-semantics gap already documented for the idle-timeout close test in #439 and the #431 write-timeout suite), so the registry entry is never released and the victim stays listed — the test fails on every retry on the Windows runner while passing on macOS and the Linux gate in ~14s. Windows is a best-effort platform (documented stance); the behaviour under test is validated on the production platforms. Gate carries the standard documented-gap comment. refs: #439, #431 author: Tin Dang
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe parked connection ChangesParked connection test compatibility
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoGate parked-connection CLIENT KILL parity test off Windows
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
Summary
Third instance of the documented Windows socket-semantics gap (#439, #431):
parked_connection_visible_and_killableasserts CLIENT KILL removes a parked/idle connection from CLIENT LIST, which relies onshutdown(2)interrupting the handler's pending read. That interruption does not fire on Windows, so the registry entry is never released and the test fails on every retry on the Windows runner.Gated with
#[cfg(not(windows))]+ the standard documented-gap comment, matching the #439 convention. Behaviour remains validated on the production platforms — full suite passes on macOS in ~14s (6/6) and on the Linux gate.Test plan
cargo test --release --test parked_idle_paritygreen locally (macOS, 6 passed)Summary by CodeRabbit