Skip to content

docs(client-pull): correct stale proxy_warming_order fallback docstring - #1764

Merged
alpergundogdu merged 1 commit into
mainfrom
claude/1036-docstring-fix
Aug 20, 2026
Merged

alpergundogdu merged 1 commit into
mainfrom
claude/1036-docstring-fix

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

The proxy_warming_order docstring claimed the caller "uses only the first entry" and that proxy warming is "opt-in (default off)". Both became false with #1725:

  • The CLI fetch loop iterates the full ordered candidate list, failing over across providers on the same shared payment pool (each provider is its own lane, so a fallback escrows no new on-chain deposit and resumes its partial).
  • --proxy-warming defaults on.

Docstring-only; rewrites the paragraph to canon. Surfaced while reconciling #1036 (closed) — see also decdn/internal#117.

🤖 Generated with Claude Code

The docstring claimed the caller "uses only the first entry" and that proxy
warming is "opt-in (default off)". Both are false since #1725: the CLI `fetch`
loop iterates the full ordered candidate list, failing over across providers on
the same shared payment pool (each provider its own lane, no new deposit), and
`--proxy-warming` defaults on. Rewrite the paragraph to canon.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 20, 2026 11:06
@alpergundogdu
alpergundogdu merged commit 40446de into main Aug 20, 2026
26 checks passed
@alpergundogdu
alpergundogdu deleted the claude/1036-docstring-fix branch August 20, 2026 11:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Rustdoc for client-pull’s proxy-warming candidate ordering to reflect the current CLI behavior after provider failover + shared payment pool changes.

Changes:

  • Corrects the proxy_warming_order docstring to state that the CLI fetch loop iterates the full ordered candidate list (proxy failover across candidates, then holder).
  • Documents that failover uses the same shared payment pool (provider lanes) and resumes partial progress without escrowing a new on-chain deposit.
  • Notes that proxy warming is default-on and a declining proxy should not regress a fetch due to failover.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown

Coverage report

Total: 81.09% (was 81.09%, ● 0.00%) — 59629/73537 lines

File Coverage Lines Δ
crates/client-pull/src/discovery.rs 96.18% 755/785 ● 0.00%
History
Commit Total Δ vs base
aabd33a (HEAD) 81.09% ● 0.00%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants