Skip to content

refactor: update quinn and simplify path handling in RemoteStateActor#3967

Merged
Frando merged 7 commits intomainfrom
Frando/bump-quinn
Feb 25, 2026
Merged

refactor: update quinn and simplify path handling in RemoteStateActor#3967
Frando merged 7 commits intomainfrom
Frando/bump-quinn

Conversation

@Frando
Copy link
Copy Markdown
Member

@Frando Frando commented Feb 24, 2026

Description

  • Bumps iroh-quinn to main as of now.
  • In the RemoteStateActor's ConnectionState only track open paths. We never accessed the list of non-open paths, so it seems much simpler to me to only track what we need.

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.
    • List all breaking changes in the above "Breaking Changes" section.
    • Open an issue or PR on any number0 repos that are affected by this breaking change. Give guidance on how the updates should be handled or do the actual updates themselves. The major ones are:

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 24, 2026

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3967/docs/iroh/

Last updated: 2026-02-24T19:41:40Z

@Frando Frando changed the title deps: bump quinn refactor: update quinn and simplify path handling in RemoteStateActor Feb 24, 2026
@Frando Frando requested review from flub and matheus23 February 24, 2026 13:30
@n0bot n0bot bot added this to iroh Feb 24, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage in iroh Feb 24, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 24, 2026

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 2d60198

Copy link
Copy Markdown
Member

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Copy Markdown
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nit event name to be changed, but lgtm really.

let Some(path_remote) = conn_state.paths.get(&id).cloned() else {
debug!("path not in path_id_map");
PathEvent::Abandoned { id, .. } => {
// This is the last event for this path: remove from conn_state.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

erm, no, the discarded event is still emitted...

Maybe "From now on we no longer want to use this path" or something. Or... nothing?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

self.paths.abandoned_path(&path_remote);

event!(
target: "iroh::_events::path::closed",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's rename this to abandoned too. the events are internal debugging tools, not user-facing. so let's keep them as specific and accurate as possible.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@github-project-automation github-project-automation bot moved this from 🚑 Needs Triage to 🏗 In progress in iroh Feb 24, 2026
@Frando Frando enabled auto-merge February 24, 2026 19:40
@Frando Frando requested a review from flub February 24, 2026 19:40
@Frando Frando disabled auto-merge February 24, 2026 19:40
@Frando Frando added this pull request to the merge queue Feb 25, 2026
Merged via the queue into main with commit 1ffb560 Feb 25, 2026
51 of 54 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Feb 25, 2026
@matheus23 matheus23 deleted the Frando/bump-quinn branch February 25, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants