Flaky: independent_652 SyncClient durability test sees EOF from the child process #1049

Open
opened 2026-11-10 04:55:02 +00:00 by kayg · 0 comments
Owner

room::save::tests::review::history_durability::independent_652_real_syncclient_joining_snapshot_is_not_saved failed once on compute02 (2026-11-10, ~10:40 IST, loaded host, cargo test -p calternal-notes, #1010 branch at 9b62a5b7d):

panicked at crates/notes/src/room/save/history_durability.rs:467:37:
called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)

Line 467 parses one line of JSON from the real SyncClient child process; EOF means the child closed its stdout (exited or crashed) before answering. It did not reproduce in 10 isolated reruns on the same tree, so it does not block (flaky rule). The test touches neither the Files namespace nor the Files walk.

Stability fix to consider: when read_line returns 0 bytes, report the child's exit status and stderr instead of a JSON parse error, and check whether the child can time out or be starved on a loaded host.

`room::save::tests::review::history_durability::independent_652_real_syncclient_joining_snapshot_is_not_saved` failed once on compute02 (2026-11-10, ~10:40 IST, loaded host, `cargo test -p calternal-notes`, #1010 branch at `9b62a5b7d`): ``` panicked at crates/notes/src/room/save/history_durability.rs:467:37: called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0) ``` Line 467 parses one line of JSON from the real SyncClient child process; EOF means the child closed its stdout (exited or crashed) before answering. It did not reproduce in 10 isolated reruns on the same tree, so it does not block (flaky rule). The test touches neither the Files namespace nor the Files walk. Stability fix to consider: when `read_line` returns 0 bytes, report the child's exit status and stderr instead of a JSON parse error, and check whether the child can time out or be starved on a loaded host.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#1049
No description provided.