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
client: the self-heal re-drive of a bundle head leaves about 2 MiB delivered but unpaid #2722
area:clientdecdn-client SDK: paid pull, lanes, buyer poolarea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedkind:testTest coverage, flakes, fixtures or the e2e harnessprio:highNext up
Error: self-heal must pay exactly a's whole file plus b's complement plus b's re-driven head = 8823222, got 6734774
It needed a retry in 3 of the last 12 green ci.yml runs (for example run 40746384696).
Analysis
The shortfall, 2,088,448 B, sits entirely in b's re-driven head [0, 4 MiB).
6,734,774 − wire(a) − wire(complement) = 2,122,240 = wire of head groups 127..256 exactly.
So head groups 0..127 were delivered but never paid, and a second leg resumed at group 127.
2,097,152 (two 1 MiB reveals) − 2,088,448 = 8,704, which is exactly the proof overlap of a resume at group 127.
This is a real client under-pay, not a test-model error. It has the same shape as #2718: about two 1 MiB intervals delivered and not billed after a resume. The CLI runs at RUST_LOG=warn and the test prints no stderr on this assertion, so the trigger is not captured.
Ask
Capture the client log on failure, find the resume path that drops the delivered-but-unpaid span, and fix it in the client.
area:clientdecdn-client SDK: paid pull, lanes, buyer poolarea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedkind:testTest coverage, flakes, fixtures or the e2e harnessprio:highNext up
Activity
fix(client): bill the delivered tail a resumed leg leaves unpaid