Skip to content

Conversation

@DHR60
Copy link
Contributor

@DHR60 DHR60 commented Sep 7, 2025

#7887

设为活动配置文件前检查,目前只在手动切换节点时检查

目前检查核心是否支持,以及节点分流和链式代理是否正确

检查核心是否支持包括:核心是否支持其协议,核心是否支持其传输层,如果检查不通过则停止切换节点

节点分流和链式代理是否正确:检查别名是否存在,以及核心是否支持,检查不通过仅提示

@DHR60
Copy link
Contributor Author

DHR60 commented Sep 8, 2025

等把复杂ProfileItem做完再合吧,本来就是为了这个饺子调的醋
image

@2dust
Copy link
Owner

2dust commented Sep 9, 2025

放到下一个版本合并发布吧,近期先把这个版本做稳定了

@DHR60 DHR60 marked this pull request as draft September 9, 2025 14:49
@DHR60 DHR60 force-pushed the precheck branch 6 times, most recently from 7b09cb4 to 69e083f Compare September 14, 2025 13:01
@DHR60 DHR60 force-pushed the precheck branch 6 times, most recently from 545dcaf to 11924b5 Compare September 23, 2025 08:51
@2dust
Copy link
Owner

2dust commented Oct 2, 2025

这些 pr ,需要先合并哪个?

@2dust 2dust closed this Oct 2, 2025
@2dust 2dust reopened this Oct 2, 2025
@DHR60
Copy link
Contributor Author

DHR60 commented Oct 2, 2025

Multi profile -> PreCheck
只有这个是线性的

@2dust
Copy link
Owner

2dust commented Oct 6, 2025

这个可以合并了吗?

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 6, 2025

可以

原本想附带上具体有问题节点的 Remark 来着,但是 Snackbar 会截断过长的文本,就不做了吧

@DHR60 DHR60 marked this pull request as ready for review October 6, 2025 13:16
@2dust 2dust merged commit fec7353 into 2dust:master Oct 7, 2025
@DHR60 DHR60 deleted the precheck branch October 7, 2025 03:59
@2dust
Copy link
Owner

2dust commented Oct 8, 2025

可能调用的方式需要改变下,目前测试中发现,策略组设置的时候,即使是不正确的组合也可以保存成功,但是启动的时候不会调用。
准备在 LoadCore 的时候调用下

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 8, 2025

这部分原本是刻意设计的来着,想激活时只提醒而不是检查
加个仅检查当前节点的函数应该就可以吧

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 8, 2025

那如果策略组中有 hy2 和 vless 混合节点,使用 sing-box 核心
因为一些原因切换到 xray 核心,这样是保存不了吗?

@2dust
Copy link
Owner

2dust commented Oct 8, 2025

你的意思提示下后可以保存是吗?这样也行。
启动的 loadcore 估计也得加,不然现在就只有一个产生配置失败

@2dust
Copy link
Owner

2dust commented Oct 8, 2025

原来的错误都比较简单,现在有了 group 后变复杂了,配置失败的情况变多了

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 8, 2025

那目前就是 loadcore 和保存节点时调用一下?

@2dust
Copy link
Owner

2dust commented Oct 8, 2025

我来处理下

@2dust
Copy link
Owner

2dust commented Oct 8, 2025

你有空帮忙测试最近提交的代码有没有问题。
现在测试很麻烦,太复杂了

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 8, 2025

ok

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 8, 2025

对了,udp 延迟测试做吗?

半年前 ai 搓了个出来,有点过度实现了,打算重写下 pr 上来

DHR60@1ea5977

@2dust
Copy link
Owner

2dust commented Oct 8, 2025

对了,udp 延迟测试做吗?

半年前 ai 搓了个出来,有点过度实现了,打算重写下 pr 上来

DHR60@1ea5977

不知道有什么应用的场景,先放着呗。

@2dust
Copy link
Owner

2dust commented Oct 8, 2025

有空想用 ai 写点两个核心的配置测试功能,简单函数测试就不做了,意义不大。
独立测试项目,把能想到的用例都写出来, 慢慢完善。

@DHR60
Copy link
Contributor Author

DHR60 commented Oct 8, 2025

也就是单元测试那种?需要帮忙可以喊我

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