Skip to content

test(proto): Stop driving the connection before a path idle timer fires#557

Merged
matheus23 merged 1 commit intomainfrom
matheus23/path-idle-is-idle
Apr 2, 2026
Merged

test(proto): Stop driving the connection before a path idle timer fires#557
matheus23 merged 1 commit intomainfrom
matheus23/path-idle-is-idle

Conversation

@matheus23
Copy link
Copy Markdown
Member

Description

This is more in line with what is_idle is doing with ConnIdle as well, and in the future once we handle #518 this is even more important, as the tests expect that calling pair.drive() doesn't run the connection till the idle timeout.

Breaking Changes

Test changes only.

@matheus23 matheus23 self-assigned this Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

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

Last updated: 2026-04-02T08:39:25Z

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Performance Comparison Report

5487c7e03161bdd9f14ebcd83ee8803d5e10c674 - artifacts

Raw Benchmarks (localhost)

Scenario noq upstream Delta CPU (avg/max)
large-single 5964.7 Mbps 7962.6 Mbps -25.1% 96.8% / 98.5%
medium-concurrent 5459.0 Mbps 7457.4 Mbps -26.8% 96.6% / 98.1%
medium-single 4367.8 Mbps 4292.7 Mbps +1.7% 95.5% / 98.1%
small-concurrent 4002.7 Mbps 4891.2 Mbps -18.2% 97.1% / 99.5%
small-single 3688.4 Mbps 4383.3 Mbps -15.9% 97.0% / 100.0%

Netsim Benchmarks (network simulation)

Condition noq upstream Delta
ideal 3184.6 Mbps 4023.3 Mbps -20.8%
lan 782.4 Mbps 810.4 Mbps -3.5%
lossy 69.9 Mbps 69.8 Mbps ~0%
wan 83.8 Mbps 83.8 Mbps ~0%

Summary

noq is 18.8% slower on average

@matheus23 matheus23 requested a review from flub April 2, 2026 09:09
Copy link
Copy Markdown
Collaborator

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

Oh nice, I was fearing this would result in new proptest failures. But great we can fix this without too much churn.

@matheus23 matheus23 added this pull request to the merge queue Apr 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2026
@n0bot n0bot bot added this to iroh Apr 2, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage in iroh Apr 2, 2026
@flub flub added this pull request to the merge queue Apr 2, 2026
@flub
Copy link
Copy Markdown
Collaborator

flub commented Apr 2, 2026

git checkouts failed, thanks github

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2026
@matheus23 matheus23 added this pull request to the merge queue Apr 2, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2026
@matheus23 matheus23 added this pull request to the merge queue Apr 2, 2026
Merged via the queue into main with commit b3e07e9 Apr 2, 2026
36 checks passed
@matheus23 matheus23 deleted the matheus23/path-idle-is-idle branch April 2, 2026 11:47
@github-project-automation github-project-automation bot moved this from 🚑 Needs Triage to ✅ Done in iroh Apr 2, 2026
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