Skip to content

Conversation

@Frando
Copy link
Contributor

@Frando Frando commented Dec 2, 2025

Switches from qlog to n0-qlog, which is a fork of qlog with these two PRs applied:

flub and others added 30 commits June 13, 2025 16:34
This changes the open_path function to no longer return the
PATH_ABANDON frame, but instead put it on the pending data.  And adds
functionality to send it in poll_transmit.
This changes the open_path function to no longer return the PATH_ABANDON
frame, but instead put it on the pending data. And adds functionality to
send it in poll_transmit.
This always accepts the status set by the peer, the draft says it is
only a suggestion.
- PTO is computed for the right path
- crypto keys update uses 3 * max PTO of all paths
- draining state uses 3 * max PTO of all paths
- PTO is computed for the right path
- crypto keys update uses 3 * max PTO of all paths
- draining state uses 3 * max PTO of all paths
- [x] Basic idle timeout scaffolding.
- [x] Handle `PathIdle` timer expiry.
- [x] Basic keep alive scaffolding.
- [x] Handle `PathKeepAlive` timer expiry.
- [x] quinn-proto API for setting path idle and keepalive.
- [x] quinn API for setting path idle and keepalive.
- [x] Allow setting path idle & keepalive defaults in `TransportConfig`.

The following might perhaps better flow over to another PR
- [ ] Abandon the path correctly.
- [ ] Close the connection if there is no remaining path.
matheus23 and others added 18 commits December 2, 2025 09:47
Tests are currently fast, that's a feature we'd like to keep
ideally. We can tune it if this ends up being flaky for slow CI hosts.
* feat: add vantage point to qlog traces

* feat: record outgoing quic frames in qlog

feat: add ConnectionStarted to qlog

feat: track received packets in qlog

fix: cid groups, padding size, cleanups

fixup vantage_point method signature

chore: clippy

* address review!

* fixup

* refactor: use crate::Frame for recording sent frames in qlog

* fixup

* fixup

* docs: fixup

* chore: cleanup
@Frando Frando closed this Dec 2, 2025
@Frando Frando deleted the Frando/qlog-latest-multipath branch December 2, 2025 15:17
@Frando Frando restored the Frando/qlog-latest-multipath branch December 2, 2025 15:18
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 76.14587% with 713 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.60%. Comparing base (ac22065) to head (55feda8).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
quinn-proto/src/iroh_hp.rs 0.00% 141 Missing ⚠️
quinn/src/connection.rs 38.15% 141 Missing ⚠️
quinn/src/path.rs 36.49% 87 Missing ⚠️
quinn-proto/src/connection/qlog.rs 77.27% 85 Missing ⚠️
quinn-proto/src/config/transport.rs 33.33% 56 Missing ⚠️
quinn-proto/src/frame.rs 89.85% 56 Missing ⚠️
quinn-proto/src/connection/spaces.rs 86.23% 30 Missing ⚠️
quinn-proto/src/connection/state.rs 83.12% 27 Missing ⚠️
quinn-proto/src/address_discovery.rs 60.93% 25 Missing ⚠️
quinn-proto/src/connection/paths.rs 89.86% 15 Missing ⚠️
... and 9 more
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2460      +/-   ##
==========================================
- Coverage   77.23%   76.60%   -0.64%     
==========================================
  Files          78       83       +5     
  Lines       18501    22759    +4258     
==========================================
+ Hits        14289    17434    +3145     
- Misses       4212     5325    +1113     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@djc
Copy link
Member

djc commented Dec 2, 2025

Any particular reason folks keep opening misdirected PRs today?

@mxinden
Copy link
Collaborator

mxinden commented Dec 4, 2025

I assume because they are maintaining a fork:

https://github.com/n0-computer/quinn

@djc
Copy link
Member

djc commented Dec 4, 2025

I assume because they are maintaining a fork:

https://github.com/n0-computer/quinn

Yes, but they've been doing that for years and it happened twice in the same week that they opened a PR here...

@thomaseizinger
Copy link
Contributor

Yes, but they've been doing that for years and it happened twice in the same week that they opened a PR here...

I blame GitHub's UX. It happened to me a couple of times with some forks. When you push a branch to your fork and click on the link returned from git's output, GitHub's default is to open a PR against upstream. You need to then manually select your own fork from a small drop-down instead.

As far as I know, there is no way in GitHub to change that default which is annoying.

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.

10 participants