@wildo-ai/wildo-cli 1.1.7 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/commands/build/run.command.d.ts +8 -5
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js +62 -9
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +2 -1
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.js +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts +9 -3
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +10 -4
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +20 -0
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +57 -5
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +54 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +126 -14
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +19 -0
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -0
- package/dist/src/commands/context/launch-blockers.command.js +71 -0
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +3 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +18 -2
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts +16 -0
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -0
- package/dist/src/commands/creation/depth.command.js +50 -0
- package/dist/src/commands/creation/depth.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +11 -1
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts +15 -0
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -0
- package/dist/src/commands/creation/preflight.command.js +53 -0
- package/dist/src/commands/creation/preflight.command.js.map +1 -0
- package/dist/src/commands/creation/propose.command.d.ts +18 -0
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -0
- package/dist/src/commands/creation/propose.command.js +57 -0
- package/dist/src/commands/creation/propose.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +21 -6
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts +12 -0
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -0
- package/dist/src/commands/creation/reason.command.js +37 -0
- package/dist/src/commands/creation/reason.command.js.map +1 -0
- package/dist/src/commands/creation/report.command.d.ts +23 -0
- package/dist/src/commands/creation/report.command.d.ts.map +1 -0
- package/dist/src/commands/creation/report.command.js +129 -0
- package/dist/src/commands/creation/report.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +2 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +9 -0
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +28 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +38 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +0 -27
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +0 -26
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +2 -1
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +6 -1
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +50 -12
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +10 -5
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +7 -4
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +33 -54
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts +18 -0
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -0
- package/dist/src/commands/local/smoke.command.js +59 -0
- package/dist/src/commands/local/smoke.command.js.map +1 -0
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js +3 -2
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +6 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +17 -4
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js +5 -4
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +65 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +4 -0
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.js +1 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.js +1 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.js +3 -2
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts +29 -0
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -0
- package/dist/src/kernel/command-index-cache.js +89 -0
- package/dist/src/kernel/command-index-cache.js.map +1 -0
- package/dist/src/kernel/command-registry.d.ts +28 -0
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +89 -18
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +26 -5
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +39 -13
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +77 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -0
- package/dist/src/services/application/application-browser-smoke.service.js +195 -0
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts +107 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +278 -18
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -3
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +8 -3
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +26 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts +8 -0
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -0
- package/dist/src/services/application/backend-config.paths.js +9 -0
- package/dist/src/services/application/backend-config.paths.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts +61 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.js +167 -0
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -0
- package/dist/src/services/application/creation-preflight.service.d.ts +46 -0
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -0
- package/dist/src/services/application/creation-preflight.service.js +87 -0
- package/dist/src/services/application/creation-preflight.service.js.map +1 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts +79 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js +110 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js +2 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +70 -10
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +100 -11
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +12 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +27 -2
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts +46 -0
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -0
- package/dist/src/services/application/stored-declaration-currency.service.js +76 -0
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +3 -1
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +53 -3
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +94 -8
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +25 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +72 -1
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.d.ts +97 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.js +1 -0
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +0 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +0 -2
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +2 -5
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +3 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -3
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts +14 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +76 -7
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts +42 -11
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +75 -10
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +5 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +5 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +136 -2
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +360 -32
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +53 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +16 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +37 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js +20 -8
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +19 -9
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +5 -2
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +9 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +11 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts +9 -0
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -0
- package/dist/src/services/framework/dev-compile-status.paths.js +10 -0
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +3 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +8 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +20 -5
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +88 -7
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +43 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +20 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +24 -1
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts +46 -0
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -0
- package/dist/src/services/tracker/creation-run-tracker.service.js +66 -0
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +11 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js +14 -2
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/package.json +20 -17
- package/scripts/dev-orchestrator/compile-diagnostic-protocol.mjs +189 -0
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +683 -0
- package/scripts/dev-orchestrator/local-dev-status.mjs +1234 -0
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +8 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +9 -19
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +6 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +117 -8
- package/templates/saas/scenarios/add-technical-doc/scenario.json +3 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +7 -17
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +9 -2
- package/templates/saas/scenarios/add-website/scenario.json +2 -0
- package/templates/saas/skeleton/CLAUDE.md.hbs +4 -1
- package/templates/saas/skeleton/frontend/tsconfig.json.hbs +6 -3
- package/templates/saas/skeleton/frontend/tsconfig.node.json +18 -3
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +247 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +31 -15
- package/templates/saas/skeleton/specifications/src/brand/resolved-assets.generated.ts +10 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +20 -6
- package/wildo-framework.info.json +1 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +0 -8
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +0 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +0 -54
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +0 -1
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +0 -2
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js +0 -271
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +0 -1
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts +0 -2
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/init-application-repository.test.js +0 -125
- package/dist/src/commands/__tests__/init-application-repository.test.js.map +0 -1
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +0 -2
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +0 -51
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +0 -1
- package/dist/src/commands/__tests__/update.command.test.d.ts +0 -2
- package/dist/src/commands/__tests__/update.command.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/update.command.test.js +0 -249
- package/dist/src/commands/__tests__/update.command.test.js.map +0 -1
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +0 -2
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +0 -1
- package/dist/src/commands/acp/__tests__/probe.command.test.js +0 -36
- package/dist/src/commands/acp/__tests__/probe.command.test.js.map +0 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +0 -2
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +0 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +0 -259
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +0 -22
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +0 -268
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.command.test.js +0 -1591
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +0 -134
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +0 -106
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts +0 -14
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +0 -1076
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +0 -63
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +0 -118
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.js +0 -103
- package/dist/src/commands/context/__tests__/default-service-key.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/elements.command.test.js +0 -82
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/info.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +0 -321
- package/dist/src/commands/context/__tests__/info.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +0 -71
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +0 -27
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +0 -19
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +0 -106
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +0 -136
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js +0 -78
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +0 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +0 -2
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +0 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +0 -294
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +0 -1
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +0 -2
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +0 -1
- package/dist/src/commands/creation/__tests__/revert.command.test.js +0 -62
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +0 -1
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +0 -2
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +0 -1
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +0 -99
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +0 -1
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +0 -2
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +0 -1
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +0 -68
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +0 -202
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +0 -69
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +0 -475
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +0 -132
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +0 -88
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.js +0 -72
- package/dist/src/commands/dev/__tests__/stop.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +0 -198
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +0 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +0 -2
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +0 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +0 -124
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +0 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +0 -2
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +0 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +0 -70
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +0 -79
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +0 -119
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +0 -308
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -96
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +0 -46
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +0 -33
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.js +0 -58
- package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev.command.test.js +0 -467
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +0 -164
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +0 -285
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +0 -111
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +0 -136
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/init.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +0 -110
- package/dist/src/commands/local/__tests__/init.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.js +0 -186
- package/dist/src/commands/local/__tests__/reinit.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/reset.command.test.js +0 -308
- package/dist/src/commands/local/__tests__/reset.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/up.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/up.command.test.js +0 -225
- package/dist/src/commands/local/__tests__/up.command.test.js.map +0 -1
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts +0 -11
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +0 -1
- package/dist/src/commands/lock/__tests__/check.command.test.js +0 -140
- package/dist/src/commands/lock/__tests__/check.command.test.js.map +0 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +0 -35
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +0 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js +0 -122
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +0 -1
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts +0 -2
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +0 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +0 -217
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +0 -2
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -148
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +0 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +0 -2
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +0 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.js +0 -35
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +0 -10
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +0 -232
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +0 -11
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +0 -450
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/publish.test.js +0 -196
- package/dist/src/commands/registry/__tests__/publish.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +0 -168
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +0 -500
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +0 -87
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +0 -9
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/yank.test.js +0 -92
- package/dist/src/commands/registry/__tests__/yank.test.js.map +0 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +0 -2
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +0 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.js +0 -100
- package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +0 -1
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +0 -2
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +0 -1
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +0 -61
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +0 -1
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts +0 -2
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +0 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +0 -163
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +0 -1
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +0 -2
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +0 -1
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +0 -51
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +0 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +0 -2
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +0 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +0 -59
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +0 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +0 -2
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +0 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +0 -138
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/bootstrap.test.js +0 -88
- package/dist/src/kernel/__tests__/bootstrap.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-registry.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-registry.test.js +0 -197
- package/dist/src/kernel/__tests__/command-registry.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-runner.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-runner.test.js +0 -285
- package/dist/src/kernel/__tests__/command-runner.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.js +0 -46
- package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/flag-utils.test.js +0 -38
- package/dist/src/kernel/__tests__/flag-utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/hooks.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/hooks.test.js +0 -72
- package/dist/src/kernel/__tests__/hooks.test.js.map +0 -1
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js +0 -118
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +0 -88
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +0 -154
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +0 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +0 -89
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +0 -112
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +0 -91
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +0 -140
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +0 -220
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +0 -114
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +0 -884
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +0 -254
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +0 -263
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +0 -51
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +0 -160
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js +0 -152
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +0 -233
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +0 -29
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +0 -159
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +0 -143
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +0 -41
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +0 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +0 -65
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +0 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +0 -46
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +0 -10
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +0 -156
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +0 -60
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -298
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +0 -118
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +0 -175
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +0 -31
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +0 -82
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +0 -383
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +0 -98
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +0 -138
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +0 -129
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +0 -76
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +0 -284
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +0 -40
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +0 -946
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +0 -19
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -188
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +0 -29
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +0 -860
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +0 -180
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +0 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +0 -79
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +0 -93
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +0 -89
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +0 -172
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +0 -152
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +0 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +0 -2
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +0 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +0 -123
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +0 -10
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +0 -241
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +0 -25
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +0 -74
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +0 -138
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/creation-watch.test.js +0 -86
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +0 -14
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +0 -51
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +0 -71
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +0 -85
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +0 -289
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +0 -78
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +0 -67
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +0 -109
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +0 -54
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +0 -56
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.js +0 -119
- package/dist/src/services/context/__tests__/context-manager.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +0 -138
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +0 -201
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +0 -28
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +0 -239
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +0 -328
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +0 -52
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +0 -89
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +0 -14
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +0 -284
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +0 -56
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +0 -95
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +0 -113
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +0 -271
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +0 -277
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +0 -54
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +0 -61
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +0 -64
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +0 -90
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +0 -369
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +0 -51
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +0 -148
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +0 -47
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +0 -799
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +0 -20
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +0 -348
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +0 -83
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +0 -211
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +0 -68
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +0 -97
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +0 -258
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +0 -336
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +0 -100
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +0 -79
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +0 -11
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +0 -494
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +0 -229
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +0 -145
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +0 -100
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +0 -245
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +0 -27
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +0 -88
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +0 -339
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +0 -45
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +0 -81
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +0 -151
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +0 -1183
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +0 -156
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +0 -199
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +0 -81
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +0 -62
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +0 -265
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +0 -77
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +0 -1087
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +0 -39
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +0 -235
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +0 -71
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +0 -307
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +0 -47
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +0 -22
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +0 -52
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js +0 -112
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +0 -105
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +0 -86
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +0 -571
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +0 -80
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +0 -195
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +0 -1896
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +0 -22
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +0 -110
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +0 -82
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +0 -116
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +0 -128
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js +0 -18
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +0 -220
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js +0 -175
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +0 -321
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +0 -83
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +0 -162
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +0 -96
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js +0 -109
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +0 -48
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +0 -96
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +0 -150
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +0 -79
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +0 -108
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +0 -174
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js +0 -58
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +0 -152
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +0 -81
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +0 -66
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +0 -58
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +0 -14
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +0 -65
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +0 -41
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +0 -38
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +0 -181
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +0 -415
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +0 -100
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +0 -270
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +0 -1731
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +0 -1211
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +0 -783
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +0 -545
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.js +0 -96
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +0 -64
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +0 -348
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.js +0 -105
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +0 -200
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +0 -60
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +0 -20
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +0 -28
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +0 -60
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +0 -57
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +0 -100
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +0 -92
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +0 -95
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +0 -255
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +0 -83
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +0 -114
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +0 -905
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +0 -228
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +0 -310
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +0 -351
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +0 -363
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +0 -226
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +0 -399
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +0 -177
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +0 -48
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +0 -818
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +0 -9
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +0 -77
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +0 -221
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +0 -144
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +0 -70
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +0 -52
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +0 -135
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +0 -85
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +0 -159
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +0 -8
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +0 -148
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +0 -50
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +0 -302
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js +0 -138
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +0 -68
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +0 -91
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +0 -67
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +0 -67
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +0 -229
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +0 -2
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.js +0 -103
- package/dist/src/services/security/__tests__/csp-boundary.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +0 -2
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +0 -617
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +0 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +0 -2
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +0 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +0 -117
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +0 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +0 -21
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +0 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.js +0 -57
- package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +0 -1
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts +0 -4
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +0 -1
- package/dist/src/test-utils/resolved-homes.test.utils.js +0 -18
- package/dist/src/test-utils/resolved-homes.test.utils.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1,1591 +0,0 @@
|
|
|
1
|
-
import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'fs';
|
|
2
|
-
import { tmpdir } from 'os';
|
|
3
|
-
import { join } from 'path';
|
|
4
|
-
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
|
5
|
-
import { PlatformEnvOperatingSystem, SetupStatus, } from '../../../services/environment/environment.schemas.js';
|
|
6
|
-
import { DEFAULT_GLOBAL_FLAGS } from '../../../kernel/types.js';
|
|
7
|
-
import { AppBootstrapService } from '../../../services/application/app-bootstrap.service.js';
|
|
8
|
-
import { EnvironmentUtils } from '../../../services/environment/environment.service.js';
|
|
9
|
-
import { EnvironmentRegistry } from '../../../services/environment/environment-registry.service.js';
|
|
10
|
-
import ConfigSyncCommand from '../sync.command.js';
|
|
11
|
-
import { registerDiscoveredProviderContributions, resetDiscoveredProviderContributions, } from '../../../services/credentials/composed-provider-catalogue.js';
|
|
12
|
-
import { ProviderOriginKind, ProviderTier, } from '@wildo-ai/saas-models';
|
|
13
|
-
import { writeWorkflows } from '../../../services/deployment/ci-workflow-generator.service.js';
|
|
14
|
-
import { loadNonProviderSecretOwners } from '../../../services/credentials/secret-requirements.service.js';
|
|
15
|
-
import { ApplicationSecretKind } from '@wildo-ai/platform-core-shared';
|
|
16
|
-
import { generateCiDeployArtifacts } from '../../../services/deployment/ci-deploy-generator.service.js';
|
|
17
|
-
import { K8sManifestGenerator } from '../../../services/deployment/k8s/k8s-manifest-generator.service.js';
|
|
18
|
-
import { getDockerComposeLocalDataServices } from '../../../services/deployment/docker/docker-compose-generator.service.js';
|
|
19
|
-
import { createResolvedHomesMock } from '../../../test-utils/resolved-homes.test.utils.js';
|
|
20
|
-
import { syncProviderRuntimeArtifactsForApp } from '../../../services/application/provider-runtime-sync.service.js';
|
|
21
|
-
import { ApplicationOperatorEnvFileDisposition, } from '../../../services/environment/env-configuration-generator.service.js';
|
|
22
|
-
import { RuntimeBootstrap, RuntimeConfigReconcileStatus, } from '../../../services/environment/runtime-bootstrap.service.js';
|
|
23
|
-
import { sync as envSync } from '../../../services/environment/env-sync.service.js';
|
|
24
|
-
import { ApplicationCreationVerificationEnvKey, BackingServiceSource, DatabaseEngine, loadSaasConfig, resolveAppLayout, WildoDeploymentRuntime, WildoImageTagStrategy, WildoLocationType, WorkspaceScope, loadConfig, loadInfraEnvConfig, resolveInfraEnvConfigPath, ConfigArtifactsZone, } from '@wildo-ai/platform-config-lib';
|
|
25
|
-
vi.mock('@wildo-ai/platform-config-lib', async () => {
|
|
26
|
-
const actual = await vi.importActual('@wildo-ai/platform-config-lib');
|
|
27
|
-
return {
|
|
28
|
-
...actual,
|
|
29
|
-
loadConfig: vi.fn(),
|
|
30
|
-
loadInfraEnvConfig: vi.fn(),
|
|
31
|
-
loadSaasConfig: vi.fn(),
|
|
32
|
-
};
|
|
33
|
-
});
|
|
34
|
-
vi.mock('~wildo-cli/services/deployment/ci-workflow-generator.service', async () => {
|
|
35
|
-
const actual = await vi.importActual('~wildo-cli/services/deployment/ci-workflow-generator.service');
|
|
36
|
-
return {
|
|
37
|
-
...actual,
|
|
38
|
-
writeWorkflows: vi.fn(() => ({ created: [], skipped: [] })),
|
|
39
|
-
};
|
|
40
|
-
});
|
|
41
|
-
vi.mock('~wildo-cli/services/deployment/k8s/k8s-manifest-generator.service', () => ({
|
|
42
|
-
K8sManifestGenerator: {
|
|
43
|
-
renderAllManifests: vi.fn(() => ({ total: 1 })),
|
|
44
|
-
},
|
|
45
|
-
}));
|
|
46
|
-
vi.mock('~wildo-cli/services/deployment/ci-deploy-generator.service', () => ({
|
|
47
|
-
generateCiDeployArtifacts: vi.fn(),
|
|
48
|
-
}));
|
|
49
|
-
vi.mock('~wildo-cli/services/application/provider-runtime-sync.service', async () => {
|
|
50
|
-
const actual = await vi.importActual('~wildo-cli/services/application/provider-runtime-sync.service');
|
|
51
|
-
return {
|
|
52
|
-
// The real decision of which environment the artifacts describe; only the generation itself is stubbed.
|
|
53
|
-
resolveProviderArtifactEnvironmentName: actual.resolveProviderArtifactEnvironmentName,
|
|
54
|
-
syncProviderRuntimeArtifactsForApp: vi.fn(async () => ({ success: true, sourceModulesWritten: 1, runtimeHostEnvFilesWritten: 0 })),
|
|
55
|
-
};
|
|
56
|
-
});
|
|
57
|
-
vi.mock('~wildo-cli/services/environment/env-sync.service', async () => {
|
|
58
|
-
const actual = await vi.importActual('~wildo-cli/services/environment/env-sync.service');
|
|
59
|
-
return {
|
|
60
|
-
...actual,
|
|
61
|
-
sync: vi.fn(async () => ({ envFilesUpdated: [], skipped: [] })),
|
|
62
|
-
};
|
|
63
|
-
});
|
|
64
|
-
/*
|
|
65
|
-
* Reading what owns the system-of-record and inbound endpoint secrets imports facet modules and runs the built
|
|
66
|
-
* backend. The cicd tests supply that answer instead; the derivation from it (`deriveDeployForwardedSecretKeys`)
|
|
67
|
-
* stays real, so what reaches the workflow is still computed by the code under test.
|
|
68
|
-
*/
|
|
69
|
-
vi.mock('~wildo-cli/services/credentials/secret-requirements.service', async () => {
|
|
70
|
-
const actual = await vi.importActual('~wildo-cli/services/credentials/secret-requirements.service');
|
|
71
|
-
return {
|
|
72
|
-
...actual,
|
|
73
|
-
loadNonProviderSecretOwners: vi.fn(async () => ({ systemsOfRecord: [], inboundEndpointKeys: [], incomplete: [] })),
|
|
74
|
-
};
|
|
75
|
-
});
|
|
76
|
-
vi.mock('~wildo-cli/services/credentials/ci-secrets-adapter.service', () => ({
|
|
77
|
-
reconstructSecretsFromEnv: vi.fn(() => ({
|
|
78
|
-
mongodb: { rootUser: 'mongo', rootPassword: 'mongo-password' },
|
|
79
|
-
valkey: { adminUser: 'default', adminPassword: 'valkey-password' },
|
|
80
|
-
postgresql: { adminUser: 'postgres', adminPassword: 'postgres-password' },
|
|
81
|
-
rabbitmq: {
|
|
82
|
-
adminUsername: 'rabbit',
|
|
83
|
-
adminPassword: 'rabbit-password',
|
|
84
|
-
erlangCookie: 'rabbit-cookie',
|
|
85
|
-
},
|
|
86
|
-
storage: { accessKey: 'minio', secretKey: 'minio-secret' },
|
|
87
|
-
platform: {
|
|
88
|
-
primarySecret: 'primary-secret',
|
|
89
|
-
adminSecret: 'admin-secret',
|
|
90
|
-
appsManager: {
|
|
91
|
-
privateKey: 'private-key',
|
|
92
|
-
publicKey: 'public-key',
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
admin: {
|
|
96
|
-
email: 'admin@example.com',
|
|
97
|
-
password: 'admin-password',
|
|
98
|
-
firstName: 'Ada',
|
|
99
|
-
lastName: 'Lovelace',
|
|
100
|
-
},
|
|
101
|
-
})),
|
|
102
|
-
}));
|
|
103
|
-
const mockWorkspaceScope = {
|
|
104
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
105
|
-
saasConfigPath: '/tmp/project/wildo.saas.config.ts',
|
|
106
|
-
saasRoot: '/tmp/project',
|
|
107
|
-
frameworkRoot: null,
|
|
108
|
-
machinePreferencesPath: null,
|
|
109
|
-
};
|
|
110
|
-
function createLogger() {
|
|
111
|
-
return {
|
|
112
|
-
info: vi.fn(),
|
|
113
|
-
success: vi.fn(),
|
|
114
|
-
warn: vi.fn(),
|
|
115
|
-
error: vi.fn(),
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
function createCliContext(workspaceScope = mockWorkspaceScope) {
|
|
119
|
-
return {
|
|
120
|
-
resolvedHomes: createResolvedHomesMock(workspaceScope),
|
|
121
|
-
workspaceScope,
|
|
122
|
-
scope: workspaceScope.scope,
|
|
123
|
-
preferences: null,
|
|
124
|
-
hasFrameworkWorkspace: workspaceScope.frameworkRoot !== null,
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
function createCommandContext(overrides = {}) {
|
|
128
|
-
return {
|
|
129
|
-
args: {},
|
|
130
|
-
flags: {},
|
|
131
|
-
rawArgs: [],
|
|
132
|
-
globalFlags: DEFAULT_GLOBAL_FLAGS,
|
|
133
|
-
answers: {},
|
|
134
|
-
activeEnv: null,
|
|
135
|
-
preferences: null,
|
|
136
|
-
cliContext: createCliContext(),
|
|
137
|
-
log: createLogger(),
|
|
138
|
-
...overrides,
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
const tempDirs = [];
|
|
142
|
-
describe('ConfigSyncCommand', () => {
|
|
143
|
-
beforeEach(() => {
|
|
144
|
-
vi.clearAllMocks();
|
|
145
|
-
EnvironmentRegistry.reset();
|
|
146
|
-
/*
|
|
147
|
-
* The CLI reads authored infra configs through platform-config-lib's shared loader (#1144), which calls that
|
|
148
|
-
* package's OWN `loadConfig` — out of reach of the mock above. So a stand-in is composed here over the mocked
|
|
149
|
-
* evaluation, using the REAL path rule, so each test still decides what an authored file evaluates to. The
|
|
150
|
-
* directory/environment refusal is restated for the mismatch tests below, and hosted-descriptor
|
|
151
|
-
* (`infrastructureHost`) resolution is deliberately NOT exercised here; both are pinned against real files in
|
|
152
|
-
* platform-config-lib's `loader.test.ts`.
|
|
153
|
-
*/
|
|
154
|
-
vi.mocked(loadInfraEnvConfig).mockImplementation(async (saasRoot, envName) => {
|
|
155
|
-
const path = resolveInfraEnvConfigPath(saasRoot, envName);
|
|
156
|
-
if (!existsSync(path))
|
|
157
|
-
return null;
|
|
158
|
-
const config = await loadConfig(path, { artifactLocation: { zone: ConfigArtifactsZone.SAAS, ownerRoot: saasRoot } });
|
|
159
|
-
if (config.environment !== envName) {
|
|
160
|
-
throw new Error(`Authored env descriptor mismatch: directory '${envName}' does not match authored environment '${config.environment}'.`);
|
|
161
|
-
}
|
|
162
|
-
return { path, config };
|
|
163
|
-
});
|
|
164
|
-
});
|
|
165
|
-
afterEach(() => {
|
|
166
|
-
vi.restoreAllMocks();
|
|
167
|
-
EnvironmentRegistry.reset();
|
|
168
|
-
// The composed provider catalogue is a MODULE SINGLETON, so a contribution registered by one
|
|
169
|
-
// test outlives it. Reset here rather than at the end of the registering test: a failing
|
|
170
|
-
// assertion never reaches a trailing cleanup line, and the first thing that test would break is
|
|
171
|
-
// every later one in the file — a failure whose cause is one test away from where it reports.
|
|
172
|
-
resetDiscoveredProviderContributions();
|
|
173
|
-
for (const dir of tempDirs.splice(0)) {
|
|
174
|
-
rmSync(dir, { recursive: true, force: true });
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
it('discovers CI/CD infra configs from app-owned infrastructure directories in targeted-app scope', async () => {
|
|
178
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-app-cicd-'));
|
|
179
|
-
tempDirs.push(sandboxRoot);
|
|
180
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
181
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
182
|
-
const stagingDir = join(authoredInfrastructureHome, 'staging');
|
|
183
|
-
const productionDir = join(authoredInfrastructureHome, 'production');
|
|
184
|
-
mkdirSync(stagingDir, { recursive: true });
|
|
185
|
-
mkdirSync(productionDir, { recursive: true });
|
|
186
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
187
|
-
writeFileSync(join(stagingDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
188
|
-
writeFileSync(join(productionDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
189
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({
|
|
190
|
-
name: 'wonder-todos',
|
|
191
|
-
slug: 'wonder-todos',
|
|
192
|
-
// Per-service build topology: 2 app services + 1 minion + 1 worker. The
|
|
193
|
-
// minion/worker images key on `{slug}-{minion|worker}-{normalized bucketKey}`
|
|
194
|
-
// (coherent with renderMinionForTarget/renderWorkerForTarget), NOT the raw
|
|
195
|
-
// serviceName. The camelCase keys below (`marketingScrapper`, `myNodeWorker`)
|
|
196
|
-
// exercise the RFC1123 normalization on the CI image-build axis.
|
|
197
|
-
services: {
|
|
198
|
-
backendApi: { path: './backend-api', serviceName: 'wonder-todos-backend-api' },
|
|
199
|
-
app: { path: './app', serviceName: 'wonder-todos-app' },
|
|
200
|
-
},
|
|
201
|
-
minions: {
|
|
202
|
-
marketingScrapper: { path: './minions/marketing-scrapper' },
|
|
203
|
-
},
|
|
204
|
-
workers: {
|
|
205
|
-
myNodeWorker: { path: './workers/my-node-worker' },
|
|
206
|
-
},
|
|
207
|
-
});
|
|
208
|
-
vi.mocked(loadConfig).mockImplementation(async (configPath) => {
|
|
209
|
-
if (configPath.includes(join(authoredInfrastructureHome, 'staging', 'wildo.infra.remote.config.ts'))) {
|
|
210
|
-
return {
|
|
211
|
-
environment: 'staging',
|
|
212
|
-
deployment: {
|
|
213
|
-
branch: 'staging',
|
|
214
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
215
|
-
imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA,
|
|
216
|
-
namespace: 'wonder-todos-staging',
|
|
217
|
-
},
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
return {
|
|
221
|
-
environment: 'production',
|
|
222
|
-
deployment: {
|
|
223
|
-
branch: 'main',
|
|
224
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
225
|
-
imageTagStrategy: WildoImageTagStrategy.BRANCH_NAME,
|
|
226
|
-
namespace: 'wonder-todos-production',
|
|
227
|
-
},
|
|
228
|
-
};
|
|
229
|
-
});
|
|
230
|
-
const command = new ConfigSyncCommand();
|
|
231
|
-
const ctx = createCommandContext({
|
|
232
|
-
cliContext: createCliContext({
|
|
233
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
234
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
235
|
-
saasRoot: appRoot,
|
|
236
|
-
frameworkRoot: '/framework-root',
|
|
237
|
-
machinePreferencesPath: null,
|
|
238
|
-
}),
|
|
239
|
-
});
|
|
240
|
-
const ok = await command.syncCicd(ctx, false);
|
|
241
|
-
expect(ok).toBe(true);
|
|
242
|
-
expect(vi.mocked(writeWorkflows)).toHaveBeenCalledTimes(1);
|
|
243
|
-
const workflowArgs = vi.mocked(writeWorkflows).mock.calls[0];
|
|
244
|
-
expect(workflowArgs?.[0]).toBe(appRoot);
|
|
245
|
-
expect(workflowArgs?.[1]).toEqual(expect.arrayContaining([
|
|
246
|
-
expect.objectContaining({ envName: 'staging', appName: 'wonder-todos' }),
|
|
247
|
-
expect.objectContaining({ envName: 'production', appName: 'wonder-todos' }),
|
|
248
|
-
]));
|
|
249
|
-
// Per-service build targets flow into WorkflowEnvConfig.services — app
|
|
250
|
-
// services (raw serviceName) + minions/workers (`{slug}-{kind}-{normalized key}`,
|
|
251
|
-
// coherent with the k8s render). Same list on every env (derived once).
|
|
252
|
-
const capturedEnvs = workflowArgs?.[1];
|
|
253
|
-
for (const env of capturedEnvs) {
|
|
254
|
-
// `objectContaining`: each target also carries its per-environment build args (#1125), which the build-args
|
|
255
|
-
// tests pin; this one pins the TOPOLOGY.
|
|
256
|
-
expect(env.services).toEqual(expect.arrayContaining([
|
|
257
|
-
expect.objectContaining({ serviceName: 'wonder-todos-backend-api', dockerfile: 'backend-api/Dockerfile' }),
|
|
258
|
-
expect.objectContaining({ serviceName: 'wonder-todos-app', dockerfile: 'app/Dockerfile' }),
|
|
259
|
-
// camelCase bucket keys normalize to a valid lowercase Docker tag / k8s name.
|
|
260
|
-
expect.objectContaining({ serviceName: 'wonder-todos-minion-marketing-scrapper', dockerfile: 'minions/marketing-scrapper/Dockerfile' }),
|
|
261
|
-
expect.objectContaining({ serviceName: 'wonder-todos-worker-my-node-worker', dockerfile: 'workers/my-node-worker/Dockerfile' }),
|
|
262
|
-
]));
|
|
263
|
-
// Exactly 4 build targets — no stray entries.
|
|
264
|
-
expect(env.services).toHaveLength(4);
|
|
265
|
-
}
|
|
266
|
-
expect(vi.mocked(loadConfig)).toHaveBeenCalledWith(expect.stringContaining(join(authoredInfrastructureHome, 'staging', 'wildo.infra.remote.config.ts')), expect.objectContaining({
|
|
267
|
-
artifactLocation: expect.objectContaining({
|
|
268
|
-
zone: 'saas',
|
|
269
|
-
ownerRoot: appRoot,
|
|
270
|
-
}),
|
|
271
|
-
}));
|
|
272
|
-
});
|
|
273
|
-
/**
|
|
274
|
-
* #361 — the generated CI secrets block must carry a provider's whole secret CONTRACT, not the
|
|
275
|
-
* subset its protocol bindings happen to name.
|
|
276
|
-
*
|
|
277
|
-
* Two failures in one shape, and the second is the one that grows:
|
|
278
|
-
*
|
|
279
|
-
* - 13 engine contract keys are named by NO binding (`BETTERSTACK_SOURCE_TOKEN` here, plus every
|
|
280
|
-
* `IMMUDB_*`, `POSTHOG_PROJECT_API_KEY` and the `ODOO_*` trio), so they had no input in any
|
|
281
|
-
* generated workflow;
|
|
282
|
-
* - a provider known only from a companion contribution has ZERO bindings by construction, so it
|
|
283
|
-
* contributed not a subset but nothing at all — and every package-shipped provider is that.
|
|
284
|
-
*
|
|
285
|
-
* The failure was silent in the worst place: the workflow simply has no input for the secret, so
|
|
286
|
-
* the deployment authenticates with nothing and fails at the vendor, three layers from the cause.
|
|
287
|
-
*/
|
|
288
|
-
it('carries a provider contract key no binding names, and a contribution-shipped provider, into the CI secrets block (#361)', async () => {
|
|
289
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-contract-keys-'));
|
|
290
|
-
tempDirs.push(sandboxRoot);
|
|
291
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
292
|
-
const stagingDir = join(resolveAppLayout(appRoot).authoredInfrastructureHome, 'staging');
|
|
293
|
-
mkdirSync(stagingDir, { recursive: true });
|
|
294
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
295
|
-
writeFileSync(join(stagingDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
296
|
-
// Exactly what a provider package's `./companion` export ships: values-free, no runtime module,
|
|
297
|
-
// and therefore no protocol runtime contract for the bindings walk to read.
|
|
298
|
-
const contribution = {
|
|
299
|
-
ref: 'acme-widgets',
|
|
300
|
-
identity: {
|
|
301
|
-
packageName: '@wildo-ai/provider-acme-widgets',
|
|
302
|
-
tier: ProviderTier.CATALOGUE,
|
|
303
|
-
vendor: 'acme',
|
|
304
|
-
origin: { kind: ProviderOriginKind.APPLICATION },
|
|
305
|
-
},
|
|
306
|
-
runtimeImportPath: '@wildo-ai/provider-acme-widgets/backend',
|
|
307
|
-
runtimeTargets: [{ kind: 'backend' }],
|
|
308
|
-
engineCapabilities: [],
|
|
309
|
-
providerCapabilities: [],
|
|
310
|
-
protocols: ['REST_API'],
|
|
311
|
-
secretsContractShape: [
|
|
312
|
-
{ slug: 'apiKey', envVarName: 'ACME_WIDGETS_API_KEY', required: true, description: 'Acme Widgets API key.' },
|
|
313
|
-
],
|
|
314
|
-
};
|
|
315
|
-
registerDiscoveredProviderContributions([contribution]);
|
|
316
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({
|
|
317
|
-
name: 'wonder-todos',
|
|
318
|
-
slug: 'wonder-todos',
|
|
319
|
-
services: { backendApi: { path: './backend-api', serviceName: 'wonder-todos-backend-api' } },
|
|
320
|
-
providerConfigurations: {},
|
|
321
|
-
providers: {
|
|
322
|
-
scopes: {
|
|
323
|
-
backend: {
|
|
324
|
-
providers: {
|
|
325
|
-
// Declares NO protocols — its telemetry token lives only in the secrets contract.
|
|
326
|
-
betterstack: { engineCapabilities: [], providerCapabilities: [], protocols: [] },
|
|
327
|
-
// Has bindings AND a contract. The regression guard: adding the contract half must
|
|
328
|
-
// not displace what the bindings walk already contributed.
|
|
329
|
-
stripe: { engineCapabilities: [], providerCapabilities: [], protocols: ['BILLING_PROVIDER'] },
|
|
330
|
-
// Resolvable only through the registered contribution above.
|
|
331
|
-
'acme-widgets': { engineCapabilities: [], providerCapabilities: [], protocols: ['REST_API'] },
|
|
332
|
-
// An engine provider since 1783ec83: its server-side verification secret lives only in
|
|
333
|
-
// the contract, like betterstack's token, so it must reach the workflow.
|
|
334
|
-
recaptcha: { engineCapabilities: [], providerCapabilities: [], protocols: [] },
|
|
335
|
-
// FRONTEND_SDK-shaped: no engine module, no contribution, nothing in the catalogue.
|
|
336
|
-
// Contributes nothing and says nothing — see the collector's JSDoc for why warning
|
|
337
|
-
// here would fire on correct declarations.
|
|
338
|
-
'acme-browser-sdk': { engineCapabilities: [], providerCapabilities: [], protocols: [] },
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
});
|
|
344
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
345
|
-
environment: 'staging',
|
|
346
|
-
deployment: {
|
|
347
|
-
branch: 'staging',
|
|
348
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
349
|
-
imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA,
|
|
350
|
-
namespace: 'wonder-todos-staging',
|
|
351
|
-
},
|
|
352
|
-
});
|
|
353
|
-
const command = new ConfigSyncCommand();
|
|
354
|
-
const ctx = createCommandContext({
|
|
355
|
-
cliContext: createCliContext({
|
|
356
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
357
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
358
|
-
saasRoot: appRoot,
|
|
359
|
-
frameworkRoot: '/framework-root',
|
|
360
|
-
machinePreferencesPath: null,
|
|
361
|
-
}),
|
|
362
|
-
});
|
|
363
|
-
const ok = await command.syncCicd(ctx, false);
|
|
364
|
-
expect(ok).toBe(true);
|
|
365
|
-
const capturedEnvs = vi.mocked(writeWorkflows).mock.calls[0]?.[1];
|
|
366
|
-
const emittedKeys = (capturedEnvs?.[0]?.applicationSecretKeys ?? [])
|
|
367
|
-
.filter((entry) => entry.kind === ApplicationSecretKind.PROVIDER)
|
|
368
|
-
.map((entry) => entry.envVarName);
|
|
369
|
-
// The contract-only key. Absent before #361 — `betterstack` names no binding at all.
|
|
370
|
-
expect(emittedKeys).toContain('BETTERSTACK_SOURCE_TOKEN');
|
|
371
|
-
// The contribution-shipped provider. Absent before #361, and absent by CONSTRUCTION rather
|
|
372
|
-
// than by omission: a contribution carries no runtime contract for a bindings walk to read.
|
|
373
|
-
expect(emittedKeys).toContain('ACME_WIDGETS_API_KEY');
|
|
374
|
-
// Still emitted through the bindings walk — the fix adds, it does not replace.
|
|
375
|
-
expect(emittedKeys).toContain('STRIPE_SECRET_KEY');
|
|
376
|
-
expect(emittedKeys).toContain('RECAPTCHA_SECRET_KEY');
|
|
377
|
-
// A ref the catalogue cannot name contributes nothing rather than a placeholder.
|
|
378
|
-
expect(emittedKeys.some((key) => key.toUpperCase().includes('ACME_BROWSER'))).toBe(false);
|
|
379
|
-
expect(emittedKeys).toHaveLength(new Set(emittedKeys).size);
|
|
380
|
-
expect(emittedKeys.filter((key) => !['STRIPE_SECRET_KEY', 'STRIPE_WEBHOOK_SECRET', 'BETTERSTACK_SOURCE_TOKEN', 'ACME_WIDGETS_API_KEY', 'RECAPTCHA_SECRET_KEY'].includes(key))).toEqual([]);
|
|
381
|
-
});
|
|
382
|
-
/*
|
|
383
|
-
* #1650 / #1662. The deploy job rebuilds `secrets.json` from `WILDO_SECRET_*` variables, and it scanned for a
|
|
384
|
-
* system of record's credential and an inbound endpoint's secret in a job environment the workflow never put
|
|
385
|
-
* them in: an application with a system of record could not boot remotely, and every inbound route stayed
|
|
386
|
-
* withheld. The workflow must now name one line per declared slot and per declared endpoint.
|
|
387
|
-
*/
|
|
388
|
-
it('forwards each declared system-of-record slot and inbound endpoint secret, and what an environment stores (#1650)', async () => {
|
|
389
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-non-provider-keys-'));
|
|
390
|
-
tempDirs.push(sandboxRoot);
|
|
391
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
392
|
-
for (const envName of ['staging', 'production']) {
|
|
393
|
-
const envDir = join(resolveAppLayout(appRoot).authoredInfrastructureHome, envName);
|
|
394
|
-
mkdirSync(envDir, { recursive: true });
|
|
395
|
-
writeFileSync(join(envDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
396
|
-
}
|
|
397
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
398
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({
|
|
399
|
-
name: 'wonder-todos',
|
|
400
|
-
slug: 'wonder-todos',
|
|
401
|
-
services: { backendApi: { path: './backend-api', serviceName: 'wonder-todos-backend-api' } },
|
|
402
|
-
systemsOfRecord: { erp: { vendor: 'odoo' } },
|
|
403
|
-
});
|
|
404
|
-
vi.mocked(loadNonProviderSecretOwners).mockResolvedValueOnce({
|
|
405
|
-
systemsOfRecord: [{
|
|
406
|
-
name: 'erp',
|
|
407
|
-
vendor: 'odoo',
|
|
408
|
-
secretSlots: [
|
|
409
|
-
{ slug: 'apiKey', required: true, description: 'API key' },
|
|
410
|
-
{ slug: 'totp', required: false, description: 'Second factor' },
|
|
411
|
-
],
|
|
412
|
-
addressSlots: [],
|
|
413
|
-
}],
|
|
414
|
-
inboundEndpointKeys: ['todo-intake'],
|
|
415
|
-
incomplete: [],
|
|
416
|
-
});
|
|
417
|
-
const deploymentOf = (envName) => ({
|
|
418
|
-
branch: envName,
|
|
419
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
420
|
-
imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA,
|
|
421
|
-
namespace: `wonder-todos-${envName}`,
|
|
422
|
-
});
|
|
423
|
-
// Staging addresses the system of record; production declares it absent.
|
|
424
|
-
vi.mocked(loadConfig).mockImplementation(async (configPath) => (configPath.includes(join('production', 'wildo.infra.remote.config.ts'))
|
|
425
|
-
? { environment: 'production', deployment: deploymentOf('production'), systemsOfRecord: { erp: { enabled: false } } }
|
|
426
|
-
: { environment: 'staging', deployment: deploymentOf('staging'), systemsOfRecord: { erp: { address: { baseUrl: 'https://erp.example' } } } }));
|
|
427
|
-
const loadSecretsJson = vi.spyOn(EnvironmentUtils, 'loadSecretsJson').mockImplementation(((envName) => (envName === 'staging'
|
|
428
|
-
? { inboundEndpointEnv: { WILDO_INBOUND_LEGACY__SECRET: 'x' }, systemsOfRecordEnv: { WILDO_SOR_OLD__PASSWORD: 'y' } }
|
|
429
|
-
: null)));
|
|
430
|
-
const command = new ConfigSyncCommand();
|
|
431
|
-
const ctx = createCommandContext({
|
|
432
|
-
cliContext: createCliContext({
|
|
433
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
434
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
435
|
-
saasRoot: appRoot,
|
|
436
|
-
frameworkRoot: '/framework-root',
|
|
437
|
-
machinePreferencesPath: null,
|
|
438
|
-
}),
|
|
439
|
-
});
|
|
440
|
-
try {
|
|
441
|
-
const ok = await command.syncCicd(ctx, false);
|
|
442
|
-
expect(ok).toBe(true);
|
|
443
|
-
}
|
|
444
|
-
finally {
|
|
445
|
-
loadSecretsJson.mockRestore();
|
|
446
|
-
}
|
|
447
|
-
// The owners are read once for the whole sync, not once per environment: reading them runs the built backend.
|
|
448
|
-
expect(vi.mocked(loadNonProviderSecretOwners)).toHaveBeenCalledTimes(1);
|
|
449
|
-
const byEnv = new Map((vi.mocked(writeWorkflows).mock.calls[0]?.[1]).map((env) => [env.envName, env]));
|
|
450
|
-
const keysOf = (envName, kind) => (byEnv.get(envName)?.applicationSecretKeys ?? [])
|
|
451
|
-
.filter((entry) => entry.kind === kind)
|
|
452
|
-
.map((entry) => ({ envVarName: entry.envVarName, required: entry.required === true }));
|
|
453
|
-
expect(keysOf('staging', ApplicationSecretKind.SYSTEM_OF_RECORD)).toEqual(expect.arrayContaining([
|
|
454
|
-
{ envVarName: 'WILDO_SOR_ERP__API_KEY', required: true },
|
|
455
|
-
{ envVarName: 'WILDO_SOR_ERP__TOTP', required: false },
|
|
456
|
-
// Stored for an instance nothing declares any more: still forwarded, never required.
|
|
457
|
-
{ envVarName: 'WILDO_SOR_OLD__PASSWORD', required: false },
|
|
458
|
-
]));
|
|
459
|
-
expect(keysOf('staging', ApplicationSecretKind.INBOUND_ENDPOINT)).toEqual(expect.arrayContaining([
|
|
460
|
-
{ envVarName: 'WILDO_INBOUND_TODO_INTAKE__SECRET', required: true },
|
|
461
|
-
{ envVarName: 'WILDO_INBOUND_LEGACY__SECRET', required: false },
|
|
462
|
-
]));
|
|
463
|
-
// An environment that declares the instance absent still forwards its slot — a value set later reaches the
|
|
464
|
-
// job — but does not require it; the endpoint stays required everywhere.
|
|
465
|
-
expect(keysOf('production', ApplicationSecretKind.SYSTEM_OF_RECORD)).toEqual(expect.arrayContaining([
|
|
466
|
-
{ envVarName: 'WILDO_SOR_ERP__API_KEY', required: false },
|
|
467
|
-
]));
|
|
468
|
-
expect(keysOf('production', ApplicationSecretKind.INBOUND_ENDPOINT)).toEqual([
|
|
469
|
-
{ envVarName: 'WILDO_INBOUND_TODO_INTAKE__SECRET', required: true },
|
|
470
|
-
]);
|
|
471
|
-
});
|
|
472
|
-
it('says so, naming the remedy, when the backend\'s inbound endpoints or a system of record\'s slots cannot be read (#1650)', async () => {
|
|
473
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-unread-endpoints-'));
|
|
474
|
-
tempDirs.push(sandboxRoot);
|
|
475
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
476
|
-
const stagingDir = join(resolveAppLayout(appRoot).authoredInfrastructureHome, 'staging');
|
|
477
|
-
mkdirSync(stagingDir, { recursive: true });
|
|
478
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
479
|
-
writeFileSync(join(stagingDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
480
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({ name: 'wonder-todos', slug: 'wonder-todos' });
|
|
481
|
-
vi.mocked(loadNonProviderSecretOwners).mockResolvedValueOnce({
|
|
482
|
-
// A system of record whose facet could not be resolved: its credential slots are unknown.
|
|
483
|
-
systemsOfRecord: [{ name: 'erp', vendor: 'odoo', secretSlots: null, addressSlots: null }],
|
|
484
|
-
inboundEndpointKeys: null,
|
|
485
|
-
incomplete: ['backend-api is not built (backend-api/dist/modules-registry.backend.js is missing), so the inbound endpoints it declares are not listed.'],
|
|
486
|
-
});
|
|
487
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
488
|
-
environment: 'staging',
|
|
489
|
-
deployment: { branch: 'staging', runtime: WildoDeploymentRuntime.KUBERNETES, imageTagStrategy: WildoImageTagStrategy.COMMIT_SHA, namespace: 'wt-staging' },
|
|
490
|
-
});
|
|
491
|
-
const command = new ConfigSyncCommand();
|
|
492
|
-
const ctx = createCommandContext({
|
|
493
|
-
cliContext: createCliContext({
|
|
494
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
495
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
496
|
-
saasRoot: appRoot,
|
|
497
|
-
frameworkRoot: '/framework-root',
|
|
498
|
-
machinePreferencesPath: null,
|
|
499
|
-
}),
|
|
500
|
-
});
|
|
501
|
-
const ok = await command.syncCicd(ctx, false);
|
|
502
|
-
expect(ok).toBe(true);
|
|
503
|
-
const warnings = vi.mocked(ctx.log.warn).mock.calls.map(([message]) => String(message));
|
|
504
|
-
expect(warnings).toEqual(expect.arrayContaining([
|
|
505
|
-
expect.stringMatching(/^ {2}CI\/CD: backend-api is not built/),
|
|
506
|
-
expect.stringMatching(/forward no credential for erp beyond what an environment already stores.*--domain cicd --force/),
|
|
507
|
-
expect.stringMatching(/forward only the inbound endpoint secrets an environment already stores.*Build backend-api, then run `wildo config sync --domain cicd --force`/),
|
|
508
|
-
]));
|
|
509
|
-
});
|
|
510
|
-
it('fails closed when an app-owned CI/CD descriptor exists but cannot be loaded', async () => {
|
|
511
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-app-cicd-fail-'));
|
|
512
|
-
tempDirs.push(sandboxRoot);
|
|
513
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
514
|
-
const stagingDir = join(resolveAppLayout(appRoot).authoredInfrastructureHome, 'staging');
|
|
515
|
-
mkdirSync(stagingDir, { recursive: true });
|
|
516
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
517
|
-
writeFileSync(join(stagingDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
518
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({
|
|
519
|
-
name: 'wonder-todos',
|
|
520
|
-
slug: 'wonder-todos',
|
|
521
|
-
});
|
|
522
|
-
vi.mocked(loadConfig).mockRejectedValue(new Error('broken staging descriptor'));
|
|
523
|
-
const command = new ConfigSyncCommand();
|
|
524
|
-
const ctx = createCommandContext({
|
|
525
|
-
cliContext: createCliContext({
|
|
526
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
527
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
528
|
-
saasRoot: appRoot,
|
|
529
|
-
frameworkRoot: '/framework-root',
|
|
530
|
-
machinePreferencesPath: null,
|
|
531
|
-
}),
|
|
532
|
-
});
|
|
533
|
-
const ok = await command.syncCicd(ctx, false);
|
|
534
|
-
expect(ok).toBe(false);
|
|
535
|
-
expect(vi.mocked(writeWorkflows)).not.toHaveBeenCalled();
|
|
536
|
-
expect(ctx.log.error.mock.calls.some(([message]) => String(message).includes("Failed to load CI/CD config for 'staging'"))).toBe(true);
|
|
537
|
-
});
|
|
538
|
-
it('fails closed when an app-owned CI/CD descriptor environment does not match its directory', async () => {
|
|
539
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-app-cicd-mismatch-'));
|
|
540
|
-
tempDirs.push(sandboxRoot);
|
|
541
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
542
|
-
const stagingDir = join(resolveAppLayout(appRoot).authoredInfrastructureHome, 'staging');
|
|
543
|
-
mkdirSync(stagingDir, { recursive: true });
|
|
544
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
545
|
-
writeFileSync(join(stagingDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
546
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({
|
|
547
|
-
name: 'wonder-todos',
|
|
548
|
-
slug: 'wonder-todos',
|
|
549
|
-
});
|
|
550
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
551
|
-
environment: 'production',
|
|
552
|
-
deployment: {
|
|
553
|
-
branch: 'main',
|
|
554
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
555
|
-
imageTagStrategy: WildoImageTagStrategy.BRANCH_NAME,
|
|
556
|
-
namespace: 'wonder-todos-production',
|
|
557
|
-
},
|
|
558
|
-
});
|
|
559
|
-
const command = new ConfigSyncCommand();
|
|
560
|
-
const ctx = createCommandContext({
|
|
561
|
-
cliContext: createCliContext({
|
|
562
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
563
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
564
|
-
saasRoot: appRoot,
|
|
565
|
-
frameworkRoot: '/framework-root',
|
|
566
|
-
machinePreferencesPath: null,
|
|
567
|
-
}),
|
|
568
|
-
});
|
|
569
|
-
const ok = await command.syncCicd(ctx, false);
|
|
570
|
-
expect(ok).toBe(false);
|
|
571
|
-
expect(vi.mocked(writeWorkflows)).not.toHaveBeenCalled();
|
|
572
|
-
expect(ctx.log.error.mock.calls.some(([message]) => String(message).includes("directory 'staging' does not match authored environment 'production'"))).toBe(true);
|
|
573
|
-
});
|
|
574
|
-
it('skips local K8s platform manifests for framework developers', async () => {
|
|
575
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-fw-dev-'));
|
|
576
|
-
tempDirs.push(sandboxRoot);
|
|
577
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
578
|
-
mkdirSync(appRoot, { recursive: true });
|
|
579
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
580
|
-
vi.mocked(loadSaasConfig).mockResolvedValue({
|
|
581
|
-
name: 'wonder-todos',
|
|
582
|
-
slug: 'wonder-todos',
|
|
583
|
-
});
|
|
584
|
-
vi.mocked(loadConfig).mockResolvedValue({ services: {} });
|
|
585
|
-
const env = {
|
|
586
|
-
name: 'local',
|
|
587
|
-
locationType: WildoLocationType.LOCAL,
|
|
588
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
589
|
-
os: PlatformEnvOperatingSystem.LINUX,
|
|
590
|
-
secretsPath: '',
|
|
591
|
-
configPath: '',
|
|
592
|
-
infraPath: '/tmp/legacy-infra-path',
|
|
593
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
594
|
-
setupStatus: SetupStatus.NOT_STARTED,
|
|
595
|
-
createdAt: new Date().toISOString(),
|
|
596
|
-
updatedAt: new Date().toISOString(),
|
|
597
|
-
publicDomain: 'local.wildo.test',
|
|
598
|
-
kubernetes: {
|
|
599
|
-
namespace: 'demo-local',
|
|
600
|
-
},
|
|
601
|
-
};
|
|
602
|
-
const command = new ConfigSyncCommand();
|
|
603
|
-
const ctx = createCommandContext({
|
|
604
|
-
activeEnv: env,
|
|
605
|
-
cliContext: createCliContext({
|
|
606
|
-
...mockWorkspaceScope,
|
|
607
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
608
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
609
|
-
saasRoot: appRoot,
|
|
610
|
-
frameworkRoot: '/framework-root',
|
|
611
|
-
}),
|
|
612
|
-
preferences: {
|
|
613
|
-
frameworkPath: '/framework-root',
|
|
614
|
-
isFrameworkDeveloper: true,
|
|
615
|
-
},
|
|
616
|
-
});
|
|
617
|
-
const ok = await command.syncManifest(ctx);
|
|
618
|
-
expect(ok).toBe(true);
|
|
619
|
-
expect(vi.mocked(K8sManifestGenerator.renderAllManifests)).toHaveBeenCalledWith(env, '/framework-root', { serviceReplicas: undefined, isFrameworkDeveloper: true });
|
|
620
|
-
});
|
|
621
|
-
it('supports CI config sync for an explicit env without local registry state', async () => {
|
|
622
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-ci-'));
|
|
623
|
-
tempDirs.push(sandboxRoot);
|
|
624
|
-
const envName = 'ci-staging';
|
|
625
|
-
const frameworkRoot = join(sandboxRoot, 'wildo-ai');
|
|
626
|
-
const projectRoot = frameworkRoot;
|
|
627
|
-
const siblingSecretsRoot = join(sandboxRoot, 'wildo-secrets');
|
|
628
|
-
const configDir = join(siblingSecretsRoot, 'environments', envName);
|
|
629
|
-
mkdirSync(configDir, { recursive: true });
|
|
630
|
-
writeFileSync(join(configDir, 'config.json'), JSON.stringify({
|
|
631
|
-
type: WildoLocationType.REMOTE,
|
|
632
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
633
|
-
runtimeEnvironment: 'staging',
|
|
634
|
-
publicDomain: 'staging.wildo.ai',
|
|
635
|
-
database: {
|
|
636
|
-
engine: DatabaseEngine.MONGODB,
|
|
637
|
-
source: BackingServiceSource.SELF,
|
|
638
|
-
},
|
|
639
|
-
infrastructure: {
|
|
640
|
-
storage: {
|
|
641
|
-
provider: 'minio',
|
|
642
|
-
useSsl: false,
|
|
643
|
-
bucket: 'bucket',
|
|
644
|
-
},
|
|
645
|
-
postgresql: {
|
|
646
|
-
database: 'postgres',
|
|
647
|
-
sslMode: 'disable',
|
|
648
|
-
},
|
|
649
|
-
},
|
|
650
|
-
kubernetes: {
|
|
651
|
-
namespace: 'demo-staging',
|
|
652
|
-
},
|
|
653
|
-
remoteProvider: {
|
|
654
|
-
provider: 'scaleway',
|
|
655
|
-
registryEndpoint: 'rg.fr-par.scw.cloud/demo',
|
|
656
|
-
},
|
|
657
|
-
}), 'utf8');
|
|
658
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationBackendTargets').mockResolvedValue([]);
|
|
659
|
-
const command = new ConfigSyncCommand();
|
|
660
|
-
vi.spyOn(command, 'syncProviderRuntimeArtifacts').mockResolvedValue(true);
|
|
661
|
-
const ctx = createCommandContext({
|
|
662
|
-
flags: { env: envName, ci: true },
|
|
663
|
-
cliContext: createCliContext({
|
|
664
|
-
...mockWorkspaceScope,
|
|
665
|
-
saasConfigPath: join(projectRoot, 'wildo.saas.config.ts'),
|
|
666
|
-
saasRoot: projectRoot,
|
|
667
|
-
frameworkRoot,
|
|
668
|
-
}),
|
|
669
|
-
});
|
|
670
|
-
const resolvedEnvNames = await command.resolveEnvNames(ctx, true);
|
|
671
|
-
expect(resolvedEnvNames).toEqual([envName]);
|
|
672
|
-
const ok = await command.syncConfig(ctx, [envName], true);
|
|
673
|
-
expect(ok).toBe(true);
|
|
674
|
-
expect(AppBootstrapService.buildApplicationBackendTargets).toHaveBeenCalledWith(expect.objectContaining({
|
|
675
|
-
config: expect.objectContaining({
|
|
676
|
-
runtimeEnvironment: 'staging',
|
|
677
|
-
}),
|
|
678
|
-
env: expect.objectContaining({
|
|
679
|
-
name: envName,
|
|
680
|
-
locationType: WildoLocationType.REMOTE,
|
|
681
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
682
|
-
runtimeEnvironment: 'staging',
|
|
683
|
-
kubernetes: expect.objectContaining({
|
|
684
|
-
namespace: 'demo-staging',
|
|
685
|
-
imageRegistry: 'rg.fr-par.scw.cloud/demo',
|
|
686
|
-
}),
|
|
687
|
-
}),
|
|
688
|
-
}));
|
|
689
|
-
expect(vi.mocked(generateCiDeployArtifacts)).toHaveBeenCalledWith(expect.objectContaining({
|
|
690
|
-
env: expect.objectContaining({
|
|
691
|
-
name: envName,
|
|
692
|
-
runtimeEnvironment: 'staging',
|
|
693
|
-
remoteProvider: expect.objectContaining({
|
|
694
|
-
registryEndpoint: 'rg.fr-par.scw.cloud/demo',
|
|
695
|
-
}),
|
|
696
|
-
}),
|
|
697
|
-
config: expect.objectContaining({
|
|
698
|
-
runtimeEnvironment: 'staging',
|
|
699
|
-
}),
|
|
700
|
-
}), ctx.log);
|
|
701
|
-
});
|
|
702
|
-
it('rejects config deploy-artifact sync outside a targeted app root', async () => {
|
|
703
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-project-only-'));
|
|
704
|
-
tempDirs.push(sandboxRoot);
|
|
705
|
-
const envName = 'ci-staging';
|
|
706
|
-
const frameworkRoot = join(sandboxRoot, 'wildo-ai');
|
|
707
|
-
const projectRoot = frameworkRoot;
|
|
708
|
-
const siblingSecretsRoot = join(sandboxRoot, 'wildo-secrets');
|
|
709
|
-
const configDir = join(siblingSecretsRoot, 'environments', envName);
|
|
710
|
-
mkdirSync(configDir, { recursive: true });
|
|
711
|
-
writeFileSync(join(configDir, 'config.json'), JSON.stringify({
|
|
712
|
-
type: WildoLocationType.REMOTE,
|
|
713
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
714
|
-
runtimeEnvironment: 'staging',
|
|
715
|
-
database: {
|
|
716
|
-
engine: DatabaseEngine.MONGODB,
|
|
717
|
-
source: BackingServiceSource.SELF,
|
|
718
|
-
},
|
|
719
|
-
infrastructure: {
|
|
720
|
-
storage: {
|
|
721
|
-
provider: 'minio',
|
|
722
|
-
useSsl: false,
|
|
723
|
-
bucket: 'bucket',
|
|
724
|
-
},
|
|
725
|
-
postgresql: {
|
|
726
|
-
database: 'postgres',
|
|
727
|
-
sslMode: 'disable',
|
|
728
|
-
},
|
|
729
|
-
},
|
|
730
|
-
publicDomain: 'staging.wildo.ai',
|
|
731
|
-
kubernetes: {
|
|
732
|
-
namespace: 'demo-staging',
|
|
733
|
-
},
|
|
734
|
-
remoteProvider: {
|
|
735
|
-
provider: 'scaleway',
|
|
736
|
-
registryEndpoint: 'rg.fr-par.scw.cloud/demo',
|
|
737
|
-
},
|
|
738
|
-
}), 'utf8');
|
|
739
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationBackendTargets').mockResolvedValue([]);
|
|
740
|
-
const command = new ConfigSyncCommand();
|
|
741
|
-
vi.spyOn(command, 'syncProviderRuntimeArtifacts').mockResolvedValue(true);
|
|
742
|
-
const ctx = createCommandContext({
|
|
743
|
-
flags: { env: envName, ci: true },
|
|
744
|
-
cliContext: createCliContext({
|
|
745
|
-
...mockWorkspaceScope,
|
|
746
|
-
scope: WorkspaceScope.GLOBAL,
|
|
747
|
-
saasConfigPath: null,
|
|
748
|
-
saasRoot: null,
|
|
749
|
-
frameworkRoot,
|
|
750
|
-
}),
|
|
751
|
-
log: createLogger(),
|
|
752
|
-
});
|
|
753
|
-
const ok = await command.syncConfig(ctx, [envName], true);
|
|
754
|
-
expect(ok).toBe(false);
|
|
755
|
-
expect(AppBootstrapService.buildApplicationBackendTargets).not.toHaveBeenCalled();
|
|
756
|
-
expect(ctx.log.error).toHaveBeenCalledWith('`wildo config sync --domain config` requires a targeted app root with wildo.saas.config.ts.');
|
|
757
|
-
expect(vi.mocked(generateCiDeployArtifacts)).not.toHaveBeenCalled();
|
|
758
|
-
});
|
|
759
|
-
it('fails CI config sync when remote Kubernetes metadata is incomplete', async () => {
|
|
760
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-ci-missing-k8s-'));
|
|
761
|
-
tempDirs.push(sandboxRoot);
|
|
762
|
-
const envName = 'ci-preview';
|
|
763
|
-
const frameworkRoot = join(sandboxRoot, 'wildo-ai');
|
|
764
|
-
const projectRoot = frameworkRoot;
|
|
765
|
-
const siblingSecretsRoot = join(sandboxRoot, 'wildo-secrets');
|
|
766
|
-
const configDir = join(siblingSecretsRoot, 'environments', envName);
|
|
767
|
-
mkdirSync(configDir, { recursive: true });
|
|
768
|
-
writeFileSync(join(configDir, 'config.json'), JSON.stringify({
|
|
769
|
-
type: WildoLocationType.REMOTE,
|
|
770
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
771
|
-
runtimeEnvironment: 'staging',
|
|
772
|
-
database: {
|
|
773
|
-
engine: DatabaseEngine.MONGODB,
|
|
774
|
-
source: BackingServiceSource.SELF,
|
|
775
|
-
},
|
|
776
|
-
infrastructure: {
|
|
777
|
-
storage: {
|
|
778
|
-
provider: 'minio',
|
|
779
|
-
useSsl: false,
|
|
780
|
-
bucket: 'bucket',
|
|
781
|
-
},
|
|
782
|
-
postgresql: {
|
|
783
|
-
database: 'postgres',
|
|
784
|
-
sslMode: 'disable',
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
publicDomain: 'preview.wildo.ai',
|
|
788
|
-
kubernetes: {
|
|
789
|
-
namespace: 'demo-preview',
|
|
790
|
-
},
|
|
791
|
-
}), 'utf8');
|
|
792
|
-
const command = new ConfigSyncCommand();
|
|
793
|
-
vi.spyOn(command, 'syncProviderRuntimeArtifacts').mockResolvedValue(true);
|
|
794
|
-
const ctx = createCommandContext({
|
|
795
|
-
flags: { env: envName, ci: true },
|
|
796
|
-
cliContext: createCliContext({
|
|
797
|
-
...mockWorkspaceScope,
|
|
798
|
-
saasConfigPath: join(projectRoot, 'wildo.saas.config.ts'),
|
|
799
|
-
saasRoot: projectRoot,
|
|
800
|
-
frameworkRoot,
|
|
801
|
-
}),
|
|
802
|
-
});
|
|
803
|
-
const ok = await command.syncConfig(ctx, [envName], true);
|
|
804
|
-
expect(ok).toBe(false);
|
|
805
|
-
expect(vi.mocked(generateCiDeployArtifacts)).not.toHaveBeenCalled();
|
|
806
|
-
expect(ctx.log.error.mock.calls.some(([message]) => String(message).includes(`No valid config for '${envName}'`))).toBe(true);
|
|
807
|
-
});
|
|
808
|
-
it('prepares apps-manager-backed env targets before secret rotation and writes env files afterwards', async () => {
|
|
809
|
-
const command = new ConfigSyncCommand();
|
|
810
|
-
const order = [];
|
|
811
|
-
const localEnv = {
|
|
812
|
-
name: 'local',
|
|
813
|
-
locationType: WildoLocationType.LOCAL,
|
|
814
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
815
|
-
os: PlatformEnvOperatingSystem.LINUX,
|
|
816
|
-
secretsPath: '',
|
|
817
|
-
configPath: '',
|
|
818
|
-
infraPath: '',
|
|
819
|
-
publicDomain: 'localhost',
|
|
820
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
821
|
-
setupStatus: SetupStatus.NOT_STARTED,
|
|
822
|
-
createdAt: new Date().toISOString(),
|
|
823
|
-
updatedAt: new Date().toISOString(),
|
|
824
|
-
};
|
|
825
|
-
// Fix M (2026-04-21) — `secrets` is no longer in the default domain set;
|
|
826
|
-
// operators must pass `--rotate-secrets` to opt in. We pass it here
|
|
827
|
-
// explicitly so this test continues to exercise the
|
|
828
|
-
// prepare → secrets-rotation → write ordering it was designed to lock
|
|
829
|
-
// in.
|
|
830
|
-
const ctx = createCommandContext({
|
|
831
|
-
flags: { 'rotate-secrets': true, domain: 'secrets' },
|
|
832
|
-
activeEnv: localEnv,
|
|
833
|
-
});
|
|
834
|
-
// The `--domain secrets` flag above narrows the domain set to ONLY
|
|
835
|
-
// 'secrets', but we want this test to exercise the full ordered
|
|
836
|
-
// pipeline (config → prepare → secrets → write-env-files). Override
|
|
837
|
-
// `resolveDomainFilter` directly to reproduce the previous default
|
|
838
|
-
// domain set including `'secrets'`.
|
|
839
|
-
vi.spyOn(command, 'resolveDomainFilter').mockReturnValue(['secrets', 'config', 'env-files']);
|
|
840
|
-
vi.spyOn(command, 'resolveEnvNames').mockReturnValue(['local']);
|
|
841
|
-
vi.spyOn(command, 'syncConfig').mockImplementation(async () => {
|
|
842
|
-
order.push('config');
|
|
843
|
-
return true;
|
|
844
|
-
});
|
|
845
|
-
vi.spyOn(command, 'prepareEnvFilesSyncExecution').mockImplementation(async () => {
|
|
846
|
-
order.push('prepare-env-files');
|
|
847
|
-
return {
|
|
848
|
-
frameworkPath: '/framework-root',
|
|
849
|
-
isFrameworkDeveloper: false,
|
|
850
|
-
entries: [],
|
|
851
|
-
};
|
|
852
|
-
});
|
|
853
|
-
vi.spyOn(command, 'syncSecrets').mockImplementation(async () => {
|
|
854
|
-
order.push('secrets');
|
|
855
|
-
return true;
|
|
856
|
-
});
|
|
857
|
-
vi.spyOn(command, 'syncPreparedEnvFiles').mockImplementation(async () => {
|
|
858
|
-
order.push('write-env-files');
|
|
859
|
-
return true;
|
|
860
|
-
});
|
|
861
|
-
const syncEnvFilesSpy = vi.spyOn(command, 'syncEnvFiles').mockImplementation(async () => {
|
|
862
|
-
order.push('legacy-sync-env-files');
|
|
863
|
-
return true;
|
|
864
|
-
});
|
|
865
|
-
vi.spyOn(command, 'syncManifest').mockImplementation(async () => {
|
|
866
|
-
order.push('manifest');
|
|
867
|
-
return true;
|
|
868
|
-
});
|
|
869
|
-
vi.spyOn(command, 'syncCicd').mockImplementation(async () => {
|
|
870
|
-
order.push('cicd');
|
|
871
|
-
return true;
|
|
872
|
-
});
|
|
873
|
-
const result = await command.run(ctx);
|
|
874
|
-
expect(result.success).toBe(true);
|
|
875
|
-
expect(order).toEqual([
|
|
876
|
-
'config',
|
|
877
|
-
'prepare-env-files',
|
|
878
|
-
'secrets',
|
|
879
|
-
'write-env-files',
|
|
880
|
-
]);
|
|
881
|
-
expect(syncEnvFilesSpy).not.toHaveBeenCalled();
|
|
882
|
-
});
|
|
883
|
-
it.each([
|
|
884
|
-
{
|
|
885
|
-
posture: 'write',
|
|
886
|
-
verification: {
|
|
887
|
-
evidenceDirectory: '.wildo-saas/logs/application-creation-evidence',
|
|
888
|
-
silent: false,
|
|
889
|
-
},
|
|
890
|
-
target: (applicationRoot) => ({
|
|
891
|
-
applicationRoot,
|
|
892
|
-
disposition: ApplicationOperatorEnvFileDisposition.WRITE,
|
|
893
|
-
env: {
|
|
894
|
-
[ApplicationCreationVerificationEnvKey.EVIDENCE_DIRECTORY]: '.wildo-saas/logs/application-creation-evidence',
|
|
895
|
-
[ApplicationCreationVerificationEnvKey.SILENT]: 'false',
|
|
896
|
-
},
|
|
897
|
-
}),
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
posture: 'revocation',
|
|
901
|
-
verification: undefined,
|
|
902
|
-
target: (applicationRoot) => ({
|
|
903
|
-
applicationRoot,
|
|
904
|
-
disposition: ApplicationOperatorEnvFileDisposition.REMOVE,
|
|
905
|
-
}),
|
|
906
|
-
},
|
|
907
|
-
])('carries the application-creation env $posture through the complete config-sync pipeline', async ({ verification, target }) => {
|
|
908
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-operator-env-'));
|
|
909
|
-
tempDirs.push(frameworkRoot);
|
|
910
|
-
const appRoot = join(frameworkRoot, 'examples/wonder-todos');
|
|
911
|
-
mkdirSync(appRoot, { recursive: true });
|
|
912
|
-
const command = new ConfigSyncCommand();
|
|
913
|
-
const localEnv = {
|
|
914
|
-
name: 'local',
|
|
915
|
-
locationType: WildoLocationType.LOCAL,
|
|
916
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
917
|
-
os: PlatformEnvOperatingSystem.LINUX,
|
|
918
|
-
secretsPath: '',
|
|
919
|
-
configPath: '',
|
|
920
|
-
infraPath: '',
|
|
921
|
-
publicDomain: 'localhost',
|
|
922
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
923
|
-
setupStatus: SetupStatus.NOT_STARTED,
|
|
924
|
-
createdAt: new Date().toISOString(),
|
|
925
|
-
updatedAt: new Date().toISOString(),
|
|
926
|
-
};
|
|
927
|
-
const config = {
|
|
928
|
-
type: WildoLocationType.LOCAL,
|
|
929
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
930
|
-
runtimeEnvironment: 'development',
|
|
931
|
-
publicDomain: 'localhost',
|
|
932
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
933
|
-
...(verification === undefined ? {} : { applicationCreationVerification: verification }),
|
|
934
|
-
};
|
|
935
|
-
const ctx = createCommandContext({
|
|
936
|
-
flags: { domain: 'env-files', force: true },
|
|
937
|
-
activeEnv: localEnv,
|
|
938
|
-
preferences: { isFrameworkDeveloper: true, frameworkPath: frameworkRoot },
|
|
939
|
-
cliContext: createCliContext({
|
|
940
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
941
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
942
|
-
saasRoot: appRoot,
|
|
943
|
-
frameworkRoot,
|
|
944
|
-
machinePreferencesPath: null,
|
|
945
|
-
}),
|
|
946
|
-
});
|
|
947
|
-
const loadConfigSpy = vi.spyOn(command, 'loadConfigForSync').mockResolvedValue(config);
|
|
948
|
-
vi.spyOn(command, 'loadSyncCredentials').mockReturnValue({});
|
|
949
|
-
vi.spyOn(EnvironmentRegistry, 'get').mockReturnValue(localEnv);
|
|
950
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationBackendTargets').mockResolvedValue([]);
|
|
951
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationCompanionTargets').mockResolvedValue([]);
|
|
952
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationFrontendTargets').mockResolvedValue([]);
|
|
953
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationWorkerTargets').mockResolvedValue([]);
|
|
954
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationMinionTargets').mockResolvedValue([]);
|
|
955
|
-
const operatorSpy = vi.spyOn(AppBootstrapService, 'buildApplicationOperatorEnvTargets');
|
|
956
|
-
const reconcileSpy = vi.spyOn(RuntimeBootstrap, 'reconcileGeneratedConfigFromAuthored').mockResolvedValue({
|
|
957
|
-
status: RuntimeConfigReconcileStatus.RECONCILED,
|
|
958
|
-
refreshedEnvState: false,
|
|
959
|
-
});
|
|
960
|
-
vi.spyOn(command, 'resolveDomainFilter').mockReturnValue(['env-files']);
|
|
961
|
-
vi.spyOn(command, 'resolveEnvNames').mockReturnValue(['local']);
|
|
962
|
-
expect(await command.run(ctx)).toEqual({ success: true });
|
|
963
|
-
expect(reconcileSpy).toHaveBeenCalledWith({ env: localEnv, saasRoot: appRoot });
|
|
964
|
-
expect(reconcileSpy.mock.invocationCallOrder[0]).toBeLessThan(loadConfigSpy.mock.invocationCallOrder[0]);
|
|
965
|
-
expect(operatorSpy).toHaveBeenCalledWith({
|
|
966
|
-
env: expect.objectContaining({ name: 'local', locationType: WildoLocationType.LOCAL }),
|
|
967
|
-
config,
|
|
968
|
-
saasRoot: appRoot,
|
|
969
|
-
});
|
|
970
|
-
expect(envSync).toHaveBeenCalledWith(expect.objectContaining({ name: 'local', locationType: WildoLocationType.LOCAL }), {}, expect.objectContaining({ applicationOperators: [target(appRoot)] }), ctx.log);
|
|
971
|
-
});
|
|
972
|
-
it("writes the platform's env files when the application's registration fails, and still fails the phase (#2019)", async () => {
|
|
973
|
-
// The deadlock this closes: preparing the application's targets registers it with apps-manager, apps-manager
|
|
974
|
-
// answered from a platform env that lacked a key only this phase writes, and the refusal stopped the phase.
|
|
975
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-platform-half-'));
|
|
976
|
-
tempDirs.push(frameworkRoot);
|
|
977
|
-
const appRoot = join(frameworkRoot, 'examples/wonder-todos');
|
|
978
|
-
mkdirSync(appRoot, { recursive: true });
|
|
979
|
-
const command = new ConfigSyncCommand();
|
|
980
|
-
const localEnv = {
|
|
981
|
-
name: 'local',
|
|
982
|
-
locationType: WildoLocationType.LOCAL,
|
|
983
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
984
|
-
os: PlatformEnvOperatingSystem.LINUX,
|
|
985
|
-
secretsPath: '',
|
|
986
|
-
configPath: '',
|
|
987
|
-
infraPath: '',
|
|
988
|
-
publicDomain: 'localhost',
|
|
989
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
990
|
-
setupStatus: SetupStatus.NOT_STARTED,
|
|
991
|
-
createdAt: new Date().toISOString(),
|
|
992
|
-
updatedAt: new Date().toISOString(),
|
|
993
|
-
};
|
|
994
|
-
const config = {
|
|
995
|
-
type: WildoLocationType.LOCAL,
|
|
996
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
997
|
-
runtimeEnvironment: 'development',
|
|
998
|
-
publicDomain: 'localhost',
|
|
999
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
1000
|
-
};
|
|
1001
|
-
const ctx = createCommandContext({
|
|
1002
|
-
flags: { domain: 'env-files', force: true },
|
|
1003
|
-
activeEnv: localEnv,
|
|
1004
|
-
preferences: { isFrameworkDeveloper: true, frameworkPath: frameworkRoot },
|
|
1005
|
-
cliContext: createCliContext({
|
|
1006
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1007
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
1008
|
-
saasRoot: appRoot,
|
|
1009
|
-
frameworkRoot,
|
|
1010
|
-
machinePreferencesPath: null,
|
|
1011
|
-
}),
|
|
1012
|
-
});
|
|
1013
|
-
vi.spyOn(command, 'loadConfigForSync').mockResolvedValue(config);
|
|
1014
|
-
vi.spyOn(command, 'loadSyncCredentials').mockReturnValue({});
|
|
1015
|
-
vi.spyOn(EnvironmentRegistry, 'get').mockReturnValue(localEnv);
|
|
1016
|
-
vi.spyOn(AppBootstrapService, 'buildApplicationBackendTargets').mockRejectedValue(new Error('apps-manager refused the registration'));
|
|
1017
|
-
vi.spyOn(RuntimeBootstrap, 'reconcileGeneratedConfigFromAuthored').mockResolvedValue({
|
|
1018
|
-
status: RuntimeConfigReconcileStatus.RECONCILED,
|
|
1019
|
-
refreshedEnvState: false,
|
|
1020
|
-
});
|
|
1021
|
-
vi.spyOn(command, 'resolveDomainFilter').mockReturnValue(['env-files']);
|
|
1022
|
-
vi.spyOn(command, 'resolveEnvNames').mockReturnValue(['local']);
|
|
1023
|
-
const result = await command.run(ctx);
|
|
1024
|
-
expect(result.success).toBe(false);
|
|
1025
|
-
expect(envSync).toHaveBeenCalledWith(expect.objectContaining({ name: 'local' }), {}, expect.objectContaining({ applicationBackends: undefined, applicationMinions: undefined }), ctx.log);
|
|
1026
|
-
expect(ctx.log.error).toHaveBeenCalledWith(expect.stringContaining('apps-manager refused the registration'));
|
|
1027
|
-
});
|
|
1028
|
-
/**
|
|
1029
|
-
* Partial-success reporting.
|
|
1030
|
-
*
|
|
1031
|
-
* From a live occurrence: `wildo config sync` printed only `✖ config sync failed`
|
|
1032
|
-
* while the CONFIG phase had already regenerated the platform compose file. The
|
|
1033
|
-
* reader concluded nothing had happened. The generated file was both correct and
|
|
1034
|
-
* believed absent — which is how a migration gets applied twice or abandoned.
|
|
1035
|
-
*/
|
|
1036
|
-
const runSyncWithPhaseOutcomes = async (overrides) => {
|
|
1037
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-phases-'));
|
|
1038
|
-
tempDirs.push(sandboxRoot);
|
|
1039
|
-
const frameworkRoot = join(sandboxRoot, 'framework');
|
|
1040
|
-
const appRoot = join(frameworkRoot, 'examples/wonder-todos');
|
|
1041
|
-
mkdirSync(appRoot, { recursive: true });
|
|
1042
|
-
const command = new ConfigSyncCommand();
|
|
1043
|
-
vi.spyOn(command, 'resolveDomainFilter')
|
|
1044
|
-
.mockReturnValue(['config', 'env-files']);
|
|
1045
|
-
vi.spyOn(command, 'resolveEnvNames')
|
|
1046
|
-
.mockReturnValue(['local']);
|
|
1047
|
-
vi.spyOn(command, 'syncConfig')
|
|
1048
|
-
.mockResolvedValue(overrides.configOk);
|
|
1049
|
-
vi.spyOn(command, 'syncEnvFiles')
|
|
1050
|
-
.mockResolvedValue(overrides.envFilesOk);
|
|
1051
|
-
// Pre-phase gates, stubbed so the test exercises the PHASE DISPATCH rather
|
|
1052
|
-
// than the generated-config reconciliation that runs before it. Both return
|
|
1053
|
-
// early on failure with their own diagnostics and are not phases.
|
|
1054
|
-
vi.spyOn(command, 'reconcileLocalConfigFromAuthoredInfra').mockResolvedValue(true);
|
|
1055
|
-
vi.spyOn(command, 'provisionFrameworkManagedSecrets').mockReturnValue(undefined);
|
|
1056
|
-
vi.spyOn(RuntimeBootstrap, 'reconcileGeneratedConfigFromAuthored').mockResolvedValue(undefined);
|
|
1057
|
-
vi.spyOn(EnvironmentRegistry, 'get').mockReturnValue({ name: 'local' });
|
|
1058
|
-
const ctx = createCommandContext({
|
|
1059
|
-
activeEnv: { name: 'local' },
|
|
1060
|
-
cliContext: createCliContext({
|
|
1061
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1062
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
1063
|
-
saasRoot: appRoot,
|
|
1064
|
-
frameworkRoot,
|
|
1065
|
-
machinePreferencesPath: null,
|
|
1066
|
-
}),
|
|
1067
|
-
});
|
|
1068
|
-
await command.run(ctx);
|
|
1069
|
-
return ctx;
|
|
1070
|
-
};
|
|
1071
|
-
const infoLines = (ctx) => ctx.log.info.mock.calls
|
|
1072
|
-
.map(([message]) => String(message ?? ''))
|
|
1073
|
-
.join('\n');
|
|
1074
|
-
it('reports WHICH phases succeeded when a later phase fails', async () => {
|
|
1075
|
-
const ctx = await runSyncWithPhaseOutcomes({ configOk: true, envFilesOk: false });
|
|
1076
|
-
const output = infoLines(ctx);
|
|
1077
|
-
// The succeeded phase must be named as succeeded — this is the sentence whose
|
|
1078
|
-
// absence caused the live misreading.
|
|
1079
|
-
expect(output).toMatch(/✔ config .*completed, output written/);
|
|
1080
|
-
expect(output).toMatch(/✖ env-files/);
|
|
1081
|
-
// And the explicit instruction not to re-run what already landed.
|
|
1082
|
-
expect(output).toContain('do NOT need re-running');
|
|
1083
|
-
});
|
|
1084
|
-
it('prints NO phase summary when everything succeeds', async () => {
|
|
1085
|
-
// On success the per-phase output is already sufficient; a summary would be
|
|
1086
|
-
// noise, and noise is what makes the failure summary get skimmed.
|
|
1087
|
-
const ctx = await runSyncWithPhaseOutcomes({ configOk: true, envFilesOk: true });
|
|
1088
|
-
expect(infoLines(ctx)).not.toContain('Phase outcomes:');
|
|
1089
|
-
});
|
|
1090
|
-
it('does not claim success for any phase when the FIRST phase fails', async () => {
|
|
1091
|
-
// Guards the inverse misreport: a summary that says something was written when
|
|
1092
|
-
// nothing was would send a reader looking for files that do not exist.
|
|
1093
|
-
const ctx = await runSyncWithPhaseOutcomes({ configOk: false, envFilesOk: false });
|
|
1094
|
-
const output = infoLines(ctx);
|
|
1095
|
-
expect(output).toMatch(/✖ config/);
|
|
1096
|
-
expect(output).not.toContain('do NOT need re-running');
|
|
1097
|
-
});
|
|
1098
|
-
it('fails the command before env generation when authored local config is invalid', async () => {
|
|
1099
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-invalid-authored-'));
|
|
1100
|
-
tempDirs.push(sandboxRoot);
|
|
1101
|
-
const frameworkRoot = join(sandboxRoot, 'framework');
|
|
1102
|
-
const appRoot = join(frameworkRoot, 'examples/wonder-todos');
|
|
1103
|
-
mkdirSync(appRoot, { recursive: true });
|
|
1104
|
-
const command = new ConfigSyncCommand();
|
|
1105
|
-
const prepareSpy = vi.spyOn(command, 'prepareEnvFilesSyncExecution');
|
|
1106
|
-
vi.spyOn(command, 'resolveDomainFilter').mockReturnValue(['env-files']);
|
|
1107
|
-
vi.spyOn(command, 'resolveEnvNames').mockReturnValue(['local']);
|
|
1108
|
-
vi.spyOn(RuntimeBootstrap, 'reconcileGeneratedConfigFromAuthored').mockRejectedValue(new Error('applicationCreationVerification.evidenceDirectory must be an app-root-relative descendant path.'));
|
|
1109
|
-
vi.spyOn(EnvironmentRegistry, 'get').mockReturnValue({ name: 'local' });
|
|
1110
|
-
const ctx = createCommandContext({
|
|
1111
|
-
activeEnv: { name: 'local' },
|
|
1112
|
-
cliContext: createCliContext({
|
|
1113
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1114
|
-
saasConfigPath: join(appRoot, 'wildo.saas.config.ts'),
|
|
1115
|
-
saasRoot: appRoot,
|
|
1116
|
-
frameworkRoot,
|
|
1117
|
-
machinePreferencesPath: null,
|
|
1118
|
-
}),
|
|
1119
|
-
});
|
|
1120
|
-
expect(await command.run(ctx)).toEqual({ success: false });
|
|
1121
|
-
expect(prepareSpy).not.toHaveBeenCalled();
|
|
1122
|
-
expect(ctx.log.error).toHaveBeenCalledWith(expect.stringContaining('refusing stale generated config'));
|
|
1123
|
-
});
|
|
1124
|
-
// #2013: the artifact sync declares and links the system-of-record facet library, and it can only link it `file:` into
|
|
1125
|
-
// the checkout in framework development if it is told where the checkout is.
|
|
1126
|
-
it('hands the provider-runtime sync the framework checkout, so it can link the system-of-record library', async () => {
|
|
1127
|
-
const command = new ConfigSyncCommand();
|
|
1128
|
-
const ctx = createCommandContext({
|
|
1129
|
-
cliContext: createCliContext({
|
|
1130
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1131
|
-
saasConfigPath: '/tmp/app/wildo.saas.config.ts',
|
|
1132
|
-
saasRoot: '/tmp/app',
|
|
1133
|
-
frameworkRoot: '/framework-root',
|
|
1134
|
-
machinePreferencesPath: null,
|
|
1135
|
-
}),
|
|
1136
|
-
});
|
|
1137
|
-
vi.mocked(syncProviderRuntimeArtifactsForApp).mockClear();
|
|
1138
|
-
const ok = await command.syncProviderRuntimeArtifacts(ctx, '/tmp/app', ['local']);
|
|
1139
|
-
expect(ok).toBe(true);
|
|
1140
|
-
expect(vi.mocked(syncProviderRuntimeArtifactsForApp)).toHaveBeenCalledWith(ctx.log, '/tmp/app', 'local', {
|
|
1141
|
-
frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot,
|
|
1142
|
-
});
|
|
1143
|
-
expect(ctx.cliContext.resolvedHomes.framework.repositoryRoot).toBeTruthy();
|
|
1144
|
-
});
|
|
1145
|
-
it('refreshes provider runtime artifacts before env-files-only sync', async () => {
|
|
1146
|
-
const command = new ConfigSyncCommand();
|
|
1147
|
-
const order = [];
|
|
1148
|
-
const ctx = createCommandContext({
|
|
1149
|
-
flags: { domain: 'env-files' },
|
|
1150
|
-
cliContext: createCliContext({
|
|
1151
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1152
|
-
saasConfigPath: '/tmp/app/wildo.saas.config.ts',
|
|
1153
|
-
saasRoot: '/tmp/app',
|
|
1154
|
-
frameworkRoot: '/framework-root',
|
|
1155
|
-
machinePreferencesPath: null,
|
|
1156
|
-
}),
|
|
1157
|
-
});
|
|
1158
|
-
vi.spyOn(command, 'resolveDomainFilter').mockReturnValue(['env-files']);
|
|
1159
|
-
vi.spyOn(command, 'resolveEnvNames').mockReturnValue(['local']);
|
|
1160
|
-
vi.spyOn(command, 'syncProviderRuntimeArtifacts').mockImplementation(async () => {
|
|
1161
|
-
order.push('provider-runtime-artifacts');
|
|
1162
|
-
return true;
|
|
1163
|
-
});
|
|
1164
|
-
vi.spyOn(command, 'syncEnvFiles').mockImplementation(async () => {
|
|
1165
|
-
order.push('env-files');
|
|
1166
|
-
return true;
|
|
1167
|
-
});
|
|
1168
|
-
const result = await command.run(ctx);
|
|
1169
|
-
expect(result.success).toBe(true);
|
|
1170
|
-
expect(order).toEqual(['provider-runtime-artifacts', 'env-files']);
|
|
1171
|
-
});
|
|
1172
|
-
it('defaults CI sync domains to CI-safe operations only', () => {
|
|
1173
|
-
const command = new ConfigSyncCommand();
|
|
1174
|
-
const ctx = createCommandContext({
|
|
1175
|
-
flags: { ci: true },
|
|
1176
|
-
cliContext: createCliContext({
|
|
1177
|
-
...mockWorkspaceScope,
|
|
1178
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1179
|
-
saasConfigPath: '/tmp/app/wildo.saas.config.ts',
|
|
1180
|
-
saasRoot: '/tmp/app',
|
|
1181
|
-
}),
|
|
1182
|
-
});
|
|
1183
|
-
const domainFilter = command.resolveDomainFilter(ctx);
|
|
1184
|
-
expect(domainFilter).toEqual(['cicd', 'config', 'env-files']);
|
|
1185
|
-
});
|
|
1186
|
-
it('defaults targeted-app sync domains away from legacy manifest/cicd branches and excludes destructive secrets rotation', () => {
|
|
1187
|
-
// Fix M (2026-04-21) — `secrets` is no longer in the default domain
|
|
1188
|
-
// set so `wildo config sync --local --force` cannot silently rotate
|
|
1189
|
-
// `secrets.json`. Operators must opt in via `--rotate-secrets` (or
|
|
1190
|
-
// `--domain secrets`).
|
|
1191
|
-
const command = new ConfigSyncCommand();
|
|
1192
|
-
const ctx = createCommandContext({
|
|
1193
|
-
cliContext: createCliContext({
|
|
1194
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1195
|
-
saasConfigPath: '/tmp/app/wildo.saas.config.ts',
|
|
1196
|
-
saasRoot: '/tmp/app',
|
|
1197
|
-
frameworkRoot: null,
|
|
1198
|
-
machinePreferencesPath: null,
|
|
1199
|
-
}),
|
|
1200
|
-
});
|
|
1201
|
-
const domainFilter = command.resolveDomainFilter(ctx);
|
|
1202
|
-
expect(domainFilter).toEqual(['config', 'env-files']);
|
|
1203
|
-
});
|
|
1204
|
-
it('loads service replicas from app-owned infra descriptors in targeted-app scope', async () => {
|
|
1205
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-replicas-'));
|
|
1206
|
-
tempDirs.push(sandboxRoot);
|
|
1207
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1208
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
1209
|
-
const localInfraDir = join(authoredInfrastructureHome, 'local');
|
|
1210
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1211
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1212
|
-
const command = new ConfigSyncCommand();
|
|
1213
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1214
|
-
environment: 'local',
|
|
1215
|
-
kubernetes: {
|
|
1216
|
-
services: {
|
|
1217
|
-
backendApi: { replicas: 2 },
|
|
1218
|
-
app: { replicas: 1 },
|
|
1219
|
-
},
|
|
1220
|
-
},
|
|
1221
|
-
});
|
|
1222
|
-
const replicas = await command.loadServiceReplicas(appRoot, {
|
|
1223
|
-
name: 'local',
|
|
1224
|
-
locationType: WildoLocationType.LOCAL,
|
|
1225
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
1226
|
-
});
|
|
1227
|
-
expect(replicas).toEqual({
|
|
1228
|
-
backendApi: 2,
|
|
1229
|
-
app: 1,
|
|
1230
|
-
});
|
|
1231
|
-
expect(vi.mocked(loadConfig)).toHaveBeenCalledWith(expect.stringContaining(join(authoredInfrastructureHome, 'local', 'wildo.infra.local.config.ts')), expect.objectContaining({
|
|
1232
|
-
artifactLocation: expect.objectContaining({
|
|
1233
|
-
zone: 'saas',
|
|
1234
|
-
ownerRoot: appRoot,
|
|
1235
|
-
}),
|
|
1236
|
-
}));
|
|
1237
|
-
});
|
|
1238
|
-
it('falls back to the authored local infra env descriptor when no generated config.json exists yet', async () => {
|
|
1239
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-authored-local-'));
|
|
1240
|
-
tempDirs.push(sandboxRoot);
|
|
1241
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1242
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
1243
|
-
const localInfraDir = join(authoredInfrastructureHome, 'local');
|
|
1244
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1245
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1246
|
-
const command = new ConfigSyncCommand();
|
|
1247
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1248
|
-
environment: 'local',
|
|
1249
|
-
locationType: WildoLocationType.LOCAL,
|
|
1250
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1251
|
-
applicationCreationVerification: {
|
|
1252
|
-
evidenceDirectory: '.wildo-saas/logs/application-creation-evidence',
|
|
1253
|
-
silent: true,
|
|
1254
|
-
},
|
|
1255
|
-
backingServices: {
|
|
1256
|
-
mongodb: { source: BackingServiceSource.SELF },
|
|
1257
|
-
s3: {
|
|
1258
|
-
source: BackingServiceSource.SELF,
|
|
1259
|
-
provider: 'minio',
|
|
1260
|
-
endpoint: 'http://localhost:9000',
|
|
1261
|
-
bucket: 'wonder-todos-local',
|
|
1262
|
-
},
|
|
1263
|
-
},
|
|
1264
|
-
});
|
|
1265
|
-
const config = await command.loadConfigForSync('local', null, createCommandContext(), appRoot);
|
|
1266
|
-
expect(config).toEqual(expect.objectContaining({
|
|
1267
|
-
type: WildoLocationType.LOCAL,
|
|
1268
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1269
|
-
database: {
|
|
1270
|
-
engine: DatabaseEngine.MONGODB,
|
|
1271
|
-
source: BackingServiceSource.SELF,
|
|
1272
|
-
},
|
|
1273
|
-
infrastructure: {
|
|
1274
|
-
storage: {
|
|
1275
|
-
provider: 'minio',
|
|
1276
|
-
useSsl: false,
|
|
1277
|
-
bucket: 'wonder-todos-local',
|
|
1278
|
-
},
|
|
1279
|
-
postgresql: {
|
|
1280
|
-
database: 'wildo_platform',
|
|
1281
|
-
sslMode: 'disable',
|
|
1282
|
-
},
|
|
1283
|
-
},
|
|
1284
|
-
applicationCreationVerification: {
|
|
1285
|
-
evidenceDirectory: '.wildo-saas/logs/application-creation-evidence',
|
|
1286
|
-
silent: true,
|
|
1287
|
-
},
|
|
1288
|
-
}));
|
|
1289
|
-
expect(vi.mocked(loadConfig)).toHaveBeenCalledWith(expect.stringContaining(join(authoredInfrastructureHome, 'local', 'wildo.infra.local.config.ts')), expect.objectContaining({
|
|
1290
|
-
artifactLocation: expect.objectContaining({
|
|
1291
|
-
zone: 'saas',
|
|
1292
|
-
ownerRoot: appRoot,
|
|
1293
|
-
}),
|
|
1294
|
-
}));
|
|
1295
|
-
});
|
|
1296
|
-
it('regenerates a stale local config.json + refreshes env state from authored infra before domains consume them', async () => {
|
|
1297
|
-
// Root-fix regression pin: reproduce the exact staleness the bug produced —
|
|
1298
|
-
// a pre-`backingServices` generated config.json (dated months ago) + a
|
|
1299
|
-
// registry env snapshot with no `immudb`, while the authored
|
|
1300
|
-
// `wildo.infra.local.config.ts` DECLARES `immudb: { source: SELF }`.
|
|
1301
|
-
// `reconcileLocalConfigFromAuthoredInfra` must rewrite config.json AND the
|
|
1302
|
-
// env-registry snapshot from the authored descriptor so the newly-authored
|
|
1303
|
-
// backing service reaches the compose-inclusion gate.
|
|
1304
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-stale-regen-'));
|
|
1305
|
-
tempDirs.push(sandboxRoot);
|
|
1306
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1307
|
-
const appLayout = resolveAppLayout(appRoot);
|
|
1308
|
-
const localInfraDir = join(appLayout.authoredInfrastructureHome, 'local');
|
|
1309
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1310
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
1311
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1312
|
-
// Stale generated config.json — old pre-`backingServices` shape (the
|
|
1313
|
-
// `config.json was dated May 3, 2+ months stale` reproduction). Note the
|
|
1314
|
-
// sentinel `stale-bucket` so we can prove the file was actually rewritten.
|
|
1315
|
-
const configDir = join(appLayout.runtimeInfrastructureHome, 'environments', 'local', 'generated', 'config');
|
|
1316
|
-
mkdirSync(configDir, { recursive: true });
|
|
1317
|
-
const configPath = join(configDir, 'config.json');
|
|
1318
|
-
writeFileSync(configPath, JSON.stringify({
|
|
1319
|
-
type: WildoLocationType.LOCAL,
|
|
1320
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1321
|
-
publicDomain: 'localhost',
|
|
1322
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
1323
|
-
infrastructure: {
|
|
1324
|
-
storage: { provider: 'minio', useSsl: false, bucket: 'stale-bucket' },
|
|
1325
|
-
postgresql: { database: 'postgres', sslMode: 'disable' },
|
|
1326
|
-
},
|
|
1327
|
-
}), 'utf8');
|
|
1328
|
-
EnvironmentRegistry.setSaasRootOverride(appRoot);
|
|
1329
|
-
// Stale in-memory/persisted registry env — no `immudb` in backingServices
|
|
1330
|
-
// (mirrors the on-disk `environments.json` where `immudb` is ABSENT).
|
|
1331
|
-
EnvironmentRegistry.insert({
|
|
1332
|
-
name: 'local',
|
|
1333
|
-
locationType: WildoLocationType.LOCAL,
|
|
1334
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1335
|
-
os: PlatformEnvOperatingSystem.LINUX,
|
|
1336
|
-
secretsPath: '',
|
|
1337
|
-
configPath: appLayout.runtimeInfrastructureHome,
|
|
1338
|
-
infraPath: appLayout.runtimeInfrastructureHome,
|
|
1339
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.SELF },
|
|
1340
|
-
setupStatus: SetupStatus.NOT_STARTED,
|
|
1341
|
-
createdAt: '2026-01-01T00:00:00.000Z',
|
|
1342
|
-
updatedAt: '2026-01-01T00:00:00.000Z',
|
|
1343
|
-
publicDomain: 'localhost',
|
|
1344
|
-
backingServices: {
|
|
1345
|
-
mongodb: { source: BackingServiceSource.SELF },
|
|
1346
|
-
},
|
|
1347
|
-
});
|
|
1348
|
-
// Authored infra DECLARES the new immudb backing service.
|
|
1349
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1350
|
-
environment: 'local',
|
|
1351
|
-
locationType: WildoLocationType.LOCAL,
|
|
1352
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1353
|
-
publicDomain: 'localhost',
|
|
1354
|
-
backingServices: {
|
|
1355
|
-
mongodb: { source: BackingServiceSource.SELF },
|
|
1356
|
-
immudb: { source: BackingServiceSource.SELF },
|
|
1357
|
-
},
|
|
1358
|
-
});
|
|
1359
|
-
const command = new ConfigSyncCommand();
|
|
1360
|
-
const ctx = createCommandContext();
|
|
1361
|
-
await command.reconcileLocalConfigFromAuthoredInfra(ctx, ['local'], appRoot);
|
|
1362
|
-
// 1) config.json on disk is REGENERATED from the authored descriptor:
|
|
1363
|
-
// it now carries `backingServices.immudb` and no longer has the stale
|
|
1364
|
-
// `stale-bucket` sentinel (proving the file was overwritten, not merged).
|
|
1365
|
-
const regenerated = JSON.parse(readFileSync(configPath, 'utf8'));
|
|
1366
|
-
expect(regenerated.backingServices?.immudb?.source).toBe(BackingServiceSource.SELF);
|
|
1367
|
-
expect(regenerated.infrastructure.storage.bucket).not.toBe('stale-bucket');
|
|
1368
|
-
// 2) The registry env snapshot is refreshed too — this is what the
|
|
1369
|
-
// `--domain manifest` path (`renderDockerComposeTemplate(ctx.activeEnv)`)
|
|
1370
|
-
// reads directly, so it must also carry the authored immudb.
|
|
1371
|
-
const refreshedEnv = EnvironmentRegistry.get('local');
|
|
1372
|
-
expect(refreshedEnv?.backingServices?.immudb?.source).toBe(BackingServiceSource.SELF);
|
|
1373
|
-
// 3) End of chain: the reconcile output flips the SAME compose-inclusion
|
|
1374
|
-
// predicate (`resolveIncludeLocalImmudb`) that gates the template's
|
|
1375
|
-
// `{{#if includeLocalImmudb}}` block, so the local `immudb` container is
|
|
1376
|
-
// now emitted. (The literal `container_name: wildo-immudb` render is
|
|
1377
|
-
// pinned in docker-compose-generator.service.test.ts.)
|
|
1378
|
-
expect(getDockerComposeLocalDataServices(refreshedEnv)).toContain('immudb');
|
|
1379
|
-
});
|
|
1380
|
-
it('leaves the generated config.json untouched for Atlas-backed envs (cannot reconcile from authored)', async () => {
|
|
1381
|
-
// The reconcile must NOT clobber a generated config.json that carries
|
|
1382
|
-
// Atlas API metadata the authored descriptor cannot reproduce — it warns
|
|
1383
|
-
// and keeps the existing file (fail-soft, non-fatal).
|
|
1384
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-atlas-keep-'));
|
|
1385
|
-
tempDirs.push(sandboxRoot);
|
|
1386
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1387
|
-
const appLayout = resolveAppLayout(appRoot);
|
|
1388
|
-
const localInfraDir = join(appLayout.authoredInfrastructureHome, 'local');
|
|
1389
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1390
|
-
writeFileSync(join(appRoot, 'wildo.saas.config.ts'), 'export default {};', 'utf8');
|
|
1391
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1392
|
-
const configDir = join(appLayout.runtimeInfrastructureHome, 'environments', 'local', 'generated', 'config');
|
|
1393
|
-
mkdirSync(configDir, { recursive: true });
|
|
1394
|
-
const configPath = join(configDir, 'config.json');
|
|
1395
|
-
const generatedAtlasConfig = JSON.stringify({
|
|
1396
|
-
type: WildoLocationType.LOCAL,
|
|
1397
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1398
|
-
publicDomain: 'localhost',
|
|
1399
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.MANAGED, provider: 'atlas' },
|
|
1400
|
-
infrastructure: {
|
|
1401
|
-
storage: { provider: 'minio', useSsl: false, bucket: 'keep-me' },
|
|
1402
|
-
postgresql: { database: 'postgres', sslMode: 'disable' },
|
|
1403
|
-
},
|
|
1404
|
-
atlas: { apiBaseUrl: 'https://cloud.mongodb.com/api/atlas/v2', projectId: 'proj-1', clusterName: 'c0' },
|
|
1405
|
-
});
|
|
1406
|
-
writeFileSync(configPath, generatedAtlasConfig, 'utf8');
|
|
1407
|
-
EnvironmentRegistry.setSaasRootOverride(appRoot);
|
|
1408
|
-
EnvironmentRegistry.insert({
|
|
1409
|
-
name: 'local',
|
|
1410
|
-
locationType: WildoLocationType.LOCAL,
|
|
1411
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1412
|
-
os: PlatformEnvOperatingSystem.LINUX,
|
|
1413
|
-
secretsPath: '',
|
|
1414
|
-
configPath: appLayout.runtimeInfrastructureHome,
|
|
1415
|
-
infraPath: appLayout.runtimeInfrastructureHome,
|
|
1416
|
-
database: { engine: DatabaseEngine.MONGODB, source: BackingServiceSource.MANAGED },
|
|
1417
|
-
setupStatus: SetupStatus.NOT_STARTED,
|
|
1418
|
-
createdAt: '2026-01-01T00:00:00.000Z',
|
|
1419
|
-
updatedAt: '2026-01-01T00:00:00.000Z',
|
|
1420
|
-
publicDomain: 'localhost',
|
|
1421
|
-
});
|
|
1422
|
-
// Authored infra declares Atlas Mongo (source=MANAGED, provider=atlas) —
|
|
1423
|
-
// `getUnsupportedAuthoredConfigFallbackReason` flags it as unsupported.
|
|
1424
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1425
|
-
environment: 'local',
|
|
1426
|
-
locationType: WildoLocationType.LOCAL,
|
|
1427
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1428
|
-
publicDomain: 'localhost',
|
|
1429
|
-
backingServices: {
|
|
1430
|
-
mongodb: { source: BackingServiceSource.MANAGED, provider: 'atlas' },
|
|
1431
|
-
},
|
|
1432
|
-
});
|
|
1433
|
-
const command = new ConfigSyncCommand();
|
|
1434
|
-
const ctx = createCommandContext();
|
|
1435
|
-
await command.reconcileLocalConfigFromAuthoredInfra(ctx, ['local'], appRoot);
|
|
1436
|
-
// Generated config.json is preserved byte-for-byte (Atlas metadata intact).
|
|
1437
|
-
expect(readFileSync(configPath, 'utf8')).toBe(generatedAtlasConfig);
|
|
1438
|
-
expect(ctx.log.warn).toHaveBeenCalledWith(expect.stringContaining('Keeping generated config.json'));
|
|
1439
|
-
});
|
|
1440
|
-
it('fails closed when authored config fallback would lose Atlas-generated fields', async () => {
|
|
1441
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-authored-atlas-'));
|
|
1442
|
-
tempDirs.push(sandboxRoot);
|
|
1443
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1444
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
1445
|
-
const stagingInfraDir = join(authoredInfrastructureHome, 'staging');
|
|
1446
|
-
mkdirSync(stagingInfraDir, { recursive: true });
|
|
1447
|
-
writeFileSync(join(stagingInfraDir, 'wildo.infra.remote.config.ts'), 'export default {};', 'utf8');
|
|
1448
|
-
const command = new ConfigSyncCommand();
|
|
1449
|
-
const ctx = createCommandContext();
|
|
1450
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1451
|
-
environment: 'staging',
|
|
1452
|
-
locationType: WildoLocationType.REMOTE,
|
|
1453
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
1454
|
-
runtimeEnvironment: 'staging',
|
|
1455
|
-
remoteProvider: {
|
|
1456
|
-
provider: 'scaleway',
|
|
1457
|
-
registryEndpoint: 'rg.fr-par.scw.cloud/demo',
|
|
1458
|
-
},
|
|
1459
|
-
publicDomain: 'staging.wildo.ai',
|
|
1460
|
-
kubernetes: {
|
|
1461
|
-
namespace: 'demo-staging',
|
|
1462
|
-
},
|
|
1463
|
-
backingServices: {
|
|
1464
|
-
mongodb: { source: BackingServiceSource.MANAGED, provider: 'atlas' },
|
|
1465
|
-
},
|
|
1466
|
-
});
|
|
1467
|
-
const config = await command.loadConfigForSync('staging', null, ctx, appRoot);
|
|
1468
|
-
expect(config).toBeNull();
|
|
1469
|
-
expect(ctx.log.error).toHaveBeenCalledWith(expect.stringContaining('Atlas-backed environments require generated config.json'));
|
|
1470
|
-
});
|
|
1471
|
-
it('prefers targeted app authored infra before stale framework-adjacent sibling secrets', async () => {
|
|
1472
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-precedence-'));
|
|
1473
|
-
tempDirs.push(sandboxRoot);
|
|
1474
|
-
const frameworkRoot = join(sandboxRoot, 'framework-checkout', 'wildo-ai');
|
|
1475
|
-
const staleSecretsRoot = join(sandboxRoot, 'framework-checkout', 'wildo-secrets', 'environments', 'local');
|
|
1476
|
-
const appRoot = join(sandboxRoot, 'app-checkout', 'app');
|
|
1477
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
1478
|
-
const localInfraDir = join(authoredInfrastructureHome, 'local');
|
|
1479
|
-
mkdirSync(frameworkRoot, { recursive: true });
|
|
1480
|
-
mkdirSync(staleSecretsRoot, { recursive: true });
|
|
1481
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1482
|
-
writeFileSync(join(staleSecretsRoot, 'config.json'), JSON.stringify({
|
|
1483
|
-
type: WildoLocationType.REMOTE,
|
|
1484
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
1485
|
-
runtimeEnvironment: 'staging',
|
|
1486
|
-
database: {
|
|
1487
|
-
engine: DatabaseEngine.MONGODB,
|
|
1488
|
-
source: BackingServiceSource.SELF,
|
|
1489
|
-
},
|
|
1490
|
-
infrastructure: {
|
|
1491
|
-
storage: {
|
|
1492
|
-
provider: 'minio',
|
|
1493
|
-
useSsl: false,
|
|
1494
|
-
bucket: 'wrong-bucket',
|
|
1495
|
-
},
|
|
1496
|
-
postgresql: {
|
|
1497
|
-
database: 'wrong-db',
|
|
1498
|
-
sslMode: 'disable',
|
|
1499
|
-
},
|
|
1500
|
-
},
|
|
1501
|
-
publicDomain: 'wrong.wildo.ai',
|
|
1502
|
-
kubernetes: {
|
|
1503
|
-
namespace: 'wrong-namespace',
|
|
1504
|
-
},
|
|
1505
|
-
remoteProvider: {
|
|
1506
|
-
provider: 'scaleway',
|
|
1507
|
-
registryEndpoint: 'rg.fr-par.scw.cloud/wrong',
|
|
1508
|
-
},
|
|
1509
|
-
}), 'utf8');
|
|
1510
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1511
|
-
const command = new ConfigSyncCommand();
|
|
1512
|
-
const ctx = createCommandContext();
|
|
1513
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1514
|
-
environment: 'local',
|
|
1515
|
-
locationType: WildoLocationType.LOCAL,
|
|
1516
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1517
|
-
backingServices: {
|
|
1518
|
-
mongodb: { source: BackingServiceSource.SELF },
|
|
1519
|
-
},
|
|
1520
|
-
});
|
|
1521
|
-
const config = await command.loadConfigForSync('local', frameworkRoot, ctx, appRoot);
|
|
1522
|
-
expect(config).toEqual(expect.objectContaining({
|
|
1523
|
-
type: WildoLocationType.LOCAL,
|
|
1524
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1525
|
-
}));
|
|
1526
|
-
expect(vi.mocked(loadConfig)).toHaveBeenCalledWith(expect.stringContaining(join(authoredInfrastructureHome, 'local', 'wildo.infra.local.config.ts')), expect.anything());
|
|
1527
|
-
});
|
|
1528
|
-
it('fails closed when authored config fallback environment mismatches the requested env', async () => {
|
|
1529
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-authored-mismatch-'));
|
|
1530
|
-
tempDirs.push(sandboxRoot);
|
|
1531
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1532
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
1533
|
-
const localInfraDir = join(authoredInfrastructureHome, 'local');
|
|
1534
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1535
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1536
|
-
const command = new ConfigSyncCommand();
|
|
1537
|
-
const ctx = createCommandContext();
|
|
1538
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1539
|
-
environment: 'staging',
|
|
1540
|
-
locationType: WildoLocationType.LOCAL,
|
|
1541
|
-
runtime: WildoDeploymentRuntime.DOCKER_COMPOSE,
|
|
1542
|
-
backingServices: {
|
|
1543
|
-
mongodb: { source: BackingServiceSource.SELF },
|
|
1544
|
-
},
|
|
1545
|
-
});
|
|
1546
|
-
const config = await command.loadConfigForSync('local', null, ctx, appRoot);
|
|
1547
|
-
expect(config).toBeNull();
|
|
1548
|
-
expect(ctx.log.error).toHaveBeenCalledWith(expect.stringContaining("directory 'local' does not match authored environment 'staging'"));
|
|
1549
|
-
});
|
|
1550
|
-
it('rejects replica overrides when the authored env descriptor mismatches the requested environment', async () => {
|
|
1551
|
-
const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-cli-config-sync-replicas-mismatch-'));
|
|
1552
|
-
tempDirs.push(sandboxRoot);
|
|
1553
|
-
const appRoot = join(sandboxRoot, 'app');
|
|
1554
|
-
const authoredInfrastructureHome = resolveAppLayout(appRoot).authoredInfrastructureHome;
|
|
1555
|
-
const localInfraDir = join(authoredInfrastructureHome, 'local');
|
|
1556
|
-
mkdirSync(localInfraDir, { recursive: true });
|
|
1557
|
-
writeFileSync(join(localInfraDir, 'wildo.infra.local.config.ts'), 'export default {};', 'utf8');
|
|
1558
|
-
const command = new ConfigSyncCommand();
|
|
1559
|
-
vi.mocked(loadConfig).mockResolvedValue({
|
|
1560
|
-
environment: 'staging',
|
|
1561
|
-
kubernetes: {
|
|
1562
|
-
services: {
|
|
1563
|
-
backendApi: { replicas: 2 },
|
|
1564
|
-
},
|
|
1565
|
-
},
|
|
1566
|
-
});
|
|
1567
|
-
await expect(command.loadServiceReplicas(appRoot, {
|
|
1568
|
-
name: 'local',
|
|
1569
|
-
locationType: WildoLocationType.LOCAL,
|
|
1570
|
-
runtime: WildoDeploymentRuntime.KUBERNETES,
|
|
1571
|
-
})).rejects.toThrow("directory 'local' does not match authored environment 'staging'");
|
|
1572
|
-
});
|
|
1573
|
-
it('allows explicit cicd domains from pure targeted-app scope once app-owned infra is supported', async () => {
|
|
1574
|
-
const command = new ConfigSyncCommand();
|
|
1575
|
-
const ctx = createCommandContext({
|
|
1576
|
-
flags: { domain: 'cicd', ci: true },
|
|
1577
|
-
cliContext: createCliContext({
|
|
1578
|
-
scope: WorkspaceScope.SAAS_APP,
|
|
1579
|
-
saasConfigPath: '/tmp/app/wildo.saas.config.ts',
|
|
1580
|
-
saasRoot: '/tmp/app',
|
|
1581
|
-
frameworkRoot: null,
|
|
1582
|
-
machinePreferencesPath: null,
|
|
1583
|
-
}),
|
|
1584
|
-
});
|
|
1585
|
-
const syncCicdSpy = vi.spyOn(command, 'syncCicd').mockResolvedValue(true);
|
|
1586
|
-
const result = await command.run(ctx);
|
|
1587
|
-
expect(result.success).toBe(true);
|
|
1588
|
-
expect(syncCicdSpy).toHaveBeenCalledTimes(1);
|
|
1589
|
-
});
|
|
1590
|
-
});
|
|
1591
|
-
//# sourceMappingURL=sync.command.test.js.map
|