fix(ssh): treat negative keepalive replies as liveness - #1214
Conversation
✅ Deploy Preview for devsydev canceled.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe SSH keepalive handler now ignores rejected replies while preserving transport errors. Tests cover both response types and validate behavior against the production SSH server, including a normal session. ChangesSSH keepalive handling
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to SSH keepalives now recognize both accepted and rejected replies as proof of liveness while continuing to report transport failures. Coverage includes the production server and normal sessions, so the change is ready to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
✨ Simplify code
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 |
✅ Deploy Preview for images-devsy-sh canceled.
|
|
Tick the box to add this pull request to the merge queue (same as
|
Summary\n\n- treat both positive and negative SSH keepalive replies as proof of peer liveness\n- continue reporting genuine SSH transport errors\n- add regression coverage for unsupported keepalive requests against the Devsy SSH server\n\nFixes #1210.
Summary by CodeRabbit