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
cli fetch: replacing an expired buyer channel silently parks its residual deposit until a manual channel clean #1553
area:clidecdn binary: get, gateway, pool, publish, origin, setupprio:mediumScheduledrustDependabot: a Cargo update; use area: labels for Rust code otherwise
decdn fetch replaces a tracked-but-expired buyer channel by opening a fresh one (topUp cannot extend expiry) and leaves the expired channel's residual USDC deposit escrowed on-chain. The doc comment (crates/cli/src/commands/fetch.rs:1896-1903) defers reclaim to "the node service (…) #940 follow-up" — but #940 is closed, and the node-side reclaim sweep (crates/node/src/buyer_channel.rs) covers the daemon's own channels, not the CLI keystore's.
The replaced row is not lost: the store keys rows by channel id with a provider index on top (crates/incentive/src/buyer_channel_table.rs:324-349), so recording the replacement re-points the index but keeps the expired row, and decdn channel clean (close → dispute window → settle/reclaim over every tracked channel) can reach it. But nothing tells the user this — the runtime warning (fetch.rs:1991-1996) says only "must be reclaimed manually for now" and names no command.
minimum: point the replacement warning at decdn channel clean
better: when open_or_reuse replaces an expired channel, kick off the close→settle sweep for the replaced channel id so the deposit returns without operator memory
area:clidecdn binary: get, gateway, pool, publish, origin, setupprio:mediumScheduledrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix(cli): accurate messaging for reverted reclaim + await latency (#1553
fix(cli): auto-reclaim replaced expired buyer channel on fetch (#1553) (