Skip to content

Conversation

@divagant-martian
Copy link
Collaborator

@divagant-martian divagant-martian commented Dec 15, 2025

Description

we need to take into account path challenges for remotes other than received ones when stopping the challenge lost timer

Breaking Changes

n/a

Notes & open questions

n/a

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

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

Last updated: 2025-12-16T16:54:00Z

@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 57.89474% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.48%. Comparing base (706cb2d) to head (5b6efe9).

Files with missing lines Patch % Lines
quinn-proto/src/connection/mod.rs 52.94% 8 Missing ⚠️
quinn-proto/src/connection/paths.rs 36.36% 7 Missing ⚠️
quinn-proto/src/connection/timer.rs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
- Coverage   76.51%   76.48%   -0.04%     
==========================================
  Files          83       83              
  Lines       23167    23203      +36     
==========================================
+ Hits        17727    17746      +19     
- Misses       5440     5457      +17     

☔ 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.

@n0bot n0bot bot added this to iroh Dec 15, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Dec 15, 2025
@flub flub added this to the Multipath beta milestone Dec 16, 2025
Base automatically changed from refactor-handle-path-response to main December 16, 2025 15:12
Copy link
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.

I wonder if it'd be useful to have a function that allows you to set_or_stop a timer, depending on whether you pass it a Some or None.

So this could be used like self.timers.set_or_stop(self.earliest_challenge_considered_lost_instant(), qlog), or sth like that.

@divagant-martian divagant-martian added this pull request to the merge queue Dec 16, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 16, 2025
@divagant-martian
Copy link
Collaborator Author

I wonder if it'd be useful to have a function that allows you to set_or_stop a timer, depending on whether you pass it a Some or None.

So this could be used like self.timers.set_or_stop(self.earliest_challenge_considered_lost_instant(), qlog), or sth like that.

I like that, I'll add it

@divagant-martian
Copy link
Collaborator Author

@matheus23 added it. It doesn't save too many lines in this case, we could probably use it in some other places as well, but it does reduce the cognitive load so I think it's a good addition

ptal :)

@divagant-martian divagant-martian added this pull request to the merge queue Dec 16, 2025
Merged via the queue into main with commit caccc67 Dec 16, 2025
28 checks passed
@divagant-martian divagant-martian deleted the set-off-path-challenge-timers branch December 16, 2025 17:08
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Dec 16, 2025
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.

5 participants