fix: scope runtime readiness to rollout services
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ lanes:
|
||||
- skills/hwlab-agent-runtime/
|
||||
env:
|
||||
HWLAB_METRICS_NAMESPACE: hwlab-v03
|
||||
HWLAB_OBSERVABILITY_CONFIG_REVISION: PJ2026-01060505-20260617-render-source
|
||||
HWLAB_OBSERVABILITY_CONFIG_REVISION: PJ2026-01060505-20260617-rollout-scope
|
||||
observable: true
|
||||
hwlab-user-billing:
|
||||
runtimeKind: go-service
|
||||
|
||||
@@ -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