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,cli): report every pool replacement a pull made, for a blob fetch too #2519
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 #2517 fix reports a bundle pull's first-pass replacement from the recovery gate. Two gaps remain.
1. decdn get of a blob reads the replacement from the error only
fetch.rs::next_pass takes the replacement from the pass's error (downcast_ref::<PoolReplaced>). A late lane build's escrow folds over a PoolReplaced ([fold_late_escrow]), so the replacement survives only as text. The command then prints no "reclaim it with: decdn pool reclaim" note for the closed pool. A bundle pull reads RecoveryGate::replaced for this case; a blob fetch does not.
2. A second-pass replacement is not reported
When the first pass's replacement runs the rest again, a second replacement (new pool 1 → new pool 2) ends the pull "funding needed". BundleOutcome::replaced holds only the first one, so new pool 1, which this pull funded at the full working deposit, gets no reclaim note. It appears only in the error text. The same holds for decdn get of a blob.
No funds are lost: each replacement records the new pool before it returns. The user is not told that a closed pool may hold a balance to reclaim.
Fix direction
In next_pass, also read recovery.replaced() before start_next_pass, and print the reclaim note for a replacement the error does not carry. Run the work again only on a PoolReplaced stop.
Report every replacement a pull made: for example BundleOutcome::replaced: Vec<PoolReplaced>, and one reclaim note per closed pool.
Checks
A blob fetch whose late escrow folds over a PoolReplaced prints the reclaim note, and runs no second pass.
A pull whose second pass replaces the pool again names both closed pools.
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
fix(client,cli): name every closed pool on every exit; review follow-…
fix(client,cli)!: replacement reporting, drained-build lock waits, po…