Repository navigation
Description
anvil e2e (journeys) fails in CI on crates/e2e/tests/cli_fetch_topup.rs — fetch_of_blob_far_exceeding_deposit_settles_whole_wire_cost_once, in all three nextest tries:
Error: under-pay: settled 18095 µUSDC, below the whole-blob WIRE cost of 20083 µUSDC. A paid frontier derived from a stale per-leg baseline overshoots the true one and skips billing exactly this way
This is the same journey as #2629, which #2662 closed. The shortfall now is 1988 µUSDC (one try showed 2000), about two 1 MiB intervals at this rate. #2629 showed 996.
When it fails
| Run | Ref | Result |
|---|---|---|
| 40707738910 | main @ 80d49c9 |
pass |
| 40717568317 | #2709 @ eae17c6 | pass |
| 40721618766 | #2709 @ 19521b5 | fail (18095, 18083) |
| 40724425626 | #2709 @ b1f869d | pass |
| 40726354301 | main @ 6d610cf (#2709 merged) |
fail (18095 ×3) |
| 40741912153 | #2712 @ c383eb9 | fail (18095 ×3) |
- Every recorded
mainrun before fix(node): count a resolved pool's on-chain redemptions toward its remaining deposit #2709 passes. - It fails on fix(node): count a resolved pool's on-chain redemptions toward its remaining deposit #2709's branch and on every run after fix(node): count a resolved pool's on-chain redemptions toward its remaining deposit #2709 merged, except fix(node): count a resolved pool's on-chain redemptions toward its remaining deposit #2709's own final head.
- It passed in a local
cargo nextest run -p decdn-e2e --features anvil-e2eon fix(node): batch fix for the node security audit issues #2712's branch (113/113).
So it is intermittent and depends on load, like #2629, and it appears with #2709. #2709 makes the admit path count getPool.totalRedeemed toward a resolved pool's remaining, so the node now sees less headroom on a pool it seeded. In this deposit-short journey, a lower remaining makes the mid-stream PoolExhausted stop, and the client's top-up and resume, happen earlier or more often. That is where #2629's stale-baseline under-pay came from.
Ask
Find out whether this is a real under-pay or a test that reads the lane too early. Candidates:
- A real under-pay: a paid frontier skips intervals when the solvency stop trips and the fetch resumes, a path fix(client): bill the credit-window tail after a funding stop and top up the overdraft #2662 did not close.
- A test artifact: the test reads the persisted lane watermark before the last vouchers are recorded.
Fix the cause, not the bound.
Repro
Load is the trigger, as in #2629:
cargo build -p decdn-cli -p decdn-node
cargo nextest run -p decdn-e2e --features anvil-e2e --retries 0 --no-fail-fastRun it several times. Run alone, the test passes.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
thiras commentedon Oct 28, 2026
Another failure: 40747573264, #2712 @ 84651ca. Settled 18095 / 18083 / 18095 against 20083 in the three tries. The suite is fail-fast, so only 48 of 113 tests ran.
fix(deps): restore the iroh/noq 1.3 hold and guard it in the lockfile (…
fix(client): bill the delivered tail a resumed leg leaves unpaid
fix(client): bill the delivered tail a resumed leg leaves unpaid (#2728)