Skip to content

Conversation

matheus23
Copy link
Member

@matheus23 matheus23 commented Jul 29, 2025

Description

Fixes a bug introduced in #3400

We used to only reset last_call_me_maybe to None when the best address was cleared. The above PR accidentally changed that to always reset.

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.

@matheus23 matheus23 self-assigned this Jul 29, 2025
Copy link

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

Last updated: 2025-07-29T19:14:11Z

Copy link

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: 6d5b7ce

Comment on lines +127 to +131
event!(
target: "iroh::_events::udp::best_ipv4",
Level::DEBUG,
?best_ipv4,
);
Copy link
Member Author

Choose a reason for hiding this comment

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

I thought it would be fitting to promote these to be events.

FWIW, we also have "new connection type" events that contain the send addr, but this additionally prints whether we think this is an outdated, valid or unconfirmed address.

@n0bot n0bot bot added this to iroh Jul 29, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Jul 29, 2025
Copy link
Member

@ramfox ramfox left a comment

Choose a reason for hiding this comment

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

This is definitely a necessary fix, even if it doesn't specifically address the hole punching issue!

@matheus23 matheus23 marked this pull request as ready for review July 30, 2025 13:01
@matheus23 matheus23 added this pull request to the merge queue Jul 30, 2025
Merged via the queue into main with commit bcb60d4 Jul 30, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Jul 30, 2025
@matheus23 matheus23 deleted the matheus23/fix-call-me-maybe branch July 30, 2025 14:14
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.

2 participants