fix(p2p): update noq to 1.1.0 - #1171
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The noq/noq-proto/noq-udp 1.0.1 → 1.1.0 bump itself looks right (picks up n0-computer/noq#732 and #748, matching what we were waiting on for #1090/#1091, and keeps overflow checks untouched). One concern before merging: the Cargo.lock diff contains a number of downgrades on crates unrelated to noq — e.g. Could you redo the lock change as a targeted update so the diff only carries the noq crates and their genuinely-required transitive bumps? Happy to merge right after. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Restore main's Cargo.lock and apply only the entries the noq 1.1.0 release requires: noq, noq-proto, noq-udp 1.0.1 -> 1.1.0 and cfg_aliases 0.2.1 -> 0.2.2 (required by noq 1.1.0). Drops the unrelated windows-sys/socket2/syn downgrades from the original wholesale lock regeneration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Lockfile redone in 213ec7e — the diff vs main is now exactly the three noq crates at 1.1.0 plus Root cause of the original churn, for the record: with the workspace's Validated on the final lockfile: |
Problem
DefraDB is locked to
noq1.0.1, which contains two production crash paths:.expect("known path")and panics.Drainingevent decrementsactive_connectionstwice, causing an underflow panic with overflow checks or a shutdown hang without them.Both defects were fixed upstream after 1.0.1, but no released upgrade was available when they were reported.
What changed
noq,noq-proto, andnoq-udpto 1.1.0.Validation
cargo test -p p2p --features iroh-transportcargo test -p defra-p2p-adapter --features irohcargo clippy -p p2p -p defra-p2p-adapter --all-targets --features p2p/iroh-transport,defra-p2p-adapter/iroh -- -D warningscargo clippy --all -- -D warningscargo fmt --all -- --checknoq-proto1.1.0 source includes regression coverage for both failure modes.Closes #1090.
Closes #1091.