Merge branch 'dev' into codex/refactor-to-active-only-architecture-qpp4w8

This commit is contained in:
Arvin
2026-04-09 13:58:01 +08:00
committed by GitHub
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -408,13 +408,11 @@ status_build_active_sources() {
status_build_failed_active_sources() {
local value
value="$(read_build_value "BUILD_FAILED_ACTIVE_SOURCES" 2>/dev/null || true)"
if [ -n "${value:-}" ]; then
echo "$value"
return 0
fi
# 兼容历史 build.env
read_build_value "BUILD_FAILED_SOURCES" 2>/dev/null || true
}
+1 -1
View File
@@ -281,11 +281,11 @@ normalize_env_compat() {
CLASH_SUBSCRIPTION_UA="$CLASH_SUB_UA"
fi
# 旧默认值迁移:公网默认监听
if [ "${EXTERNAL_CONTROLLER:-}" = "127.0.0.1:9090" ]; then
EXTERNAL_CONTROLLER="0.0.0.0:9090"
fi
# 已废弃:active-only 主链不再消费该字段
unset BUILD_MIN_SUCCESS_SOURCES 2>/dev/null || true