Repository navigation
Bring the mesh RTT samples, close fix and idle last-path reclaim onto stillfail-v1.3 - #3
Merged
Conversation
Count actual same-path ACK measurements separately from repeated statistics reads. Expose path generations and validity epochs so callers can reject stale observations. Extend the existing multipath tests for invalidation and equal-value fresh samples. Co-authored-by: darksky <darksky@cue.surf>
…it when drained (#1) Co-authored-by: admin <admin@mac-studio-0.localdomain>
) Record pending_idle_abandon when PathTimer::PathIdle hits ClosePathError::LastOpenPath. Clear that flag if an authenticated packet arrives on the path later, or if set_path_max_idle_timeout updates its timeout. Exclude pending-idle paths from address validation reuse, and abandon them with PathAbandonReason::TimedOut only after another open path is validated and holds remote connection IDs. Co-authored-by: still.fail station <stillfail@mac-2.localdomain>
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.
Brings the three commits still.fail runs with back onto this fork's
stillfail-v1.3. They sit directly on its tip (76344e6e), so this is a fast-forward: no commit changes, and the revision AFK-surf/monoid pins stays valid.They were made on
CommaBot/noqbecause CommaBot has no push access here. That fork has Actions off, so none of them ran this repository'sstillfail-noq.yml. This pull request should run it on all three.Commits
ec127b45fix(proto): expose fresh same-path RTT samplesCounts real same-path ACK measurements apart from repeated statistics reads, and exposes path generations and validity epochs. monoid's path selector (
libs/mesh-transport/src/selection.rs) uses them to refuse stale readings. Pinned by monoid since feat(mesh): add scoped relay routes and stream failover AFK-surf/monoid#7041.63b8fad9fix(proto): track pending CONNECTION_CLOSE per space and abort transmit when drainedFixes a panic while closing. Pinned by monoid since fix(mesh): bump noq-proto rev to 63b8fad9d5 to fix handshake close loop and drained panic AFK-surf/monoid#7869.
4b0448ddfix(proto): abandon idle last-open path once a replacement validatesA path whose idle timer fires while it is the connection's last open path cannot be closed (
LastOpenPath). The timer was not armed again, so the path stayed forever, kept sending keep-alives, and kept its frozen RTT. This marks it pending, clears the mark when it receives an authenticated packet again, and abandons it once another validated path with remote CIDs can carry frames. Not pinned by monoid yet.Verification so far
cargo clippy -p noq-proto --lib --tests -- -D warningsclean andcargo test -p noq-proto --lib --tests437 passed on a macOS arm64 machine, two new tests included. A separate deterministic experiment with both ends timing out the same last path passed. monoid'slibs/mesh-transport,station/native/meshandclientworkspace tests passed against it.After merging
monoid can point its
noq-protopatch at this repository again instead ofCommaBot/noq. The commit ids do not change.🤖 Generated with Claude Code