Repository navigation
feat: independent maintenance proxy policy with bounded jittered scheduling - #453
Open
qiantingwl wants to merge 1 commit into
Open
qiantingwl wants to merge 1 commit into
qiantingwl wants to merge 1 commit into
Conversation
xiarunjie
added a commit
to xiarunjie/Agent2API
that referenced
this pull request
Nov 4, 2026
…bounded jitter 来源 aimod-cc#453(相对 v3.4.0 基线 mergeable=true,逐文件取该 PR head 内容组装)。先在 audit 分支上过闸。
xiarunjie
added a commit
to xiarunjie/Agent2API
that referenced
this pull request
Nov 4, 2026
合并 aimod-cc#305 / aimod-cc#434 时用的是「取 PR head 的整个文件」,而这两个 PR 的 base 分别是 `a55e1eb1` / `bd36938d`(比 3.4.0 早),整文件覆盖把基线里更新的实现一起退回了 旧版本,后果是库编译报错(`adapter.host()` / `leased()` / `deferred()` / `error_policy_async` / 参数个数不符),warm-cache 在 Windows 上直接编译失败。 现在这 4 个文件改为三方合并的结果: ours = 3.4.0 基线(094c6e1b) base = 该 PR 自己声明的 base 提交 theirs= 该 PR 的 head 对 rpc.rs 再做一次阶段二合并(base = 0add462,head = aimod-cc#453),把 aimod-cc#434 与 aimod-cc#453 两处增量都留住(实测合并无冲突)。 教训已记:跨基线的 PR 不能整文件搬,必须三方合并后再落。
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.
Summary
Implement opt-in, operation-specific proxy selection for account balance, check-in and rewards, independent of model/account proxy settings.
Host changes
Compatibility
Default-off. One compatible host upgrade is required; an old host cannot acquire the new management API solely through a plugin update. Afterwards additional providers can implement the same optional capability in plugin updates. The initial provider implementation covers Raccoon and Loomy.
An external HTTP/SOCKS5 aggregation service remains one native pool entrance; its internal downstream rotation is separate from host entrance rotation. No retired subscription subsystem is restored. No real subscription URLs, credentials, account exports, deployment addresses or logs are included.
Verification
--libtest target does not compile: existingRequestQueryinitializer fields inapi/pipeline.rsandsend_with_retrytest arity incore/upstream/provider_loop/tests.rs. Reproduced on the unmodified baseline; not fixed in this feature PR. Production build and isolated tests are reported separately, not as a full-suite pass.Boundaries
No live production deployment, real account claims, paid model requests or claims of real-provider availability. No dedicated mobile settings UI yet; use the web panel. No version bump, tag or release. See
docs/maintenance-egress.mdand the reproducible test scripts.Companion provider PR: ProvidersPlugin/Agent2Providers#33
🤖 本条回复由 AI Agent 生成
Generated by an AI agent.