fix: scope runtime readiness to rollout services

This commit is contained in:
lyon
2026-06-17 22:50:21 +08:00
parent 77339d9431
commit fe0cf433af
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -2967,9 +2967,7 @@ function readObservedServiceIds() {
const plan = JSON.parse(fs.readFileSync("/workspace/source/affected-services.json", "utf8"));
const rolloutServices = Array.isArray(plan.rolloutServices) ? plan.rolloutServices.filter(Boolean) : [];
if (rolloutServices.length === 0) return null;
const ids = new Set(rolloutServices);
if (ids.has("hwlab-cloud-api")) ids.add("hwlab-deepseek-proxy");
return ids;
return new Set(rolloutServices);
} catch {
return null;
}