Skip to content

Fix confirmed reads test flake#5237

Open
joshua-spacetime wants to merge 3 commits into
masterfrom
joshua/fix/confirmed-reads-test-flake
Open

Fix confirmed reads test flake#5237
joshua-spacetime wants to merge 3 commits into
masterfrom
joshua/fix/confirmed-reads-test-flake

Conversation

@joshua-spacetime
Copy link
Copy Markdown
Contributor

Description of Changes

Previously assert_after_durable assumed that Poll::Pending meant confirmed reads was blocked on durability. That was not necessarily true, because subscription messages pass through the subscription send worker before reaching the client receiver. A Poll::Pending could also mean the send worker had not delivered the message yet, so a single immediate poll after marking durability was not guaranteed to be Poll::Ready.

This patch removes test_confirmed_reads entirely since the guarantee that client receivers do not receive messages before they are durable is already covered by the ClientConnectionReceiver tests, where Pending is unambiguous.

API and ABI breaking changes

N/A

Expected complexity level and risk

1

Testing

N/A

`test_confirmed_reads` no longer asserts on `Poll::Pending` or `Poll::Ready`.
Strict gating behavior is already covered by the `ClientConnectionReceiver` tests.
The actor test now only verifies that messages arrive after durability advances.
@joshua-spacetime joshua-spacetime requested a review from kim June 4, 2026 22:03
@joshua-spacetime joshua-spacetime linked an issue Jun 4, 2026 that may be closed by this pull request
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.

CI flake: test_confirmed_reads: Pending vs Poll::ready()

1 participant