Repository navigation
test(velo-events): harden slot_v2 waiter/wakeup regression coverage - #2
Merged
ryanolson merged 1 commit intoFeb 16, 2026
Merged
Conversation
ryanolson
added a commit
that referenced
this pull request
Nov 4, 2026
Backend and Migration read gdl items in their Result, with gdl's error rule applied once at the boundary, and RoutingHost hands its stream to gdl without the extra boxes. Signed-off-by: Ryan Olson <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
slot_v2single-lock waiter/wakeup path by adding focused regression tests that exercise waker deduplication, multi-waker wake behavior, and stale-waker flushing.LocalEventSystem::wait_localto align with projectrustfmtstyle.Description
lib/velo-events/src/slot_v2/entry.rsthat introduce aCountingWakeharness and asserts forpoll_waiterdeduplication,finalize_completionwaking all distinct waiters, andbegin_generationflushing stale wakers.counting_waker()helper andCountingWaketype to createWakers which record wake calls for assertions in tests.rustfmt-driven one-line formatting change inlib/velo-events/src/local/system.rswere modified.Testing
cargo test -p velo-events slot_v2::entry::tests -- --nocaptureand the slot v2 entry tests passed.cargo test -p velo-events race1_no_stale_completion_leakage -- --nocaptureand the race/regression test passed.cargo test -p velo-events stale_waiter -- --nocaptureand the stale-waiter tests passed.cargo fmt --allto normalize formatting with no failures.Codex Task