Skip to content

Bring the mesh RTT samples, close fix and idle last-path reclaim onto stillfail-v1.3 - #3

Merged
CommaBot merged 3 commits into
zzj3720:stillfail-v1.3from
CommaBot:feat/mesh-rtt-samples
Nov 21, 2026
Merged

CommaBot merged 3 commits into
zzj3720:stillfail-v1.3from
CommaBot:feat/mesh-rtt-samples

Conversation

@CommaBot

Copy link
Copy Markdown
Collaborator

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/noq because CommaBot has no push access here. That fork has Actions off, so none of them ran this repository's stillfail-noq.yml. This pull request should run it on all three.

Commits

  1. ec127b45 fix(proto): expose fresh same-path RTT samples
    Counts 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.
  2. 63b8fad9 fix(proto): track pending CONNECTION_CLOSE per space and abort transmit when drained
    Fixes 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.
  3. 4b0448dd fix(proto): abandon idle last-open path once a replacement validates
    A 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

  • Commit 3: cargo clippy -p noq-proto --lib --tests -- -D warnings clean and cargo test -p noq-proto --lib --tests 437 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's libs/mesh-transport, station/native/mesh and client workspace tests passed against it.
  • Commits 1 and 2 were reviewed and tested in their own changes. I did not re-run them here.
  • No CI has run on any of the three.

After merging

monoid can point its noq-proto patch at this repository again instead of CommaBot/noq. The commit ids do not change.

🤖 Generated with Claude Code

CommaBot and others added 3 commits November 17, 2026 23:54
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>
@CommaBot
CommaBot merged commit 4b0448d into zzj3720:stillfail-v1.3 Nov 21, 2026
3 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