alpha
Login
or
Join now
xeiaso.net
/
ircd.rs
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Proof of concept mechanical port of ircnet/ircd to Rust as part of a bit about C being insecure for network services
Star
1
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ircd.rs
/
leveva
/
tests
/
harness
/
at
master
1 file
Xe Iaso
fix(test): make read_until return the complete line, de-flaking the SQUIT goldens
3mo ago
d39c2213
mod.rs
fix(test): make read_until return the complete line, de-flaking the SQUIT goldens The golden harness's read_until returned as soon as the sentinel was found in the buffer, cutting at the buffer end when the sentinel's line had no terminating '\n' yet. TCP can deliver one wire line in several fragments under parallel load, so the sentinel could land in one socket read while the rest of its line was still in flight — read_until then returned the truncated line. golden_s2s_squit_propagation::abrupt_drop_of_a_peer_propagates_squit_to_the_sibling matches " SQUIT " then asserts the same line carries ":Connection reset by peer"; when the line arrived split right after the sentinel, the reason assertion failed in well under a second. That is the observed FLAKY 2/3. Wait for the line's '\n' before returning, so read_until always yields a whole line (EOF/deadline still drain a genuinely unterminated tail). The returned line only ever gets more complete, so no existing caller regresses. Assisted-by: Claude Opus 4.8 via Claude Code Signed-off-by: Xe Iaso <me@xeiaso.net>
3 months ago