Flaky: questions.rs the_block_declares_form_and_url_elicitation reads the block log before initialize is written #58

Closed
opened 2026-10-02 11:18:25 +00:00 by jhgaylor · 1 comment
Owner

Found during #55. Under load (another worktree building), the_block_declares_form_and_url_elicitation failed once with "initialize in the log" (questions.rs:274): it reads blocks/N/* right after the block reaches idle, and the ACP log line can land later. Passes 6/6 in isolation. Fix: poll the log for the line (a few seconds) instead of reading it once, for both the initialize and the session/new lookups.

Found during #55. Under load (another worktree building), `the_block_declares_form_and_url_elicitation` failed once with "initialize in the log" (questions.rs:274): it reads blocks/N/* right after the block reaches idle, and the ACP log line can land later. Passes 6/6 in isolation. Fix: poll the log for the line (a few seconds) instead of reading it once, for both the initialize and the session/new lookups.
Author
Owner

Fixed with #35: questions.rs now polls the block log for up to 5 s.

Fixed with #35: questions.rs now polls the block log for up to 5 s.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
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
jhgaylor/illogical#58
No description provided.