Commit Graph
2579 Commits
Author SHA1 Message Date
Frando 2870782f13 fix for patchbay 0.7 update 2026-08-15 14:00:43 +02:00
Franz Heinzmann 34170bd2d6 Merge branch 'main' into tests/patchbay-relay 2026-08-15 13:10:00 +02:00
Philipp Krüger 82eed32993 chore(iroh-dns-server): replace mainline with n0-mainline and update lru (#4470)
## Description

Main goal is to update `lru` to avoid `cargo deny` being angry.
While doing so I noticed that we pull in another old version of `lru`
via `mainline` on `iroh-dns-server`, so I'm switching it to depend on
`n0-mainline` instead.

## Breaking Changes

None.

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-08-14 07:40:22 +00:00
Rüdiger Klaehn 4706ec97e9 fix!: Fix serialization of CustomAddr so that the data serializes the same as a Vec<u8> (#4465)
## Description

Fix serialization of CustomAddr so that the data serializes the same as
a Vec<u8>

This is needed so the inline size remains an implementation detail. It
breaks CustomAddr deser, but that is fine since custom addresses, while
being stable, are only used in conjunction with a feature cleary marked
as experimental.

## Breaking Changes

Does not change the public API, but does change the serialization of
CustomAddrs. I think we don't need a iroh-base 2.0 regardless because
you only create or use CustomAddrs when working with the experimental
custom transports that are explicitly excluded from stability
guarantees. YMMV.

## Notes & open questions

Note for next release: we technically break serialization format for
CustomAddr, so we should add the rationale for not going to 2.0 to the
release notes.

## Change checklist
<!-- Remove any that are not relevant. -->
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
- [ ] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [ ] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-08-10 16:53:19 +00:00
Asmir Avdicevic 735958f81e fix(iroh-dns-server): enable TCP keepalive on HTTP listeners (#4462)
## Description

Recent usage increases highlighted that we're leaking memory. Turns out
we seemingly keep connections around forever.
The issue is slightly compounded by the fact that our pkarr
`DEFAULT_REPUBLISH_INTERVAL` is 5 min while the default reqwest
pool_idle_timeout is 90s so essentially we never reuse these connections
client side and keep opening new ones.

Another note is that this just cleans up actually dead connections, a
client that also leaks connections would also be infinitely responding
with keepalives. To fix that we would need some better logistics and a
idle timer on our end.

This cleans up dead connections in roughly 200 sec.
## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-08-04 07:22:42 +00:00
Asmir Avdicevic 0438766522 chore(ci): pin sccache to 0.16 on windows due to cli len limit (#4456)
## Description

Pins sccache to 0.16 as 0.17 expands rustc's @argfiles and results in a
command line longer than the 32k limit on windows:
https://github.com/mozilla/sccache/issues/2397

## Breaking Changes

n/a

## Notes & open questions

There already is a fix, probably next release will be fine again.

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-31 11:42:51 +00:00
dependabot[bot] e8415b1ff2 chore(deps): bump mozilla-actions/sccache-action from 0.0.10 to 0.0.11 in the github-actions group (#4452)
Bumps the github-actions group with 1 update:
[mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action).

Updates `mozilla-actions/sccache-action` from 0.0.10 to 0.0.11
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mozilla-actions/sccache-action/releases">mozilla-actions/sccache-action's
releases</a>.</em></p>
<blockquote>
<h2>v0.0.11</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump the github-actions group across 1 directory with 2 updates by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/259">Mozilla-Actions/sccache-action#259</a></li>
<li>Bump jest-circus from 29.7.0 to 30.3.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/256">Mozilla-Actions/sccache-action#256</a></li>
<li>Bump <code>@​actions/io</code> from 2.0.0 to 3.0.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/253">Mozilla-Actions/sccache-action#253</a></li>
<li>ci: verify committed dist/ matches a clean rebuild by <a
href="https://github.com/potiuk"><code>@​potiuk</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/252">Mozilla-Actions/sccache-action#252</a></li>
<li>prepare the version 0.0.11 by <a
href="https://github.com/sylvestre"><code>@​sylvestre</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/262">Mozilla-Actions/sccache-action#262</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/potiuk"><code>@​potiuk</code></a> made
their first contribution in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/252">Mozilla-Actions/sccache-action#252</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.10...v0.0.11">https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.10...v0.0.11</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/fc920bf0ec8de6ee65d409111f7ec508035751ba"><code>fc920bf</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/262">#262</a>
from sylvestre/0.0.11</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/c5764fdf18812cf387df7c2e1207231e98bda733"><code>c5764fd</code></a>
udpate dist files</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/ce939d51f4b92b63a356b3bea7ce8ab412d11fe7"><code>ce939d5</code></a>
update prettier</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/fc24157e3f312f21d07f7e46aa06e8b312b2ebe9"><code>fc24157</code></a>
prepare 0.0.11</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/439ab273196533b9969dc62dad489114f628a9a7"><code>439ab27</code></a>
README.md prepare the version 0.0.11</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/a2fac7a0509e69fd5f53e62a09aa52c322e19f31"><code>a2fac7a</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/252">#252</a>
from potiuk/ci-verify-dist</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/4c2e5f0f1a56c8ffc03b1313a9448706888ac5f8"><code>4c2e5f0</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/253">#253</a>
from Mozilla-Actions/dependabot/npm_and_yarn/actions/...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/772f27d055654c3dca4ae89a5a2b104da9f1e924"><code>772f27d</code></a>
ci: verify committed dist/ matches a clean rebuild</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/d270be534369e533247936a054689a64a94dfd9f"><code>d270be5</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/256">#256</a>
from Mozilla-Actions/dependabot/npm_and_yarn/jest-cir...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/52752ae2ccd59d0129ed6b1cb14da9d0d8c8d5ab"><code>52752ae</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/259">#259</a>
from Mozilla-Actions/dependabot/github_actions/github...</li>
<li>Additional commits viewable in <a
href="https://github.com/mozilla-actions/sccache-action/compare/v0.0.10...v0.0.11">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mozilla-actions/sccache-action&package-manager=github_actions&previous-version=0.0.10&new-version=0.0.11)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-30 12:34:16 +00:00
dependabot[bot] 156fc34f59 chore(deps): bump simple-dns from 0.11.3 to 0.12.0 (#4451)
Bumps [simple-dns](https://github.com/balliegojr/simple-dns) from 0.11.3
to 0.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/balliegojr/simple-dns/releases">simple-dns's
releases</a>.</em></p>
<blockquote>
<h2>simple-dns 0.12.0</h2>
<h3>Fix</h3>
<ul>
<li>Document panic behaviour in header_buffer and change the functions
to have a safe and _unchecked version.</li>
<li>Fixed incorrect resource record len bytes when writing NSEC
records</li>
<li>Fixed incorrect behaviour when writing compressed resource records
to fixed size writers</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/5c7ec98798d7c9f7d76df7aa3bbe754913ff5159"><code>5c7ec98</code></a>
release simple-dns 0.12.0</li>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/0044611877c83978b0639ddacb09ed706b3ad61d"><code>0044611</code></a>
fixes incorrect nsec len</li>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/df9781b109fa8ae0e9b6cd1f13d7b45bcb8e17ae"><code>df9781b</code></a>
fix resource_record write_compressed_to seek behaviour</li>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/fa76ce75debd88fdfd451c7c0c29540ec6910bbd"><code>fa76ce7</code></a>
fix panic comments</li>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/947a085a5296e67c32df75ed32b11567672c4648"><code>947a085</code></a>
fix clippy error</li>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/edd0af62f822c0cec08a803a453d3c040f950d0f"><code>edd0af6</code></a>
change header_buffer functions to be safe and implement _unchecked
variants</li>
<li><a
href="https://github.com/balliegojr/simple-dns/commit/6be9583c24d38d4e2064a901cb3095051d1555d5"><code>6be9583</code></a>
update dependencies and release 0.7.0</li>
<li>See full diff in <a
href="https://github.com/balliegojr/simple-dns/compare/simple-dns/0.11.3...simple-dns/0.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=simple-dns&package-manager=cargo&previous-version=0.11.3&new-version=0.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-30 12:16:45 +00:00
dependabot[bot] b18f9dc0ad chore(deps): bump http from 1.4.2 to 1.5.0 (#4450)
Bumps [http](https://github.com/hyperium/http) from 1.4.2 to 1.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/http/releases">http's
releases</a>.</em></p>
<blockquote>
<h2>v1.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat(method): add QUERY method by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/798">hyperium/http#798</a></li>
<li>fix(uri): allow empty paths in uri::Builder by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/853">hyperium/http#853</a></li>
<li>perf(header,uri): faster value validation, URI parse/format, map
inserts by <a
href="https://github.com/geeknoid"><code>@​geeknoid</code></a> in <a
href="https://redirect.github.com/hyperium/http/pull/852">hyperium/http#852</a></li>
<li>fix(uri): enforce max length in PathAndQuery by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/http/pull/856">hyperium/http#856</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/geeknoid"><code>@​geeknoid</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/http/pull/852">hyperium/http#852</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/hyperium/http/compare/v1.4.2...v1.5.0">https://github.com/hyperium/http/compare/v1.4.2...v1.5.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/http/blob/master/CHANGELOG.md">http's
changelog</a>.</em></p>
<blockquote>
<h1>1.5.0 (July 29, 2026)</h1>
<ul>
<li>Add <code>Method::QUERY</code> constant for the new QUERY method
defined in RFC 10008.</li>
<li>Fix <code>uri::Builder::path_and_query()</code> to allow empty
strings to mean no path.</li>
<li>Fix <code>uri::PathAndQuery</code> parsing to enforce URI max
length.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hyperium/http/commit/16fc9a7b840c2181e7f8b37397c107b0ffcd050d"><code>16fc9a7</code></a>
v1.5.0</li>
<li><a
href="https://github.com/hyperium/http/commit/e559023f67e3fad6ecc3ee91307be178e0f13626"><code>e559023</code></a>
fix(uri): enforce max length in PathAndQuery (<a
href="https://redirect.github.com/hyperium/http/issues/856">#856</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/2178e175c4e247a33ba5f6ca3503afb1afbaabba"><code>2178e17</code></a>
perf(header,uri): faster value validation, URI parse/format, map inserts
(<a
href="https://redirect.github.com/hyperium/http/issues/852">#852</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/03c8cd7faeddfad00873b4d58a45ecdf74ebebe6"><code>03c8cd7</code></a>
fix(uri): allow empty paths in uri::Builder (<a
href="https://redirect.github.com/hyperium/http/issues/853">#853</a>)</li>
<li><a
href="https://github.com/hyperium/http/commit/bb8705b25cdb6e29081edf9ade2ea124f6783e18"><code>bb8705b</code></a>
feat(method): add QUERY method (<a
href="https://redirect.github.com/hyperium/http/issues/798">#798</a>)</li>
<li>See full diff in <a
href="https://github.com/hyperium/http/compare/v1.4.2...v1.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=http&package-manager=cargo&previous-version=1.4.2&new-version=1.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-30 12:14:20 +00:00
Floris Bruynooghe d27d430e4c tests(iroh): Disable flaky patchbay test for now (#4449)
## Description

At some point we need to work on dealing better with packet loss.

## Breaking Changes

n/a

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-29 19:22:26 +00:00
Franz HeinzmannandClaude Opus 4.8 7d8c9bf05d test(iroh): update patchbay to 0.7.0 (#4445)
## Description

I merged a couple of breaking changes to patchbay (restructured the NAT
presets n0-computer/patchbay#37 and improved the link condition APIs
including now modeling more realistic link conditions
n0-computer/patchbay#43). This PR updates iroh to this newly released
patchbay 0.7.0.

## Breaking Changes

None

## Notes & open questions

This PR does not adjust the degrade tests to make use of the more
realistic loss distribution now available in patchbay, that'll be a
separate PR.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-27 14:51:04 +00:00
Franz Heinzmann bbc82b6554 fix: bind iroh-dns-server to both IPv4 and IPv6 (#4432)
## Description

This makes iroh-dns-server bind to both IPv4 and IPv6 by default for
HTTP, HTTPS, and DNS. The IPv6 wildcard (`::`) on Linux binds to both
IPv4 and IPv6, which is what we want for the default. People can still
override it via `bind_addr` in `config.toml`.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-27 10:05:56 +00:00
Franz Heinzmann 04583191e7 fix(iroh): Keep answering priority messages during relay reconnect backoff delay (#4444)
## Description

When a relay reconnect fails, we sleep with increasing backoff until
retrying. During that backoff period, we currently do nothing. However,
we should still answer `ActiveRelayPrioMessage`, and abort in case the
cancellation token is triggered. This patch fixes this.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-27 09:44:22 +00:00
dependabot[bot] 117ae31c90 chore(deps): bump hyper from 1.10.1 to 1.11.0 (#4439)
Bumps [hyper](https://github.com/hyperium/hyper) from 1.10.1 to 1.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/hyper/releases">hyper's
releases</a>.</em></p>
<blockquote>
<h2>v1.11.0</h2>
<h2>Features</h2>
<ul>
<li><strong>rt:</strong> add
<code>ReadBufCursor::initialized_unfilled()</code> method (<a
href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>)
(<a
href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034">ccc1e850</a>)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><strong>http1:</strong>
<ul>
<li>discard content-length header when received before transfer-encoding
(<a
href="https://redirect.github.com/hyperium/hyper/issues/4124">#4124</a>)
(<a
href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda">540fff91</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/4123">#4123</a>)</li>
<li>use append for repeat trailer values in encoder (<a
href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>)
(<a
href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db">de1483d7</a>)</li>
<li>allow up to max_headers trailers (<a
href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>)
(<a
href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9">f584091a</a>)</li>
<li>use append for repeat trailers (<a
href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>)
(<a
href="https://github.com/hyperium/hyper/commit/876effe10fd8f8ad4535ade1f84e88f199f2cf6b">876effe1</a>)</li>
<li>flush buffered data before shutdown (<a
href="https://redirect.github.com/hyperium/hyper/issues/4018">#4018</a>)
(<a
href="https://github.com/hyperium/hyper/commit/72046cc72e7aa82c439eed00850b8b1ad3f7e4dc">72046cc7</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/4022">#4022</a>)</li>
<li>more strictly enforce max_buf_size when parsing (<a
href="https://redirect.github.com/hyperium/hyper/issues/4093">#4093</a>)
(<a
href="https://github.com/hyperium/hyper/commit/90ede307470dba98b4e184ad88d6f5aae8b0afd7">90ede307</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/4081">#4081</a>)</li>
</ul>
</li>
<li><strong>http2:</strong> avoid buffering <code>Upgraded</code> writes
without send capacity (<a
href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>)
(<a
href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6">aecf5abf</a>)</li>
</ul>
<h2>All PRs</h2>
<ul>
<li>removing <code>cast_lossless</code> lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4087">hyperium/hyper#4087</a></li>
<li>Fix the borrow_as_ptr lint by <a
href="https://github.com/xd009642"><code>@​xd009642</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4082">hyperium/hyper#4082</a></li>
<li>removing <code>empty_structs_with_brackets</code> lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4088">hyperium/hyper#4088</a></li>
<li>style(proto): removing <code>explicit_iter_loop</code> lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4089">hyperium/hyper#4089</a></li>
<li>Fix the ptr_as_ptr lint by <a
href="https://github.com/nakaryo716"><code>@​nakaryo716</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4091">hyperium/hyper#4091</a></li>
<li>style(lib): remove <code>manual_assert_eq</code> lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4090">hyperium/hyper#4090</a></li>
<li>style(http2): allow an instance of large_enum_variant, deny
otherwise by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4092">hyperium/hyper#4092</a></li>
<li>Removing 'undocumented_unsafe_blocks' lint allowance by <a
href="https://github.com/Lori-Shu"><code>@​Lori-Shu</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4083">hyperium/hyper#4083</a></li>
<li>style(http2): use an enum instead of bool in
strip_connection_headers() by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4094">hyperium/hyper#4094</a></li>
<li>fix(http1): more strictly enforce max_buf_size when parsing by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4093">hyperium/hyper#4093</a></li>
<li>h1 servers can shutdown connections with pending buffered data on
filled sockets by <a
href="https://github.com/deven96"><code>@​deven96</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4018">hyperium/hyper#4018</a></li>
<li>refactor(http1): remove ref_option lint by <a
href="https://github.com/nakaryo716"><code>@​nakaryo716</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4101">hyperium/hyper#4101</a></li>
<li>style(lib): remove <code>unnecessary_semicolon</code> lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4103">hyperium/hyper#4103</a></li>
<li>style(lib): remove <code>uninlined_format_args</code> lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4104">hyperium/hyper#4104</a></li>
<li>style(lib): remove <code>semicolon_if_nothing_returned</code> lint
by <a href="https://github.com/MonkieeBoi"><code>@​MonkieeBoi</code></a>
in <a
href="https://redirect.github.com/hyperium/hyper/pull/4106">hyperium/hyper#4106</a></li>
<li>style(lib): remove <code> single_match_else</code> lint by <a
href="https://github.com/yunz-dev"><code>@​yunz-dev</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4105">hyperium/hyper#4105</a></li>
<li>style(lib): remove <code>default_trait_access</code> lint by <a
href="https://github.com/nakaryo716"><code>@​nakaryo716</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4111">hyperium/hyper#4111</a></li>
<li>fix(http1): use append for repeat trailers by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4107">hyperium/hyper#4107</a></li>
<li>fix(http1): allow up to max_headers trailers by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4108">hyperium/hyper#4108</a></li>
<li>fix(http2): avoid buffering <code>Upgraded</code> writes without
send capacity by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4102">hyperium/hyper#4102</a></li>
<li>style(headers): small refactor to remove <code>question_mark</code>
lint by <a
href="https://github.com/josetorrs"><code>@​josetorrs</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4116">hyperium/hyper#4116</a></li>
<li>fix(h1): append duplicate trailer values when encoding (match <a
href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>)
by <a
href="https://github.com/greymoth-jp"><code>@​greymoth-jp</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4118">hyperium/hyper#4118</a></li>
<li>style(proto): fix <code>decimal_literal_representation</code> lint
by <a href="https://github.com/josetorrs"><code>@​josetorrs</code></a>
in <a
href="https://redirect.github.com/hyperium/hyper/pull/4117">hyperium/hyper#4117</a></li>
<li>docs(governance): define Advisor role by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4098">hyperium/hyper#4098</a></li>
<li>docs(maintainers): move some collaborators to emeriti by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4125">hyperium/hyper#4125</a></li>
<li>feat: add initialized_unfilled to ReadBufCursor by <a
href="https://github.com/abh1nav10"><code>@​abh1nav10</code></a> in <a
href="https://redirect.github.com/hyperium/hyper/pull/4115">hyperium/hyper#4115</a></li>
<li>fix(http1): discard content-length header when received before
transfer-encoding by <a
href="https://github.com/seanmonstar"><code>@​seanmonstar</code></a> in
<a
href="https://redirect.github.com/hyperium/hyper/pull/4124">hyperium/hyper#4124</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/josetorrs"><code>@​josetorrs</code></a>
made their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/4087">hyperium/hyper#4087</a></li>
<li><a
href="https://github.com/nakaryo716"><code>@​nakaryo716</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/4091">hyperium/hyper#4091</a></li>
<li><a href="https://github.com/deven96"><code>@​deven96</code></a> made
their first contribution in <a
href="https://redirect.github.com/hyperium/hyper/pull/4018">hyperium/hyper#4018</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's
changelog</a>.</em></p>
<blockquote>
<h2>v1.11.0 (2026-07-20)</h2>
<h4>Bug Fixes</h4>
<ul>
<li><strong>http1:</strong>
<ul>
<li>discard content-length header when received before transfer-encoding
(<a
href="https://redirect.github.com/hyperium/hyper/issues/4124">#4124</a>)
(<a
href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda">540fff91</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/4123">#4123</a>)</li>
<li>use append for repeat trailer values in encoder (<a
href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>)
(<a
href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db">de1483d7</a>)</li>
<li>allow up to max_headers trailers (<a
href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>)
(<a
href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9">f584091a</a>)</li>
<li>use append for repeat trailers (<a
href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>)
(<a
href="https://github.com/hyperium/hyper/commit/876effe10fd8f8ad4535ade1f84e88f199f2cf6b">876effe1</a>)</li>
<li>flush buffered data before shutdown (<a
href="https://redirect.github.com/hyperium/hyper/issues/4018">#4018</a>)
(<a
href="https://github.com/hyperium/hyper/commit/72046cc72e7aa82c439eed00850b8b1ad3f7e4dc">72046cc7</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/4022">#4022</a>)</li>
<li>more strictly enforce max_buf_size when parsing (<a
href="https://redirect.github.com/hyperium/hyper/issues/4093">#4093</a>)
(<a
href="https://github.com/hyperium/hyper/commit/90ede307470dba98b4e184ad88d6f5aae8b0afd7">90ede307</a>,
closes <a
href="https://redirect.github.com/hyperium/hyper/issues/4081">#4081</a>)</li>
</ul>
</li>
<li><strong>http2:</strong> avoid buffering <code>Upgraded</code> writes
without send capacity (<a
href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>)
(<a
href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6">aecf5abf</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>rt:</strong> add
<code>ReadBufCursor::initialized_unfilled()</code> method (<a
href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>)
(<a
href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034">ccc1e850</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hyperium/hyper/commit/67ace6484db5d4a15367013847768f5f94f4b97d"><code>67ace64</code></a>
v1.11.0</li>
<li><a
href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda"><code>540fff9</code></a>
fix(http1): discard content-length header when received before
transfer-encod...</li>
<li><a
href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034"><code>ccc1e85</code></a>
feat(rt): add <code>ReadBufCursor::initialized_unfilled()</code> method
(<a
href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/0ea8bc2772bbe785d7234e3eb3bd4df5440f57fb"><code>0ea8bc2</code></a>
docs(maintainers): move some collaborators to emeriti (<a
href="https://redirect.github.com/hyperium/hyper/issues/4125">#4125</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/2fc06fc7724e2b684c2658327f0721fd3bfa57d9"><code>2fc06fc</code></a>
docs(governance): define Advisor role (<a
href="https://redirect.github.com/hyperium/hyper/issues/4098">#4098</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/e0d14d19a0a87962efe92acdaa029253be54a612"><code>e0d14d1</code></a>
style(proto): explicitly allow
<code>decimal_literal_representation</code> lint (<a
href="https://redirect.github.com/hyperium/hyper/issues/4117">#4117</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db"><code>de1483d</code></a>
fix(http1): use append for repeat trailer values in encoder (<a
href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/08c3416279b36456c5ce83d0edd33e955e411c90"><code>08c3416</code></a>
style(headers): small refactor to remove question_mark lint (<a
href="https://redirect.github.com/hyperium/hyper/issues/4116">#4116</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6"><code>aecf5ab</code></a>
fix(http2): avoid buffering <code>Upgraded</code> writes without send
capacity (<a
href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>)</li>
<li><a
href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9"><code>f584091</code></a>
fix(http1): allow up to max_headers trailers (<a
href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/hyperium/hyper/compare/v1.10.1...v1.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hyper&package-manager=cargo&previous-version=1.10.1&new-version=1.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 11:16:15 +00:00
dependabot[bot] eaaa495b8d chore(deps): bump the github-actions group across 1 directory with 2 updates (#4420)
Bumps the github-actions group with 2 updates in the / directory:
[actions/cache](https://github.com/actions/cache) and
[actions/setup-node](https://github.com/actions/setup-node).

Updates `actions/cache` from 5 to 6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/releases">actions/cache's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update packages, migrate to ESM by <a
href="https://github.com/Samirat"><code>@​Samirat</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5...v6.0.0</a></p>
<h2>v5.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@​actions/cache</code> to v5.1.0 - handle read-only cache
access by <a
href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1775">actions/cache#1775</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5...v5.1.0</a></p>
<h2>v5.0.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Update ts-http-runtime dependency by <a
href="https://github.com/yacaovsnc"><code>@​yacaovsnc</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1747">actions/cache#1747</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5...v5.0.5</a></p>
<h2>v5.0.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Add release instructions and update maintainer docs by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a></li>
<li>Potential fix for code scanning alert no. 52: Workflow does not
contain permissions by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a></li>
<li>Fix workflow permissions and cleanup workflow names / formatting by
<a href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</a></li>
<li>docs: Update examples to use the latest version by <a
href="https://github.com/XZTDean"><code>@​XZTDean</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
<li>Fix proxy integration tests by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a></li>
<li>Fix cache key in examples.md for bun.lock by <a
href="https://github.com/RyPeck"><code>@​RyPeck</code></a> in <a
href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
<li>Update dependencies &amp; patch security vulnerabilities by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/XZTDean"><code>@​XZTDean</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li>
<li><a href="https://github.com/RyPeck"><code>@​RyPeck</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5...v5.0.4</a></p>
<h2>v5.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5...v5.0.3</a></p>
<h2>v.5.0.2</h2>
<h1>v5.0.2</h1>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's
changelog</a>.</em></p>
<blockquote>
<h1>Releases</h1>
<h2>How to prepare a release</h2>
<blockquote>
<p>[!NOTE]
Relevant for maintainers with write access only.</p>
</blockquote>
<ol>
<li>Switch to a new branch from <code>main</code>.</li>
<li>Run <code>npm test</code> to ensure all tests are passing.</li>
<li>Update the version in <a
href="https://github.com/actions/cache/blob/main/package.json"><code>https://github.com/actions/cache/blob/main/package.json</code></a>.</li>
<li>Run <code>npm run build</code> to update the compiled files.</li>
<li>Update this <a
href="https://github.com/actions/cache/blob/main/RELEASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</code></a>
with the new version and changes in the <code>## Changelog</code>
section.</li>
<li>Run <code>licensed cache</code> to update the license report.</li>
<li>Run <code>licensed status</code> and resolve any warnings by
updating the <a
href="https://github.com/actions/cache/blob/main/.licensed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</code></a>
file with the exceptions.</li>
<li>Commit your changes and push your branch upstream.</li>
<li>Open a pull request against <code>main</code> and get it reviewed
and merged.</li>
<li>Draft a new release <a
href="https://github.com/actions/cache/releases">https://github.com/actions/cache/releases</a>
use the same version number used in <code>package.json</code>
<ol>
<li>Create a new tag with the version number.</li>
<li>Auto generate release notes and update them to match the changes you
made in <code>RELEASES.md</code>.</li>
<li>Toggle the set as the latest release option.</li>
<li>Publish the release.</li>
</ol>
</li>
<li>Navigate to <a
href="https://github.com/actions/cache/actions/workflows/release-new-action-version.yml">https://github.com/actions/cache/actions/workflows/release-new-action-version.yml</a>
<ol>
<li>There should be a workflow run queued with the same version
number.</li>
<li>Approve the run to publish the new version and update the major tags
for this action.</li>
</ol>
</li>
</ol>
<h2>Changelog</h2>
<h3>6.1.0</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a
href="https://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435
Handle cache write error due to read-only token</a></li>
<li>Switch redundant &quot;Cache save failed&quot; warning to debug log
in save-only</li>
</ul>
<h3>6.0.0</h3>
<ul>
<li>Updated <code>@actions/cache</code> to ^6.0.1,
<code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to
^3.0.0, <code>@actions/io</code> to ^3.0.2</li>
<li>Migrated to ESM module system</li>
<li>Upgraded Jest to v30 and test infrastructure to be ESM
compatible</li>
</ul>
<h3>5.0.4</h3>
<ul>
<li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar
patterns)</li>
<li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb
protection, header validation fixes)</li>
<li>Bump <code>fast-xml-parser</code> to v5.5.6</li>
</ul>
<h3>5.0.3</h3>
<ul>
<li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a
href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li>
<li>Bump <code>@actions/core</code> to v2.0.3</li>
</ul>
<h3>5.0.2</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/cache/commit/55cc8345863c7cc4c66a329aec7e433d2d1c52a9"><code>55cc834</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1768">#1768</a>
from jasongin/readonly-cache</li>
<li><a
href="https://github.com/actions/cache/commit/d8cd72f230726cdf4457ebb61ec1b593a8d12337"><code>d8cd72f</code></a>
Bump <code>@​actions/cache</code> to v6.1.0 - handle cache write error
due to RO token</li>
<li><a
href="https://github.com/actions/cache/commit/2c8a9bd7457de244a408f35966fab2fb45fda9c8"><code>2c8a9bd</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/cache/issues/1760">#1760</a>
from actions/samirat/esm_migration_and_package_update</li>
<li><a
href="https://github.com/actions/cache/commit/e9b91fdc3fea7d79165fceb79042ef45c2d51023"><code>e9b91fd</code></a>
Prettier fixes</li>
<li><a
href="https://github.com/actions/cache/commit/e4884b8ff7f92ef6b52c79eda480bbc86e685adb"><code>e4884b8</code></a>
Rebuild dist</li>
<li><a
href="https://github.com/actions/cache/commit/10baf0191a3c426ea0fa4a3253a5c04233b6e18f"><code>10baf01</code></a>
Fixed licenses</li>
<li><a
href="https://github.com/actions/cache/commit/e39b386c9004d72a15d864ade8c0b3a702d47a37"><code>e39b386</code></a>
Fix test mock return order</li>
<li><a
href="https://github.com/actions/cache/commit/b6928203372a8571ff984c0c883ef3a1adfb0c06"><code>b692820</code></a>
PR feedback</li>
<li><a
href="https://github.com/actions/cache/commit/60749128a44d25d3c520a489e576380cf00ff3f1"><code>6074912</code></a>
Rebuild dist bundles as ESM to match type:module</li>
<li><a
href="https://github.com/actions/cache/commit/5a912e8b4af820fa082a0e75cfd2c782f8fbfe0e"><code>5a912e8</code></a>
Fix lint and jest issues</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/cache/compare/v5...v6">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/setup-node` from 6 to 7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-node/releases">actions/setup-node's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements:</h3>
<ul>
<li>Add cache-primary-key and cache-matched-key as outputs by <a
href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
<a
href="https://redirect.github.com/actions/setup-node/pull/1577">actions/setup-node#1577</a></li>
<li>Migrate to ESM and upgrade dependencies by <a
href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
<a
href="https://redirect.github.com/actions/setup-node/pull/1574">actions/setup-node#1574</a></li>
</ul>
<h3>Bug fixes:</h3>
<ul>
<li>Remove dummy NODE_AUTH_TOKEN export by <a
href="https://github.com/gowridurgad"><code>@​gowridurgad</code></a> in
<a
href="https://redirect.github.com/actions/setup-node/pull/1558">actions/setup-node#1558</a></li>
<li>Only use <code>mirrorToken</code> in <code>getManifest</code> if
it's provided by <a
href="https://github.com/deiga"><code>@​deiga</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1548">actions/setup-node#1548</a></li>
</ul>
<h3>Documentation updates:</h3>
<ul>
<li>Add documentation for publishing to npm with Trusted Publisher
(OIDC) by <a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1536">actions/setup-node#1536</a></li>
<li>docs: Update restore-only cache documentation by <a
href="https://github.com/priya-kinthali"><code>@​priya-kinthali</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1550">actions/setup-node#1550</a></li>
<li>docs: Update caching recommendations to mitigate cache poisoning
risks by <a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1567">actions/setup-node#1567</a></li>
</ul>
<h3>Dependency update:</h3>
<ul>
<li>Upgrade <code>@​actions/cache</code> to 5.1.0, log cache write
denied by <a
href="https://github.com/jasongin"><code>@​jasongin</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1569">actions/setup-node#1569</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/chiranjib-swain"><code>@​chiranjib-swain</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1536">actions/setup-node#1536</a></li>
<li><a href="https://github.com/deiga"><code>@​deiga</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1548">actions/setup-node#1548</a></li>
<li><a href="https://github.com/jasongin"><code>@​jasongin</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1569">actions/setup-node#1569</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v6...v7.0.0">https://github.com/actions/setup-node/compare/v6...v7.0.0</a></p>
<h2>v6.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>@​actions/cache</code> to 5.1.0 and add security
overrides for undici and fast-xml-parser by <a
href="https://github.com/HarithaVattikuti"><code>@​HarithaVattikuti</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1579">actions/setup-node#1579</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v6.4.0...v6.5.0">https://github.com/actions/setup-node/compare/v6.4.0...v6.5.0</a></p>
<h2>v6.4.0</h2>
<h2>What's Changed</h2>
<h3>Dependency updates:</h3>
<ul>
<li>Upgrade <a
href="https://github.com/actions"><code>@​actions</code></a>
dependencies by <a
href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1525">actions/setup-node#1525</a></li>
<li>Update Node.js versions in versions.yml and bump package to v6.4.0
by <a
href="https://github.com/priya-kinthali"><code>@​priya-kinthali</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/1533">actions/setup-node#1533</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Copilot"><code>@​Copilot</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/1525">actions/setup-node#1525</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v6...v6.4.0">https://github.com/actions/setup-node/compare/v6...v6.4.0</a></p>
<h2>v6.3.0</h2>
<h2>What's Changed</h2>
<h3>Enhancements:</h3>
<ul>
<li>Support parsing <code>devEngines</code> field by <a
href="https://github.com/susnux"><code>@​susnux</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/1283">actions/setup-node#1283</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-node/commit/820762786026740c76f36085b0efc47a31fe5020"><code>8207627</code></a>
Migrate to ESM and upgrade dependencies (<a
href="https://redirect.github.com/actions/setup-node/issues/1574">#1574</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/04be95cf3511ea51ebf9f224ddfb99cc7ab87cd4"><code>04be95c</code></a>
Add cache-primary-key and cache-matched-key as outputs (<a
href="https://redirect.github.com/actions/setup-node/issues/1577">#1577</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/7c2c68d20d402ed6a201ada70a81341941093140"><code>7c2c68d</code></a>
docs: Update caching recommendations to mitigate cache poisoning risks
(<a
href="https://redirect.github.com/actions/setup-node/issues/1567">#1567</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/6a61c0375d66246de94630495909f12cf8dac84d"><code>6a61c03</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/setup-node/issues/1569">#1569</a>
from jasongin/update-actions-cache-5.1.0</li>
<li><a
href="https://github.com/actions/setup-node/commit/30eb73b41ded577900c1ebf968ef95cdf8f7434f"><code>30eb73b</code></a>
Resolve high-severity audit issues</li>
<li><a
href="https://github.com/actions/setup-node/commit/4e1a87a501d0302f99e30e2748568adcb388d09f"><code>4e1a87a</code></a>
Update dist</li>
<li><a
href="https://github.com/actions/setup-node/commit/360237f0c01778d0c17291f75c56d6feae4f7574"><code>360237f</code></a>
Strict equality</li>
<li><a
href="https://github.com/actions/setup-node/commit/4f8aac5beb2f0854bc79651567a18c67eb0b9de3"><code>4f8aac5</code></a>
Bump <code>@​actions/cache</code> to 5.1.0, log cache write denied</li>
<li><a
href="https://github.com/actions/setup-node/commit/f4a67bbeca970f103397d3d2b9462cf787cd2980"><code>f4a67bb</code></a>
Only use <code>mirrorToken</code> in <code>getManifest</code> if it's
provided (<a
href="https://redirect.github.com/actions/setup-node/issues/1548">#1548</a>)</li>
<li><a
href="https://github.com/actions/setup-node/commit/0355742c943ddb13ca8a6b700f824231caa91e75"><code>0355742</code></a>
Remove dummy NODE_AUTH_TOKEN export (<a
href="https://redirect.github.com/actions/setup-node/issues/1558">#1558</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-node/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 11:12:32 +00:00
dependabot[bot] cf52284589 chore(deps): bump tokio from 1.52.3 to 1.53.1 (#4436)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.52.3 to 1.53.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tokio/releases">tokio's
releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.53.1</h2>
<h1>1.53.1 (July 20th, 2026)</h1>
<h3>Fixed</h3>
<ul>
<li>signal: restore MSRV by removing <code>OnceLock::wait</code> from
the Windows handler (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>)</li>
</ul>
<h3>Fixed (unstable)</h3>
<ul>
<li>time: fix alt timer cancellation and insertion race (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>runtime: remove dead link definition in Runtime::block_on (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/8252">tokio-rs/tokio#8252</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/8300">tokio-rs/tokio#8300</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/8301">tokio-rs/tokio#8301</a></p>
<h2>Tokio v1.53.0</h2>
<h1>1.53.0 (July 17th, 2026)</h1>
<h3>Added</h3>
<ul>
<li>fs: implement <code>From&lt;OwnedFd&gt;</code> and
<code>From&lt;OwnedHandle&gt;</code> for <code>File</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8266">#8266</a>)</li>
<li>metrics: add task schedule latency metric (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7986">#7986</a>)</li>
<li>net: add <code>SocketAddr</code> methods to Unix sockets (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8144">#8144</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>io: add <code>#[inline]</code> to IO trait impls for in-memory types
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8242">#8242</a>)</li>
<li>net: implement UCred::pid on FreeBSD (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8086">#8086</a>)</li>
<li>net: support Nuttx target os (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8259">#8259</a>)</li>
<li>signal: refactor global variables on Windows (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8231">#8231</a>)</li>
<li>sync: <code>mpsc::{Receiver,UnboundedReceiver}</code> now drops
waker on drop, even if there are still senders (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8095">#8095</a>)</li>
<li>taskdump: support taskdumps on s390x (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8192">#8192</a>)</li>
<li>time: add <code>#[track_caller]</code> to <code>timeout_at()</code>
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8077">#8077</a>)</li>
<li>time: consolidate mutex locks on spurious poll (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8124">#8124</a>)</li>
<li>time: defer waker clone on spurious poll (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8107">#8107</a>)</li>
<li>time: move lazy-registration state into <code>Sleep</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8132">#8132</a>)</li>
<li>tracing: remove unnecessary span clone (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8126">#8126</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>io: do not treat zero-length reads as EOF in <code>Chain</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8251">#8251</a>)</li>
<li>net: use getpeereid for QNX peer credentials (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8270">#8270</a>)</li>
<li>runtime: avoid illegal state in <code>FastRand</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8078">#8078</a>)</li>
<li>sync: wake mpsc receiver when a queued <code>reserve[_many]</code>
returns permits (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8260">#8260</a>)</li>
<li>taskdump: skip double wake on
<code>Trace::capture</code>/<code>Trace::trace_with</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8043">#8043</a>)</li>
<li>time: avoid stack overflow in runtime constructor (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8093">#8093</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/75fef53d0a8590c2d1dbb63672aa7b7d1ef51155"><code>75fef53</code></a>
chore: prepare Tokio v1.53.1 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8303">#8303</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/ae9d01121377cdbef32b9d5e8559843cce9f927e"><code>ae9d011</code></a>
signal: restore MSRV by removing OnceLock::wait from the Windows handler
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/eb4988dc2ecb85d2617971fbbabc84938c141bfd"><code>eb4988d</code></a>
time: fix the loom test of the race between cancellation/insertion (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8302">#8302</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/91d3b4c0bccf2234fc3ed19e605e2cd402f19437"><code>91d3b4c</code></a>
time: fix alt timer cancellation and insertion race (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/a46338401b9e0ffc9bd68c31100ee99cee717481"><code>a463384</code></a>
runtime: remove dead link definition in <code>Runtime::block_on</code>
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/be689a35f5ade5a39e507f79d3ec85cdab27806f"><code>be689a3</code></a>
chore: prepare Tokio v1.53.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8294">#8294</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/50f76c71ec7203013f7f0cda59deaa9016e93939"><code>50f76c7</code></a>
chore: prepare tokio-macros v2.7.1 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8295">#8295</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/f61fccad3cd598cce743fc511a983364b77af92a"><code>f61fcca</code></a>
Merge 'tokio-1.52.4' into 'master' (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8290">#8290</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/efdba5fcf02c4b93d379114df136b994c3b21445"><code>efdba5f</code></a>
chore: prepare Tokio v1.52.4 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8289">#8289</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/b0ba02e75507518baed6718b0c37105e430f3a93"><code>b0ba02e</code></a>
Merge 'tokio-1.51.4' into 'tokio-1.52.x' (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/8288">#8288</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.52.3...tokio-1.53.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.52.3&new-version=1.53.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 11:09:55 +00:00
dependabot[bot] a0cb927ddb chore(deps): bump portable-atomic from 1.13.1 to 1.14.0 (#4438)
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from
1.13.1 to 1.14.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's
changelog</a>.</em></p>
<blockquote>
<h2>[1.14.0] - 2026-07-17</h2>
<ul>
<li>
<p>Guarantee that <code>is_lock_free</code> to always return the same
result. (<a
href="https://github.com/taiki-e/portable-atomic/commit/e74f384efab9eae540087a20ed140dddc0d06ce7">e74f384</a>)</p>
</li>
<li>
<p>Fix bug in 128-bit <code>fetch_{min,max}</code> on pre-z196 s390x.
(<a
href="https://github.com/taiki-e/portable-atomic/commit/a6c6c4bdb7c1b4f9d406ebbdcc54805e5e7eec10">a6c6c4b</a>)</p>
</li>
<li>
<p>Fix bug in atomic float <code>fetch_{add,sub,max,min}</code> on
AArch64 when FEAT_LSFE is enabled. (There are currently no known CPUs
that support FEAT_LSFE.) (<a
href="https://github.com/taiki-e/portable-atomic/commit/b105f9bc612e07c6f6a07291fa2be8cba38fa5df">b105f9bc</a>)</p>
</li>
<li>
<p>Fix panic in build script when custom target with non-standard name
on non-nightly rustc. (<a
href="https://github.com/taiki-e/portable-atomic/commit/02ca7371eecd005fa1b170c12f8a0bad5e77a7fb">02ca737</a>)</p>
</li>
<li>
<p>Improve robustness of interrupt disable/restore on RISC-V and Xtensa.
(<a
href="https://github.com/taiki-e/portable-atomic/commit/88cb3d50c66569dab95cc93250bd1e4202508a65">88cb3d5</a>)</p>
</li>
<li>
<p>Optimize SeqCst fence on x86. (<a
href="https://github.com/taiki-e/portable-atomic/commit/9127b31caae0545424254b5ba6dcf5c91b7d59e6">9127b31</a>)</p>
</li>
<li>
<p>Optimize 128-bit CAS when FEAT_LSE is not enabled. (<a
href="https://github.com/taiki-e/portable-atomic/commit/671b9a89d1e324547a3f29ae09a5a306b3b54a3b">671b9a89</a>)</p>
</li>
<li>
<p>Optimize SeqCst atomics on AArch64 Windows MSVC. (<a
href="https://github.com/taiki-e/portable-atomic/commit/671b9a89d1e324547a3f29ae09a5a306b3b54a3b">671b9a89</a>)</p>
</li>
<li>
<p>Optimize 8-bit fetch_and/fetch_or/fetch_xor/fetch_not on AVR when RMW
instructions available. (<a
href="https://github.com/taiki-e/portable-atomic/commit/6f2f11f243673380e8732c5c5c1e18e6a5b553ff">6f2f11f2</a>)</p>
</li>
<li>
<p>Optimize 128-bit RMW on s390x. (<a
href="https://github.com/taiki-e/portable-atomic/commit/b8c502a9238e9aed4e169f909b3d25c797f76cc4">b8c502a9</a>)</p>
</li>
<li>
<p>Optimize run-time CPU feature detection. (<a
href="https://github.com/taiki-e/portable-atomic/commit/cae703222aca87d2a014372a02afb14c0b80ed32">cae7032</a>)</p>
</li>
<li>
<p>Enable run-time detection by default on AArch64 Apple targets. (<a
href="https://github.com/taiki-e/portable-atomic/commit/6c920155e7645b859e6f667963c90f775e561213">6c92015</a>)</p>
</li>
<li>
<p>Enable run-time detection by default on AArch64 illumos. (<a
href="https://github.com/taiki-e/portable-atomic/commit/59e3636bbe5515121c137d3b939e2cd39b50f1a4">59e3636b</a>)</p>
</li>
<li>
<p>aarch64: Support run-time detection of FEAT_LSE2 on Windows. (<a
href="https://github.com/taiki-e/portable-atomic/commit/16bc44f07b0709828a9d2f100dccde7db5477794">16bc44f0</a>)</p>
</li>
<li>
<p>Make <code>portable_atomic_no_outline_atomics</code> cfg no-op
instead of compile error on unsupported architectures. (<a
href="https://github.com/taiki-e/portable-atomic/commit/6b8e3eb3b92bd64a0a6516bf4f72feb467ccbb3d">6b8e3eb</a>)</p>
</li>
<li>
<p>Improve compile-time detection of AVR target features. (<a
href="https://github.com/taiki-e/portable-atomic/commit/2b5a9a4f6df1736f536aecade53181ca24446846">2b5a9a4f</a>)</p>
</li>
<li>
<p>Documentation improvements.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/5cfa54ab884015dc3d195648ad60f976c63024ef"><code>5cfa54a</code></a>
Release 1.14.0</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/099b92819792e7ad7504e940bfefb23b2b016388"><code>099b928</code></a>
Update changelog</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/c4124367b89594b1f6d5dbc493561e3bae51a324"><code>c412436</code></a>
Fix bit_clear docs</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/921d719c9913f3556b69db4df910d50b50c5f57e"><code>921d719</code></a>
Remove unused portable_atomic_pre_llvm_15 cfg</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/02ca7371eecd005fa1b170c12f8a0bad5e77a7fb"><code>02ca737</code></a>
Do not panic in build script with odd custom target name</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/a6c6c4bdb7c1b4f9d406ebbdcc54805e5e7eec10"><code>a6c6c4b</code></a>
s390x: Fix byte_wise_atomic_load</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/def5258aea655397927c1492a435eeea59fb1528"><code>def5258</code></a>
ci: Temporarily disable f128 test for Windows</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/100179970a26d33f1d655325392a0dc304876758"><code>1001799</code></a>
fallback: Move shared code to seq_lock_common.rs and improve tests</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/fd2f9f0b46d00abf8ea343350a93b3aa5f3ea394"><code>fd2f9f0</code></a>
Update comments</li>
<li><a
href="https://github.com/taiki-e/portable-atomic/commit/2265f7aeceaf1a24508ffb45fb1920ce6f53d3cd"><code>2265f7a</code></a>
Make cfg_*_fast_atomic_64! helper macros rustfmt-able</li>
<li>Additional commits viewable in <a
href="https://github.com/taiki-e/portable-atomic/compare/v1.13.1...v1.14.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=portable-atomic&package-manager=cargo&previous-version=1.13.1&new-version=1.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 11:08:59 +00:00
dependabot[bot] 03199f2a07 chore(deps): bump hdrhistogram from 7.5.4 to 7.6.0 (#4437)
Bumps [hdrhistogram](https://github.com/HdrHistogram/HdrHistogram_rust)
from 7.5.4 to 7.6.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/HdrHistogram/HdrHistogram_rust/blob/main/CHANGELOG.md">hdrhistogram's
changelog</a>.</em></p>
<blockquote>
<h2>[7.6.0] - 2026-07-18</h2>
<p>Note that this release bumps MSRV to 1.88 because it uses a few newer
Rust features like <code>use&lt;&gt;</code> and
<code>[]::as_chunks</code>.</p>
<h3>Added</h3>
<ul>
<li><code>HdrHistogram::value_at_quantiles</code> and
<code>HdrHistogram::value_at_percentiles</code> for faster lookup of
multiple
quantiles/percentiles (<a
href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/138">#138</a>).</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>HdrHistogram::value_at_quantile</code> and
<code>HdrHistogram::value_at_percentile</code> now use vectorized
operations so
that they should be significantly faster on larger histograms (<a
href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/140">#140</a>).</li>
<li>All usages of <code>unsafe</code> are removed, causing serialization
to be
slightly slower, but safe.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/199643836b0c68a9d90d904cc3feb96b8c6e87ce"><code>1996438</code></a>
Merge pull request <a
href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/147">#147</a>
from HdrHistogram/bump-deps</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/6ebf27ce946f1ff3e3112db023d1c61c5d7a859b"><code>6ebf27c</code></a>
Release as 7.6.0</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/659e1cc3d8c7fdb603bb8cf93328a91cd66381a2"><code>659e1cc</code></a>
try to fix minimal versions</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/ffe32ada367baf874f9bbfb760eb19adec73cab0"><code>ffe32ad</code></a>
cargo clippy --all-targets</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/8e708a705b479682c4414a85e645b117efcc54b9"><code>8e708a7</code></a>
Include u64::MAX in random 9-byte-varint values</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/081cd70490d67510831c612bdef64abd5f13f313"><code>081cd70</code></a>
make minimal versions explicit</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/9fac3cffad9d75cf933665ad5aeafe7582bade69"><code>9fac3cf</code></a>
Upgrade nom to 8</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/539f323976fd4b83cce6f09d8d6a927f767a3cff"><code>539f323</code></a>
Upgrade rand to 0.10</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/afa033ae27f59cf259dd6e849a6d04322113746c"><code>afa033a</code></a>
Upgrade base64 to 0.22</li>
<li><a
href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/f661037dc2dd495f963ceb63de2326663593b2be"><code>f661037</code></a>
cargo fmt</li>
<li>Additional commits viewable in <a
href="https://github.com/HdrHistogram/HdrHistogram_rust/compare/v7.5.4...v7.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hdrhistogram&package-manager=cargo&previous-version=7.5.4&new-version=7.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 11:07:59 +00:00
Frando 96d35e317d refactor(iroh): extract block_udp_except_dns firewall helper
The UDP-block firewall rules were repeated inline at each router in the
relay tests. A named helper removes the duplication and states what the
rules are for.
2026-07-22 12:14:17 +02:00
Frando 267183a3fe test(iroh): harden relay patchbay tests after review
Pin the connect tests to the relay with the UDP-block firewall so the
ping exchange deterministically traverses the relay; without it the
public unNATed peers could holepunch mid-ping and silently reduce
coverage. Give the post-outage pings 30s headroom: the relay client's
reconnect backoff grows during the outage and can sleep through the
link coming back for several seconds past the old 15s deadline. Retry
the relay respawn briefly since the old server's sockets are released
asynchronously after shutdown. Bound the Pair end-of-run barrier so a
peer that fails before reaching it no longer hangs the healthy side
until the nextest timeout.
2026-07-22 12:14:17 +02:00
Frando 8a9150f686 test(iroh): spell out the UDP-block firewall rules instead of a preset
The explicit rules (inbound blocked, outbound UDP allowed only for
DNS, outbound TCP open) make the blocked surface visible in the test
instead of hiding it behind the CaptivePortal preset name.
2026-07-22 12:14:17 +02:00
Frando 71c3361c4c test(iroh): relay tests with UDP fully blocked on one or both peers
The blocked peers sit behind a home NAT with the CaptivePortal firewall
ruleset (outbound TCP free, all UDP except DNS dropped), so QAD and
holepunching are impossible and the connection must run over the relay
via TCP. Covers both peers blocked and each side blocked alone; all
variants assert the connection stays relayed while data flows. Without
the firewall the still-relayed assertion fails within the hold period,
so the tests verifiably depend on the UDP block.
2026-07-22 12:14:17 +02:00
Frando ee46da063e test(iroh): relay patchbay tests for v4/v6 connectivity and reconnects
Two connect tests place both peers on single-family access networks so
all relay traffic runs over IPv4 resp. IPv6. The reconnect tests pin
the connection to the relay with symmetric NATs on both sides, then
break one peer's access link or restart the relay server on the same
ports, and verify data flows again once the relay clients reconnect.
2026-07-22 12:14:17 +02:00
Floris Bruynooghe e080db719a chore: Run daily flaky CI even 2h earlier (#4431)
## Description

Currently they start finishing around 9 CEST, so they can go 2 hour
earlier.

## Breaking Changes

n/a

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-21 14:25:18 +00:00
“ramfox” f2eb930dda chore(iroh-dns-server): adjust iroh dev dependency to not depend on a specific version of iroh, but instead rely on the path v1.0.3 2026-07-20 15:44:59 -04:00
“ramfox” e5c710a29f chore: Release 2026-07-20 15:27:40 -04:00
“ramfox” e84fe96dde chore: update to noq 1.1.0 2026-07-20 14:34:23 -04:00
Floris Bruynooghe cc876c75e5 fix(iroh): error when connecting with an empty ALPN (#4427)
## Description

When using connect with an empty ALPN rustls throws a panic from
somewhere strange. Catch this early.

Part of #4423 

## Breaking Changes

n/a

## Notes & open questions

When testing what the server does when you connect to it when it has
an empty alpn configured I ran into other yaks... I'll get there but
it'll take a while. Let's do the client in the meantime.

## Change checklist

- [x] Self-review.
- [x] Tests if relevant.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-17 16:09:02 +00:00
Floris Bruynooghe 1795b9363c fix: remove vergen use from build.rs files (#4426)
## Description

This removes the vergen dependency and removes it from the build.rs
files where it was used. It was a no-op: the only environment variable
we used from it was one we explicitly configured vergen to not
generate. Since no one has missed this information for so long there's
no point in fixing it.

Vergen's use of git is doing the wrong thing in some situations: when
the crate itself is build from a registry archive there is no git repo
for iroh itself. But in some build setups there might be a git repo
somewhere in a parent directory which git than finds and uses. This
not only results in finding the wrong info, but also results in
triggering rebuilds when they are not needed due to unrelated changes
in the found git repo. See
https://github.com/n0-computer/iroh/issues/4418

Fixes #4418.

## Breaking Changes

none

## Notes & open questions

none

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-17 11:57:31 +00:00
Floris Bruynooghe b8c5759d47 ci: run daily jobs earlier & run patchbay in merge queue (#4425)
## Description

This runs the daily jobs earlier because they eat into the entire
Europe morning right now. Which slows down development work a lot.

Also runs patchbay tests in the merge queue, we probably want those to
be required.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
- [ ] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [ ] This PR isn't slop, and is carefully crafted to do have the
      intented effect.

<!-- Message of single commit: -->
2026-07-17 09:26:42 +00:00
Asmir Avdicevic c717c70b4a chore(ci): make sure android cleans up after itself (#4421)
## Description

The android QEMU VM at creation time was set to the default 6GB which
means all android runners got only that for their work. While the VM is
recreated on every run, the disk is just re-mounted and not really
cleaned up well afterwards.

This should claw back some headroom to work on it. In case it's an issue
again we need to go onto all the relevant CI boxes and adjust the config
for the disk image and wipe/recreate it.

Tested all the above manually on the linux ci instance 3.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-16 18:43:40 +00:00
Floris Bruynooghe 4e0a820d07 deps: bump cfg_aliases (#4422)
## Description

This avoids a new lint/compilation error with rust 1.97.

## Breaking Changes

n/a

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-16 16:56:14 +00:00
Franz Heinzmann 9f951b216b refactor(iroh): reduce warn logs (#4378)
## Description

Reduce `WARN` logs we emit for failed sends or receives. These are
normal under a few circumstances as numerous users reported. Let's
demote them to debug under most circumstances.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-16 10:21:10 +00:00
Floris Bruynooghe 57fb5c2805 deps: Allow GA releases of curve25519-dalek and ed25519-dalek (#4416)
## Description

This allows all of the -rc0, -rc1 and the GA releases of the
curve25519-dalek and ed25519-dalek crates. Giving downstream users the
flexibility to use either of them.

The pieces that iroh depends on have no breaking changes, so iroh can
work with both.

## Breaking Changes

None.

## Notes & open questions

Alternative to #4407.
Closes #4415.

Tested using this manifest on a new project:

``` toml
[package]
name = "testproj"
version = "0.1.0"
edition = "2024"

[dependencies]
# curve25519-dalek = "5.0.0"
# ed25519-dalek = "3.0.0"
curve25519-dalek = "5.0.0-rc.0"
ed25519-dalek = "3.0.0-rc.0"
iroh = "1.0.2"

[patch.crates-io]
iroh = { path = "/home/flub/n0/iroh/iroh" }
iroh-base = { path = "/home/flub/n0/iroh/iroh-base" }
```

Both versions seem to work. But please check if this makes sense. I
was a little surprise by this myself.

## Change checklist

- [x] Self-review.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-15 12:05:06 +00:00
Asmir Avdicevic 5e994a71b7 fix(ci): move android test back to self hosted nodes (#4413)
## Description

QEMU freezes sometimes with the double virtualization using blacksmith
runners. Its a known bug
(https://bugzilla.redhat.com/show_bug.cgi?id=1841040). Moving us back to
our bare metal runners avoids this.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-14 17:22:48 +00:00
Asmir Avdicevic 3e1e4b7d63 fix: add pkarr resolver to n0 preset (#4412)
## Description

Adds the PkarrResolver to the defaults in the n0 preset so we have a
fallback in case DNS queries against dns.iroh.link are somehow blocked.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-14 13:24:27 +00:00
Floris Bruynooghe 5817271c4a ci: Update semver checks for 1.0 stability (#4401)
## Description

Now that 1.0 is stable we should run our semver checks against the
latest release, which is automatically found on crates.io. This also
means we can enable caching for it.

We do allow for adding deprecations, as per
https://semver.org/#how-should-i-handle-deprecating-functionality

## Breaking Changes

none

## Notes & open questions

- This matches the changes in noq:
https://github.com/n0-computer/noq/pull/734

- When there's a semver change that requires a new minor version the
  check will fail. We will have to increment the version number in the
  PR that requires this from now on.

- iroh-dns-server didn't have the workspace lints enabled. I assume this
was an
oversight so added them. They are needed to pick up the semver config
from
the workspace Cargo.toml (there are some alternatives, but we want those
lints).
So this also fixes a few of the new lints and clippy warnings coming
with that,
  luckily not much noise.

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-13 16:40:01 +00:00
403af3c9ed docs(iroh-relay): system deps and build command (#4385)
## Description

<!-- A summary of what this pull request achieves and a rough list of
changes. -->

Helps people know what system deps to install and know how to build the
`iroh-relay` server binary.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

N/A.

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->
N/A.

## Change checklist

<!-- Remove any that are not relevant. -->

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-07-10 11:26:27 +00:00
dependabot[bot] c8ea799c21 chore(deps): bump regex from 1.12.4 to 1.13.0 (#4403)
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.4 to 1.13.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.13.0 (2026-07-09)</h1>
<p>This release includes a new API, a <code>regex!</code> macro, for
lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely
you've
already written one exactly like it. The new macro can be used like
this:</p>
<pre lang="rust"><code>use regex::regex;
<p>fn is_match(line: &amp;str) -&gt; bool {<br />
// The regex will be compiled approximately once and reused
automatically.<br />
// This avoids the footgun of using <code>Regex::new</code> here, which
would<br />
// guarantee that it would be compiled every time this routine is
called.<br />
// This would likely make this routine much slower than it needs to
be.<br />
regex!(r&quot;bar|baz&quot;).is_match(line)<br />
}</p>
<p>let hay = &quot;<br />
path/to/foo:54:Blue Harvest<br />
path/to/bar:90:Something, Something, Something, Dark Side<br />
path/to/baz:3:It's a Trap!<br />
&quot;;</p>
<p>let matches = hay.lines().filter(|line| is_match(line)).count();<br
/>
assert_eq!(matches, 2);<br />
</code></pre></p>
<p>Improvements:</p>
<ul>
<li><a
href="https://redirect.github.com/rust-lang/regex/issues/709">#709</a>:
Add a new <code>regex!</code> macro for efficient and automatic reuse of
a compiled regex.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/926af2e68eca3ce089815790541cf50759ba2c59"><code>926af2e</code></a>
1.13.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7d941a93561430cd259bb9ceb84cc66f33ae7be8"><code>7d941a9</code></a>
regex-automata-0.4.15</li>
<li><a
href="https://github.com/rust-lang/regex/commit/e358341229ebd5feb9a78d8cc85b459c3c7b6600"><code>e358341</code></a>
api: add <code>regex!</code> macro for lazy compilation</li>
<li><a
href="https://github.com/rust-lang/regex/commit/c42033379c8760105ef90287f319de73d1572242"><code>c420333</code></a>
automata: disable miri on a couple doc tests</li>
<li><a
href="https://github.com/rust-lang/regex/commit/b9d2cf724f89754ea879b6c223d2292c4d3e2dd3"><code>b9d2cf7</code></a>
github: add FUNDING link</li>
<li><a
href="https://github.com/rust-lang/regex/commit/0858006b1460ba781deda54b8d2b01b3f9f949f7"><code>0858006</code></a>
docs: add AI policy for contributors</li>
<li><a
href="https://github.com/rust-lang/regex/commit/468fc64ecd6493caaca40dbe8319c31c5c08a83d"><code>468fc64</code></a>
automata: reject dense DFA start states that are match states</li>
<li>See full diff in <a
href="https://github.com/rust-lang/regex/compare/1.12.4...1.13.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.12.4&new-version=1.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-10 10:36:48 +00:00
Floris Bruynooghe 8b097b2488 chore: fixes for clippy from rust 1.97 (#4404)
## Description

New rust release, new clippy warnings.

## Breaking Changes

n/a

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-10 09:09:35 +00:00
Floris Bruynooghe 908ddf5d7c deps: bump crossbeam-epoch for invalid pointer dereference (#4402)
## Description

Another cargo-deny warning we did just get.

## Breaking Changes

none

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-08 20:38:58 +00:00
“ramfox” c3ccf502c3 chore: Release v1.0.2 2026-07-06 16:51:32 -04:00
“ramfox” ead46e5082 chore(*): add release configuration for generating the changelog 2026-07-06 16:32:28 -04:00
dependabot[bot] c295151018 chore(deps): bump humantime from 2.3.0 to 2.4.0 (#4387)
Bumps [humantime](https://github.com/chronotope/humantime) from 2.3.0 to
2.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chronotope/humantime/releases">humantime's
releases</a>.</em></p>
<blockquote>
<h2>2.4.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: allow creating Duration in const context by <a
href="https://github.com/ctron"><code>@​ctron</code></a> in <a
href="https://redirect.github.com/chronotope/humantime/pull/70">chronotope/humantime#70</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/chronotope/humantime/commit/fc092817fa8689298eaac28ff49bd8bede4ff605"><code>fc09281</code></a>
chore: prepare release 2.4.0</li>
<li><a
href="https://github.com/chronotope/humantime/commit/8a022cce55a07da2be81721e7deaa5bd071add72"><code>8a022cc</code></a>
feat: allow creating Duration in const context</li>
<li><a
href="https://github.com/chronotope/humantime/commit/27a4f77519a436f4137d1c50ff2f3eb559292cfd"><code>27a4f77</code></a>
Explicitly set rust-version to 1.60</li>
<li><a
href="https://github.com/chronotope/humantime/commit/acc3c19658ecae06cf35467dfe03392a67dbf2b1"><code>acc3c19</code></a>
ci: upgrade to actions/checkout v7</li>
<li><a
href="https://github.com/chronotope/humantime/commit/3acf96bb886ebd16f9e2e8a37d7229e4bd30dd17"><code>3acf96b</code></a>
ci: fix workflow formatting</li>
<li>See full diff in <a
href="https://github.com/chronotope/humantime/compare/v2.3.0...v2.4.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-06 10:42:16 +02:00
Philipp Krüger 22cac742ca fix(iroh-relay): Improve relay protocol proptests & properly handle invalid messages (#4389)
## Description

- Adds an `ensure!` to make sure that we parse invalid client-to-relay
gracefully
- Adds a regression test for the above
- Improves proptests for parsing the protocol
- Moves to using `test_strategy` for proptests instead of the proptest
macro
- Renames some test functions to replace "server" with "relay" and
improve consistency

## Breaking Changes

None

## Notes

This is 99% test improvements, and a one-line fix.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-03 12:10:00 +02:00
Franz Heinzmann c23446ce2e feat(relay): allow updating the per-client rate limit live (#4381)
## Description

Currently, in the relay server, the per-client receive rate limit is
fixed when a connection was accepted: `RelayService` stores the rate
limit config immutably, so changing the rate limit is only possible
through rebuilding the service and dropping its live connections.

This PR puts the rate behind a `watch` channel instead. Each accepted
connection subscribes a receiver, and `RateLimited` reconfigures its
bucket on the next read whenever the value changes.
`RelayService::set_client_rate_limit` is a new public function to change
the rate limit for this `RelayService`.

It uses `tokio:::sync::watch` and not `n0_watcher`, because checking
whether the rate limit changed is on the hot path (on each `poll_read`
of the underlying socket), and in tokio's watch channel, checking wether
the value changed is a single atomic load, whereas in n0_watcher,
checking if changed aquires a ReadLock.

## Breaking Changes

None. One API addition:
`iroh_relay::server::RelayService::set_client_rate_limit`.

## Notes & open questions

We need this in iroh services to update the rate limit for a project
once it reaches its spend cap. This will work because each tenant in the
multitenant relays is a `RelayService` each internally.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-03 11:26:44 +02:00
Jordan McQueen 8e7819a909 fix(iroh): receive transport lanes fairness counter issue (#4384)
The receive scheduler is supposed to act like alternating traffic lanes,
but it only calculated the next lane order and never saved it. When two
lanes were ready, the same lane kept getting every poll.

Fixed by storing the incremented receive counter before choosing the
polling order. The scheduler now keeps its lane state and reverses order
every other poll.

The new integration-style unit test models two always-ready custom
transport lanes. Before the fix it failed with a 0/10,000 vs
10,000/10,000 split. After the fix it passes with a 5,000/5,000 split
for both selected lanes and actual poll counts.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Tests if relevant.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intended effect.
2026-07-02 12:13:35 +01:00
Jordan McQueenandFloris Bruynooghe 9541a6d135 fix(iroh-dns-server): DNS write benchmark measurement (#4382)
Measure only the DNS write loop in the Criterion benchmark.

The old benchmark used `b.iter`, so Criterion measured runtime creation,
config loading, server binding, client setup, packet creation, the
publish loop, and shutdown. It also republished the same signed packet
for every iteration.

This patch moves setup outside the measured duration, switches to
`iter_custom`, and generates distinct signed packets for the measured
publish batch. This makes `dns_server_writes` report write-path
throughput instead of setup-heavy duplicate-publish timing.

```text
   +-------+----------------------+----------------------+---------------------+----------------------+----------------------+--------------------------+
   | iters | before time (median) | after time (median)  | median time delta   | before throughput    | after throughput     | Criterion verdict        |
   +-------+----------------------+----------------------+---------------------+----------------------+----------------------+--------------------------+
   |    10 |            36.372 ms |             4.009 ms |  -32.363 ms / -89.0%|        274.93 elem/s |      2.494 Kelem/s   | improved, p < 0.05       |
   |   100 |            69.348 ms |            37.477 ms |  -31.871 ms / -46.0%|      1.442 Kelem/s   |      2.668 Kelem/s   | improved, p < 0.05       |
   |   250 |           113.170 ms |           102.680 ms |  -10.490 ms /  -9.3%|      2.209 Kelem/s   |      2.435 Kelem/s   | improved, p = 0.05       |
   |  1000 |           364.230 ms |           414.710 ms |  +50.480 ms / +13.9%|      2.746 Kelem/s   |      2.411 Kelem/s   | regressed, p < 0.05      |
   +-------+----------------------+----------------------+---------------------+----------------------+----------------------+--------------------------+
 ```

 Per-element view:

 ```text
   +-------+------------------------+------------------------+----------------------+
   | iters | before median / elem   | after median / elem    | interpretation       |
   +-------+------------------------+------------------------+----------------------+
   |    10 |            3637.20 us  |             400.91 us  | setup dominated old  |
   |   100 |             693.48 us  |             374.77 us  | setup still visible  |
   |   250 |             452.68 us  |             410.72 us  | closer to write path |
   |  1000 |             364.23 us  |             414.71 us  | unique writes cost   |
   +-------+------------------------+------------------------+----------------------+
 ```

## Change checklist

- [x] Self-review.
- [x] Tests if relevant.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intended effect.

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
2026-07-01 15:22:21 +01:00
Franz Heinzmann d2a075fa5c tests(iroh): Regression test for transient Windows recv errors (#4348)
## Description

This adds a regression test for #4297 and other transient
Windows recv errors. See
https://github.com/n0-computer/net-tools/pull/166 for details.

The test used to fail on Windows, and passes with
https://github.com/n0-computer/net-tools/pull/166.

Fixes #4297

## Notes & open questions

Will need a release of `netwatch` (can be a patch release).

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
2026-07-01 11:41:07 +02:00
Floris BruynoogheandFriedel Ziegelmayer 82b079263c chore: remove extensive breaking changes instructions (#4380)
## Description

Now that we're 1.0 we don't break things anymore, we can keep this
section shorter.

## Breaking Changes

none

## Notes & open questions

We could remove this entirely? Or maybe there needs to be a section
for API changes instead where it makes more sense to describe API
additions and deprecations?

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.

Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-06-29 12:59:37 +02:00