Skip to content

fix(iroh): Remove call to noq's handle_network_change#4356

Open
matheus23 wants to merge 2 commits into
mainfrom
matheus23/no-handle-network-change
Open

fix(iroh): Remove call to noq's handle_network_change#4356
matheus23 wants to merge 2 commits into
mainfrom
matheus23/no-handle-network-change

Conversation

@matheus23

Copy link
Copy Markdown
Member

Description

This removes the call to noq's handle_network_change. The patchbay tests keep working for me when I run them locally.

Breaking Changes

None

Notes & open questions

Committing this & creating a PR mostly for discussion.

The network change hint for recoverable or unrecoverable paths did not make sense: Why would you want to clear the local IP of a path's 4-tuple only if you have an interface with the old path's interface? What you actually want to check is whether you can reach the remote address from one of your interfaces, but figuring that out will depend on routing table configurations and is much more complicated. I think the old version would also break paths that required you to specify the correct local IP (link-local IPv6 addresses? even if we don't support them today).

So after seeing this I decided to just remove them outright. And it doesn't seem to affect things?
We could try dogfooding this branch to see if it really doesn't have any effect.

Change checklist

  • Self-review.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

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

Last updated: 2026-06-23T15:43:11Z

@n0bot n0bot Bot added this to iroh Jun 18, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jun 18, 2026
@matheus23 matheus23 moved this from 🚑 Needs Triage to 🏗 In progress in iroh Jun 23, 2026
@matheus23 matheus23 moved this from 🏗 In progress to 👀 In review in iroh Jun 23, 2026
@matheus23 matheus23 moved this from 👀 In review to 🏗 In progress in iroh Jun 23, 2026
@github-actions

Copy link
Copy Markdown

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: 64f76ff

@matheus23 matheus23 marked this pull request as ready for review June 23, 2026 15:53
@matheus23

Copy link
Copy Markdown
Member Author

dogfood session seems to have gone fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

1 participant