Repository navigation
docs(client-pull): correct stale proxy_warming_order fallback docstring - #1764
Merged
Merged
Conversation
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]>
There was a problem hiding this comment.
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_orderdocstring to state that the CLIfetchloop 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.
Coverage reportTotal: 81.09% (was 81.09%, ● 0.00%) — 59629/73537 lines
History
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
proxy_warming_orderdocstring claimed the caller "uses only the first entry" and that proxy warming is "opt-in (default off)". Both became false with #1725:fetchloop 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-warmingdefaults on.Docstring-only; rewrites the paragraph to canon. Surfaced while reconciling #1036 (closed) — see also decdn/internal#117.
🤖 Generated with Claude Code