Skip to content

fix: v0.9.4 flaky test and replay wait - #41

Merged
drptbl merged 3 commits into
mainfrom
fix/flaky-rpc-and-replay-cap
Nov 15, 2026
Merged

drptbl merged 3 commits into
mainfrom
fix/flaky-rpc-and-replay-cap

Conversation

@drptbl

@drptbl drptbl commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Two follow-ups to v0.9.3: a flaky test that failed its release check, and a wait cap too short for a long-lived devnet.

changes:

  • the fake HTTP servers in the tests read the whole request before answering. Answering after one read closed with request bytes unread, so the OS reset the connection: rpc::tests::reads_a_transactions_block failed 140 times in 300 runs, and 0 in 300 now
  • up judges a starting sequencer by its last log line without the time. A line among its 32 most recent counts as nothing new, so a sequencer stuck retrying an error fails after 180 s, while a replay, with a different line per block, keeps going
  • the overall cap went from an hour to 4 hours, as a last resort: 186k blocks took 34 minutes to replay, and a devnet at 1 s blocks grows about 86k blocks a day
  • an empty native log now reads as quiet, not unknown
  • bumped the version to 0.9.4

The fake HTTP servers answered after one read and closed with some of the request unread, so the OS reset the connection and the client saw no answer. rpc's test failed 140 times in 300 runs, and once in the v0.9.3 release check.
A replay logs a different line for each block, and 186k blocks took 34 minutes, so the hour cap would fail a devnet left running for a few days. A sequencer stuck retrying an error only repeats lines it logged lately, which now counts as quiet. The cap stays only as a last resort, at 4 hours.
@drptbl
drptbl merged commit 323ed24 into main Nov 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant