You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(client): a fatal lane build drops the rest of its batch, and an escrow in it goes unnamed #2508
area:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
The acquire loop moves every lane build that is ready into one batch (scheduler.rs:4082). When one result in the batch is fatal, the loop returns at once (scheduler.rs:4098) and drops the rest of the batch.
Those results are already out of connecting, so the drain of late builds (#2500) never sees them. If a second build in the same batch ended with an untracked escrow, its tx is lost with no log line. A shared store failure, such as a full disk, can fail two refills at the same moment.
Fix direction
Before returning a fatal batch result, fold each remaining result in the batch through the same escrow check drain_builds uses: a result that escrow_untracked matches is added to the error as context.
Checks
Two builds that are ready in the same batch, each with an untracked escrow, give one error that names both txs.
Found in the #2500 review (silent-failure pass). This behavior existed before #2500.
Another way to hit this, from the #2506 review: the batch is [local fault, EscrowUntracked]. For example, a full disk fails build X's seed_lane write (fatal as a local disk fault) in the same sweep where build A's add_deposit fails after a mined topUp. The fetch reports only the disk fault, so the operator frees space and re-runs, which escrows again. The fix direction here covers it: fold each remaining escrow_untracked result in the batch into whatever fatal error the loop returns, not only into another escrow error.
area:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
thiras commentedon Oct 17, 2026
Another way to hit this, from the #2506 review: the batch is
[local fault, EscrowUntracked]. For example, a full disk fails build X'sseed_lanewrite (fatal as a local disk fault) in the same sweep where build A'sadd_depositfails after a minedtopUp. The fetch reports only the disk fault, so the operator frees space and re-runs, which escrows again. The fix direction here covers it: fold each remainingescrow_untrackedresult in the batch into whatever fatal error the loop returns, not only into another escrow error.fix(client): refuse every escrow of a run after an untracked one
fix(client): refuse every escrow of a run after an untracked one (#2514)
fix(client,cli)!: escrow and drain follow-ups (#2508, #2513, #2515, #…