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
No user-settable deadline bounds client discovery #1349
area:clidecdn binary: get, gateway, pool, publish, origin, setupprio:mediumScheduledrustDependabot: a Cargo update; use area: labels for Rust code otherwise
PullDeadlines (crates/cli/src/commands/fetch.rs:569) is constructed afterresolve_target_node runs (fetch.rs:494) and wraps only the stream_fetch leg, so neither --stall-timeout-ms nor --timeout-ms covers node discovery. --timeout-ms's help text scopes it to "a single blob fetch" (crates/common/src/cli/fetch.rs:143), so this is not a contract violation — but there is no flag that bounds discovery at all.
Since #1341 that window is real: the registry read retries on the ADR 012 schedule, so a fully-failing page costs 36 s, and the budget resets per page, so an N-page read can reach 36 s × N. decdn fetch --timeout-ms 5000 can therefore take 36 s+ before the transfer starts.
#1341 mitigated the worst case (deterministic failures now return immediately instead of burning the schedule, and the cache fallback is announced on stderr), so this is no longer silent — but the latency is still unbounded and unconfigurable.
Options: an aggregate retry budget across pages rather than per-page, a discovery-specific deadline flag, or extending --timeout-ms to cover discovery with the help text updated to match.
Note the batch's review round revised the framing of this issue's premise where it was wrong — see the PR description and the ADR/NatSpec updates for the corrected account.
area:clidecdn binary: get, gateway, pool, publish, origin, setupprio:mediumScheduledrustDependabot: a Cargo update; use area: labels for Rust code otherwise
Activity
fix: batch six review follow-ups (#1346, #1347, #1348, #1349, #1359, #…
thiras commentedon Jul 21, 2026
Fixed in #1362 (merged as e73fa04).
Note the batch's review round revised the framing of this issue's premise where it was wrong — see the PR description and the ADR/NatSpec updates for the corrected account.