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): the build drain starts a refill after the fetch ended #2513
area:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedrustDependabot: a Cargo update; use area: labels for Rust code otherwise
When acquire returns, it awaits the lane builds still in flight for up to 30 s. A build there can be anywhere in its build: one that has not yet read the pool can still run the proactive refill and send a new topUp for a lane that never runs. That escrow is recorded and withdrawable, but the fetch did not need it.
#2506 makes the drain safe after an untracked escrow: the run refuses every later topUp and openPool. It does not stop a fresh, recorded refill after a fetch that completed.
Fix direction
The second direction from #2506: when the drain starts, cancel the builds that have not submitted a transaction, and await only those that have. For example, the run refuses every new topUp and openPool once the acquire has returned, while a build already past its submit finishes as it does now.
Checks
A build that reaches its refill after the fetch completed sends no topUp.
A build already past its submit when the fetch ends is still awaited, as today.
area:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
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)