Repository navigation
Conversation
A discovery expiring exactly now counts as lapsed, as it does in `expire_discoveries`.
Every enqueue verb takes `now` and the tunables, so the deadline a send gets is decided next to the stage it starts in. The driver no longer computes one per enqueue site.
…ress The enum encoded one fact, whether the frame waits for the device's poll and under which address it polls, plus a retry count that is a tunable. Those are two fields on the record; the driver passes them straight through instead of building a variant at every enqueue site.
puddly
force-pushed
the
puddly/send-rewrite2
branch
from
October 31, 2026 01:05
3c9f4a1 to
753d662
Compare
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.
This is a massive rewrite that still needs to be more thoroughly tested.
The goal is to migrate as much send logic and state tracking as possible into a single sans-io crate that manages send tables (
Unicasts,UnroutedUnicasts, andBroadcasts) and emits discrete actions when driven. The benefit of this approach is that we can consolidate the various tables and reactors into one and introduce a bunch more compile-time safety guarantees.AI Summary
Fixes
Compile-time guarantees