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
cache/ADR 037: origin_range_pull_enabled is specified but was never implemented; range pull-through is ungated #1555
ADR 037 specifies an operator toggle origin_range_pull_enabled (default true) for the ranged origin pull (§Parameters, adr/037-regional-proxy-warming.md:118; normative use at :74 — "A node MAY disable the attempt entirely"). The knob does not exist in code: the only workspace hit is a doc comment on RangePullOutcome::Unsupported (crates/cache/src/engine.rs:781, "…or origin_range_pull_enabled was off at the call site") describing a call site that cannot exist.
The actual gate on the serve path is request-shape + authorization only: crates/node/src/handlers/client/dispatch.rs:446-451; try_range_pull_through (handlers/client/fill.rs:339-357) then runs origin_size → pull_through_range unconditionally.
Decide one:
implement the knob (full config surfacing + gate at dispatch.rs:446) — its main payoff is skipping an origin HEAD per ranged miss for operators whose origin cannot range; or
strike the row from ADR 037 §Parameters, fix :74, and fix the engine.rs:781 doc clause, accepting that the fallback already makes the attempt always-correct
Activity
chore: knock off six low-LOC / doc-only issues (#1555, #1558, #1559, #…