Repository navigation
fix(deps): hold noq-proto at 1.3 again, and keep Dependabot off the noq crates - #2655
Merged
Merged
Conversation
…oq crates The rust-dependencies group bump (#2635) took noq-proto from 1.3.0 to 1.4.0, past the hold ADR 000 records and 131f668 set. noq-proto 1.4 caps a stream's buffered chunks and closes the connection with INTERNAL_ERROR ("too many gaps in stream buffer", #2585) once the reader falls about 2.4 MiB behind. A pull then dies mid-leg with the node's credit-window bytes delivered and unpaid: cli_fetch_topup's deposit-short journey settled 18095 µUSDC of a 20083 µUSDC wire cost, paid 15 MiB of a leg that landed 17.7 MB, and failed every run on main and in CI (#2629). With noq-proto at 1.3.0 it settles the whole wire cost in one leg. Dependabot ignored only iroh*, so it could move the noq crates on their own. It now ignores noq* too; they move with iroh, on a deliberate cargo update. Refs #2629, #2585 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The rollback restores noq-proto 1.3.0’s known peer-triggered memory-exhaustion vulnerability, requiring maintainer acceptance of the security-versus-pull-reliability tradeoff.
No open issues 🎉
What changed in this PR
Restores the QUIC dependency baseline to avoid the stream-buffer regression that interrupts paid downloads. This removes one trigger; the separate underpayment issue in #2629 remains open.
Changes:
- Downgrades
noq-protofrom 1.4.0 to 1.3.0 without changing its dependency list. - Excludes
noq*crates from Dependabot updates so upgrades are coordinated manually with iroh.
| File | Description |
|---|---|
Cargo.lock |
Restores noq-proto 1.3.0 and its checksum. |
.github/dependabot.yml |
Adds the noq* ignore rule and documents the regression behind the hold. |
Review effort: Balanced
9 tasks done
Code coverage overviewLanguages: Rust Rust / code-coverage/cargo-llvm-cov
View coverage of the 3 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
#2635 (the Dependabot
rust-dependenciesgroup) bumpednoq-proto1.3.0 → 1.4.0, past the hold that ADR 000 records and131f6684set. noq-proto 1.4 caps a stream's buffered chunks and closes the connection withINTERNAL_ERROR("too many gaps in stream buffer", #2585) once the reader falls ~2.4 MiB behind. A pull then dies mid-leg with the node's credit-window bytes delivered and unpaid.Evidence, from
cli_fetch_topup::fetch_of_blob_far_exceeding_deposit_settles_whole_wire_cost_once(failing every run locally onmain@ c564e2a, and 3/3 tries in #2654's CI):no terminal signal after the voucher write failed; … connection lost; leg 2 resumes at exactly 17,743,872.client stream ended with error … proof stream read failed: connection lost: peer-side fault paid_wire_bytes=15728640.With
noq-protoat 1.3.0 (this PR) the journey settles exactly 20,083 µUSDC in one leg, 3/3 runs, and all threecli_fetch_topuptests pass twice in a row.Cargo.lock:noq-protoback to 1.3.0 — only its version and checksum, the exact inverse of chore(deps): bump the rust-dependencies group with 3 updates #2635's hunk (its dependency list is unchanged;cargo build --lockedaccepts it)..github/dependabot.yml: ignorenoq*as well asiroh*, so the noq crates move only with iroh, on a deliberatecargo update.Refs #2629, #2585
Reviewer notes
aws-sdk-s3andpslfrom chore(deps): bump the rust-dependencies group with 3 updates #2635 stay bumped.Verification
cargo build --locked -p decdn-cli -p decdn-node(lock unchanged by the build)cargo nextest run -p decdn-e2e --features anvil-e2e -E 'binary(cli_fetch_topup)' --retries 0— 3 passed, twice; built binaries linknoq-proto-1.3.0fix, lowercase subject🤖 Generated with Claude Code