Repository navigation
修复:订阅源失败时保留节点与hosts缓存,策略组由SubBoost统一生成 - #108
Closed
QAQLeonard wants to merge 3 commits into
Closed
QAQLeonard wants to merge 3 commits into
QAQLeonard wants to merge 3 commits into
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
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.
某个订阅源暂时关闭或获取失败时,当前实现可能丢失该源的节点;完整YAML中的hosts等连接配置也会在导入后丢失,导致节点解析到错误入口。本修改按源保存成功结果,失败时保留已有数据,其他源仍可独立更新。
最终导出的策略组和分流规则完全由SubBoost生成,不导入原订阅的策略组、规则、子规则或规则提供者,也不向SubBoost策略组追加原订阅组入口。节点连接参数保持不变,原始配置仅保存在源缓存中。
具体改动:
验证:115项相关离线测试全部通过,覆盖配置生成、策略组与规则不被原订阅污染、provider-only导入/预览/保存/更新/导出、失败保留、DNS并发与资源限制、请求预算和流量信息更新。TypeScript、ESLint和git diff --check通过。
本PR仅包含运行源码,测试和临时部署文件未提交。