diff --git a/run/core/deployment-orchestrator.ts b/run/core/deployment-orchestrator.ts index 91432eb..d4358ed 100644 --- a/run/core/deployment-orchestrator.ts +++ b/run/core/deployment-orchestrator.ts @@ -517,7 +517,7 @@ export class DeploymentOrchestrator { }> { // Individual deployment: use its first URL (health check) if (manifest.deployment.type !== 'group') { - const urls = manifest.orchestration.urls ?? []; + const urls = manifest.orchestration?.urls ?? []; if (urls.length === 0) return []; return [{ ...urls[0], @@ -534,7 +534,7 @@ export class DeploymentOrchestrator { for (const id of this.deploymentRegistry.getAll()) { const dep = this.deploymentRegistry.get(id); if (!dep || dep.deployment.type === 'group') continue; - if (!dep.orchestration.urls?.length) continue; + if (!dep.orchestration?.urls?.length) continue; urls.push({ ...dep.orchestration.urls[0],