fix: scope runtime readiness to rollout services
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user