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
fetch: stall floor is per-stream only, so a per-entry crawl never triggers failover or a second source #2120
During a testnet gpt-oss bundle pull, the transfer dropped from about 10 MB/s to well under 1 MB/s of useful payload, from one provider, for more than 20 minutes. Two other bonded providers sat idle. No stall, failover or WARN fired.
Root cause
The floor only catches near-dead streams. It is --min-throughput-bps 4096 over the trailing --stall-timeout-ms 30000 window of one stream, 120 KiB per 30 s (crates/client-pull/src/lib.rs:1099-1104, :2401). It exists to catch dead or drip-feeding streams, and it does not score the peer.
Nothing re-ranks a slow source. No mechanism compares an entry's effective throughput against other candidates or adds a second source mid-entry. The 10 s --unit-deadline-ms exists only inside the multi-source scheduler, and the dedup path never uses that scheduler.
Candidate fixes
A. Track progress per entry (bytes landed per wall-clock, across legs). When it stays below a floor relative to the entry's remaining size, try the next candidate or fan out.
B. Surface the entry's effective rate and ETA in -v output so a crawl is visible.
Activity
fix(cli,client-pull): harden bundle pull failover, dedup complement, …