From 6f2ea93350d03668abc28eaf6687d41ea87b7c4d Mon Sep 17 00:00:00 2001 From: Quinn Ftw Date: Sun, 1 Feb 2026 19:16:22 -0800 Subject: [PATCH] =?UTF-8?q?feat(deployment-orchestrator):=20=E2=9E=95=20Ad?= =?UTF-8?q?d=20dependency=20for=20new=20deployment=20orchestration=20provi?= =?UTF-8?q?der=20and=20implement=20core=20orchestration=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- run/bun.lock | 8 ++++---- run/core/deployment-orchestrator.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/run/bun.lock b/run/bun.lock index 33688a6..b93c299 100644 --- a/run/bun.lock +++ b/run/bun.lock @@ -5,10 +5,10 @@ "": { "name": "@lilith-platform/run-tooling", "dependencies": { - "@lilith/deployment-registry": "1.0.0-dev.1769690054", + "@lilith/deployment-registry": "1.0.0-dev.1770001993", "@lilith/service-orchestrator": "1.2.3", "@lilith/service-registry": "1.3.2-dev.1769505764", - "@lilith/terminal-cli-complex": "^1.8.10", + "@lilith/terminal-cli-complex": "^1.8.11", "@lilith/terminal-formatting": "^1.0.0", "@lilith/terminal-reporters": "^1.0.0", "chalk": "^5.6.2", @@ -81,13 +81,13 @@ "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "http://localhost:4874/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], - "@lilith/deployment-registry": ["@lilith/deployment-registry@1.0.0-dev.1769690054", "http://localhost:4874/@lilith/deployment-registry/-/deployment-registry-1.0.0-dev.1769690054.tgz", { "dependencies": { "@lilith/service-orchestrator": "*", "@lilith/service-registry": "*", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "yaml": "^2.8.2" } }, "sha512-+8AokKuj2jjwX1f5qLK/TpVy53LW/ylWdD7KsuUPQLJ+dHFj8wz109c5c/4ELRhYU2WEvNQvPYHTVFbPPnfQtQ=="], + "@lilith/deployment-registry": ["@lilith/deployment-registry@1.0.0-dev.1770001993", "http://localhost:4874/@lilith/deployment-registry/-/deployment-registry-1.0.0-dev.1770001993.tgz", { "dependencies": { "@lilith/service-orchestrator": "*", "@lilith/service-registry": "*", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "yaml": "^2.8.2" } }, "sha512-6bOqXDzNJ6rkMZBy36FxY/SiZE54VqK0K9dM/U/aV3BiuQAy+GKH9WnFOsM/TOqIwiPPQVrTdqoTMw+KIJxy8Q=="], "@lilith/service-orchestrator": ["@lilith/service-orchestrator@1.2.3", "http://localhost:4874/@lilith/service-orchestrator/-/service-orchestrator-1.2.3.tgz", { "dependencies": { "@lilith/service-registry": "1.3.2-dev.1769505764" } }, "sha512-gVrHQjgP54OgYJu6iPZLE4lVKNd6a1CCP4NBCiOrzVd0FhLck2RLMpAwYbUkJ6lJHpq+rDACdy6uI6axjNzxlw=="], "@lilith/service-registry": ["@lilith/service-registry@1.3.2-dev.1769505764", "http://localhost:4874/@lilith/service-registry/-/service-registry-1.3.2-dev.1769505764.tgz", { "dependencies": { "yaml": "^2.8.2" } }, "sha512-xik8tMLs3gFc0u8S3iTUBA30dMEXPaMwkmIbqpcQ2uRW/HbrBHLXKWcorC3RxAsWiYT2pqyBV4abqfOS0aMHNQ=="], - "@lilith/terminal-cli-complex": ["@lilith/terminal-cli-complex@1.8.10", "http://localhost:4874/@lilith/terminal-cli-complex/-/terminal-cli-complex-1.8.10.tgz", { "dependencies": { "blessed": "^0.1.81", "blessed-contrib": "^4.11.0" } }, "sha512-XcIRZk2uHtHlBsgBs9WgzcjmIGD9SfGRpmy+iQua2W/kYcc1HcFqs64ZDkHuUaFkA47riyOzHK88kKQPMZtDTA=="], + "@lilith/terminal-cli-complex": ["@lilith/terminal-cli-complex@1.8.11", "http://localhost:4874/@lilith/terminal-cli-complex/-/terminal-cli-complex-1.8.11.tgz", { "dependencies": { "blessed": "^0.1.81", "blessed-contrib": "^4.11.0" } }, "sha512-H21AvVdf+qy9zvQR/J/lENXdrDGF8SksQcni1s7gGMtpidWaJq8GUDPUAWnK6MX6KtupOgDcAcN88U9SrGci3A=="], "@lilith/terminal-formatting": ["@lilith/terminal-formatting@1.0.0", "http://localhost:4874/@lilith/terminal-formatting/-/terminal-formatting-1.0.0.tgz", { "dependencies": { "boxen": "^8.0.0", "chalk": "^5.3.0", "cli-table3": "^0.6.5", "ora": "^8.0.1", "string-width": "^7.2.0", "strip-ansi": "^7.1.0" } }, "sha512-GJ6ymuYIU3TkI66JApwR++yOLQGOEK10jcMA1nj5tMwuESPookUyRR26QZZmewy/14vL4ggdxR9KGVInBPeFwA=="], diff --git a/run/core/deployment-orchestrator.ts b/run/core/deployment-orchestrator.ts index d4358ed..91432eb 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],