@flisk-sh/flisk 0.0.0-stage → 1.3.190
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/CHANGELOG.md +492 -0
- package/LICENSE +21 -0
- package/README.md +479 -2
- package/Tiltfile +151 -0
- package/cli/bin/flisk.js +42 -0
- package/cli/dist/agent-runtimes/custom.js +335 -0
- package/cli/dist/agent-runtimes/registry.js +34 -0
- package/cli/dist/backend-frameworks/elysia.js +38 -0
- package/cli/dist/backend-frameworks/express.js +49 -0
- package/cli/dist/backend-frameworks/fastify.js +43 -0
- package/cli/dist/backend-frameworks/h3.js +37 -0
- package/cli/dist/backend-frameworks/koa.js +47 -0
- package/cli/dist/backend-frameworks/mcp.js +86 -0
- package/cli/dist/backend-frameworks/nestjs.js +55 -0
- package/cli/dist/backend-frameworks/registry.js +134 -0
- package/cli/dist/backend-frameworks/types.js +1 -0
- package/cli/dist/backend-languages/bun.js +76 -0
- package/cli/dist/backend-languages/go.js +125 -0
- package/cli/dist/backend-languages/node.js +122 -0
- package/cli/dist/backend-languages/python.js +94 -0
- package/cli/dist/backend-languages/registry.js +37 -0
- package/cli/dist/backend-languages/rust.js +82 -0
- package/cli/dist/backend-languages/types.js +1 -0
- package/cli/dist/cli.js +29 -0
- package/cli/dist/commands/__tests__/project-e2e-helpers.js +49 -0
- package/cli/dist/commands/__tests__/ui-loading-screen.test.js +16 -0
- package/cli/dist/commands/agent.js +182 -0
- package/cli/dist/commands/completion-candidates.js +116 -0
- package/cli/dist/commands/completion.js +843 -0
- package/cli/dist/commands/config.js +362 -0
- package/cli/dist/commands/doctor.js +1504 -0
- package/cli/dist/commands/down.js +114 -0
- package/cli/dist/commands/eject.js +108 -0
- package/cli/dist/commands/help.js +152 -0
- package/cli/dist/commands/import.js +164 -0
- package/cli/dist/commands/logs.js +119 -0
- package/cli/dist/commands/maintainers.js +102 -0
- package/cli/dist/commands/mcp.js +28 -0
- package/cli/dist/commands/networks.js +306 -0
- package/cli/dist/commands/project.js +447 -0
- package/cli/dist/commands/projects.js +103 -0
- package/cli/dist/commands/registry.js +53 -0
- package/cli/dist/commands/resource.js +992 -0
- package/cli/dist/commands/resources.js +127 -0
- package/cli/dist/commands/restart.js +89 -0
- package/cli/dist/commands/runtime.js +75 -0
- package/cli/dist/commands/stack.js +171 -0
- package/cli/dist/commands/stacks.js +71 -0
- package/cli/dist/commands/status.js +211 -0
- package/cli/dist/commands/ui.js +725 -0
- package/cli/dist/commands/up.js +609 -0
- package/cli/dist/commands/upgrade.js +840 -0
- package/cli/dist/commands/version.js +10 -0
- package/cli/dist/components/Accessible.js +11 -0
- package/cli/dist/components/BaseTooltip.js +30 -0
- package/cli/dist/components/DetailPanel.js +33 -0
- package/cli/dist/components/FileTree.js +51 -0
- package/cli/dist/components/ResourceSelectInput.js +42 -0
- package/cli/dist/components/ResourceTable.js +35 -0
- package/cli/dist/components/ServiceIssues.js +13 -0
- package/cli/dist/components/TUIHeader.js +27 -0
- package/cli/dist/components/TabBar.js +27 -0
- package/cli/dist/components/Tooltip.js +13 -0
- package/cli/dist/components/index.js +11 -0
- package/cli/dist/components/ui-theme.js +120 -0
- package/cli/dist/config/platform-standards.js +182 -0
- package/cli/dist/frontend-frameworks/lit.js +64 -0
- package/cli/dist/frontend-frameworks/preact.js +62 -0
- package/cli/dist/frontend-frameworks/qwik.js +61 -0
- package/cli/dist/frontend-frameworks/react.js +69 -0
- package/cli/dist/frontend-frameworks/registry.js +83 -0
- package/cli/dist/frontend-frameworks/solid.js +62 -0
- package/cli/dist/frontend-frameworks/svelte.js +67 -0
- package/cli/dist/frontend-frameworks/tanstack-router.js +101 -0
- package/cli/dist/frontend-frameworks/types.js +1 -0
- package/cli/dist/frontend-frameworks/vanilla.js +59 -0
- package/cli/dist/frontend-frameworks/vue.js +72 -0
- package/cli/dist/generator/__tests__/golden-helpers.js +43 -0
- package/cli/dist/generator/extension-fetch.js +291 -0
- package/cli/dist/generator/resource-templates.js +133 -0
- package/cli/dist/generator/template-engine.js +801 -0
- package/cli/dist/index.js +10 -0
- package/cli/dist/mcp/server.js +101 -0
- package/cli/dist/mcp/tools.js +351 -0
- package/cli/dist/program.js +37 -0
- package/cli/dist/types/index.js +38 -0
- package/cli/dist/utils/agent-host.js +36 -0
- package/cli/dist/utils/atomic-write.js +36 -0
- package/cli/dist/utils/bun-floor.js +9 -0
- package/cli/dist/utils/bun-requirement.js +10 -0
- package/cli/dist/utils/cache.js +63 -0
- package/cli/dist/utils/cold-preflight.js +257 -0
- package/cli/dist/utils/command-helpers.js +57 -0
- package/cli/dist/utils/constants.js +160 -0
- package/cli/dist/utils/discovery-context.js +71 -0
- package/cli/dist/utils/discovery-paths.js +93 -0
- package/cli/dist/utils/docker.js +34 -0
- package/cli/dist/utils/doctor-crashloop.js +161 -0
- package/cli/dist/utils/doctor-fix.js +391 -0
- package/cli/dist/utils/doctor-host.js +66 -0
- package/cli/dist/utils/doctor-report.js +78 -0
- package/cli/dist/utils/doctor-runtime.js +880 -0
- package/cli/dist/utils/doctor-starlark.js +132 -0
- package/cli/dist/utils/doctor-wiring.js +698 -0
- package/cli/dist/utils/down-cleanup.js +125 -0
- package/cli/dist/utils/env-validator.js +266 -0
- package/cli/dist/utils/errors.js +175 -0
- package/cli/dist/utils/exec-async.js +31 -0
- package/cli/dist/utils/file-helpers.js +104 -0
- package/cli/dist/utils/formatting.js +165 -0
- package/cli/dist/utils/generated-paths.js +51 -0
- package/cli/dist/utils/help-command.js +11 -0
- package/cli/dist/utils/host-port-config.js +140 -0
- package/cli/dist/utils/host-port-plan.js +100 -0
- package/cli/dist/utils/json-output.js +29 -0
- package/cli/dist/utils/machine-output.js +33 -0
- package/cli/dist/utils/paths.js +43 -0
- package/cli/dist/utils/platform.js +58 -0
- package/cli/dist/utils/port-assignment.js +75 -0
- package/cli/dist/utils/port-conflict-fix.js +25 -0
- package/cli/dist/utils/port-fallback-notice.js +17 -0
- package/cli/dist/utils/port-listener-probe.js +20 -0
- package/cli/dist/utils/project-config-defaults.js +17 -0
- package/cli/dist/utils/project-features.js +91 -0
- package/cli/dist/utils/project-templates.js +32 -0
- package/cli/dist/utils/prompt.js +97 -0
- package/cli/dist/utils/resource-features.js +184 -0
- package/cli/dist/utils/resource-kind.js +9 -0
- package/cli/dist/utils/schema-version-gate.js +45 -0
- package/cli/dist/utils/search-status.js +12 -0
- package/cli/dist/utils/secret-redaction.js +73 -0
- package/cli/dist/utils/service-config-checks.js +189 -0
- package/cli/dist/utils/service-manifest.js +254 -0
- package/cli/dist/utils/service-runtime-state.js +66 -0
- package/cli/dist/utils/service-urls.js +112 -0
- package/cli/dist/utils/services.js +360 -0
- package/cli/dist/utils/shared-infra.js +45 -0
- package/cli/dist/utils/shared-platform-postgres.js +232 -0
- package/cli/dist/utils/single-flight.js +21 -0
- package/cli/dist/utils/smoke.js +401 -0
- package/cli/dist/utils/spinner.js +40 -0
- package/cli/dist/utils/stack-features.js +15 -0
- package/cli/dist/utils/stack-status.js +14 -0
- package/cli/dist/utils/startup-report.js +78 -0
- package/cli/dist/utils/status-message.js +21 -0
- package/cli/dist/utils/status-ports.js +33 -0
- package/cli/dist/utils/suggestions.js +63 -0
- package/cli/dist/utils/tar.js +46 -0
- package/cli/dist/utils/tdk-version.js +51 -0
- package/cli/dist/utils/terminal-layout.js +19 -0
- package/cli/dist/utils/tilt-events.js +194 -0
- package/cli/dist/utils/tilt-logs.js +61 -0
- package/cli/dist/utils/tilt-port-owner.js +63 -0
- package/cli/dist/utils/tilt-process.js +54 -0
- package/cli/dist/utils/tilt-resource-state.js +32 -0
- package/cli/dist/utils/tilt-startup.js +49 -0
- package/cli/dist/utils/tilt-unreachable-message.js +9 -0
- package/cli/dist/utils/tilt.js +104 -0
- package/cli/dist/utils/ui-keymap.js +129 -0
- package/cli/dist/utils/ui-service-state.js +34 -0
- package/cli/dist/utils/up-only.js +28 -0
- package/cli/dist/utils/up-readiness.js +118 -0
- package/cli/dist/utils/url-actions.js +103 -0
- package/cli/dist/utils/validation.js +62 -0
- package/cli/dist/utils/which.js +56 -0
- package/cli/dist/utils/windows-doctor.js +176 -0
- package/cli/dist-bundle/chunk-6EA4DGCY.js +2 -0
- package/cli/dist-bundle/chunk-BZ4H7MM4.js +3 -0
- package/cli/dist-bundle/chunk-CLCUIDBH.js +510 -0
- package/cli/dist-bundle/cli.js +2017 -0
- package/cli/dist-bundle/cold-preflight-SY26O2IG.js +2 -0
- package/cli/dist-bundle/devtools-ZUHXW33W.js +5 -0
- package/cli/dist-bundle/extension-fetch-J4FFH7TJ.js +2 -0
- package/cli/package.json +83 -0
- package/cli/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +25 -0
- package/cli/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +466 -0
- package/cli/shared-platform-engineering/docker-templates/install-deps.sh +154 -0
- package/cli/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +14 -0
- package/cli/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +58 -0
- package/cli/templates/.tiltignore.hbs +72 -0
- package/cli/templates/TILT_RESOURCE_DEFAULTS.star.hbs +220 -0
- package/cli/templates/TILT_TECH_STACK.star.hbs +149 -0
- package/cli/templates/Tiltfile.hbs +381 -0
- package/cli/templates/spec.master.hbs +192 -0
- package/discovery/AGENTS.md +362 -0
- package/discovery/TILT_DISCOVERY.star +429 -0
- package/discovery/Tiltfile +58 -0
- package/discovery/config.star +265 -0
- package/discovery/constants.star +167 -0
- package/discovery/deterministic.star +213 -0
- package/discovery/discovery_daemon.star +193 -0
- package/discovery/discovery_orchestrator.star +492 -0
- package/discovery/filtering.star +7 -0
- package/discovery/identity-management-backend/service.yaml +26 -0
- package/discovery/identity-management-frontend/service.yaml +29 -0
- package/discovery/identity-sdk/service.yaml +9 -0
- package/discovery/incremental_discovery.star +215 -0
- package/discovery/indexing.star +9 -0
- package/discovery/json_manifest_scanner.star +57 -0
- package/discovery/libraries.star +48 -0
- package/discovery/loading.star +25 -0
- package/discovery/manifest/constants.star +106 -0
- package/discovery/manifest/loading.star +418 -0
- package/discovery/manifest/normalize.star +289 -0
- package/discovery/manifest/validation.star +110 -0
- package/discovery/normalization.star +13 -0
- package/discovery/registry.star +562 -0
- package/discovery/resource_snapshot.py +384 -0
- package/discovery/resource_snapshot.star +145 -0
- package/discovery/schemas.star +3 -0
- package/discovery/services/platform/cdc/debezium/nats-connector/service.yaml +9 -0
- package/discovery/services/platform/cdc/nats-http-bridge/service.yaml +9 -0
- package/discovery/services/platform/orchestrator/orchestrator-glue-backend/service.yaml +26 -0
- package/discovery/services/platform/synthetic-monitor/service.yaml +9 -0
- package/discovery/test_resource_snapshot.py +253 -0
- package/discovery/validation.star +80 -0
- package/discovery/versioning.star +3 -0
- package/engine/AGENTS.md +706 -0
- package/engine/README.md +31 -0
- package/engine/REFACTORING_MANIFEST_SYSTEM.md +974 -0
- package/engine/Tiltfile +86 -0
- package/engine/assets/docker/golden-layers.Dockerfile +204 -0
- package/engine/assets/docker/wake-gateway/Dockerfile +28 -0
- package/engine/assets/docker/wake-gateway/decide.test.ts +177 -0
- package/engine/assets/docker/wake-gateway/decide.ts +135 -0
- package/engine/assets/docker/wake-gateway/server.ts +363 -0
- package/engine/assets/scripts/cleanup-completed-migrator-images.sh +39 -0
- package/engine/assets/scripts/cleanup-tilt-images.sh +122 -0
- package/engine/assets/scripts/mac-m1-resource-monitor.sh +123 -0
- package/engine/config.star +5 -0
- package/engine/entrypoint.star +101 -0
- package/engine/lifecycle/orchestrator.star +263 -0
- package/engine/paths.star +719 -0
- package/engine/schemas/project-schema.json +147 -0
- package/engine/schemas/service-schema.json +537 -0
- package/engine/scripts/README.md +89 -0
- package/engine/scripts/build-and-publish-lib.sh +207 -0
- package/engine/scripts/check-lib-publish.sh +87 -0
- package/engine/scripts/debug-container.sh +265 -0
- package/engine/scripts/generate-manifest.sh +200 -0
- package/engine/spec.master +702 -0
- package/engine/spec.master.example +341 -0
- package/engine/topologies/README.md +33 -0
- package/engine/topologies/platform/docker/AGENTS.md +59 -0
- package/engine/topologies/platform/docker/auth/auth.star +207 -0
- package/engine/topologies/platform/docker/build/frontend_build_plan.star +65 -0
- package/engine/topologies/platform/docker/build/golden_image.star +37 -0
- package/engine/topologies/platform/docker/build/golden_image_build.star +144 -0
- package/engine/topologies/platform/docker/build/golden_image_constants.star +100 -0
- package/engine/topologies/platform/docker/build/golden_image_dockerfile.star +263 -0
- package/engine/topologies/platform/docker/compose/compose.star +637 -0
- package/engine/topologies/platform/docker/compose/compose_helpers.star +54 -0
- package/engine/topologies/platform/docker/compose/traefik_standalone.star +171 -0
- package/engine/topologies/platform/docker/config/bunignore.star +144 -0
- package/engine/topologies/platform/docker/config/dockerignore.star +152 -0
- package/engine/topologies/platform/docker/config/healthcheck.star +58 -0
- package/engine/topologies/platform/docker/constants.star +211 -0
- package/engine/topologies/platform/docker/dockerfile/dockerfile.star +56 -0
- package/engine/topologies/platform/docker/dockerfile/language_dockerfile.star +264 -0
- package/engine/topologies/platform/docker/generators/golden_docker_generator_v2.star +76 -0
- package/engine/topologies/platform/docker/index.star +40 -0
- package/engine/topologies/platform/docker/layers/bun_helpers.star +25 -0
- package/engine/topologies/platform/docker/layers/infisical/index.star +42 -0
- package/engine/topologies/platform/docker/layers/infisical/infisical_docker.star +264 -0
- package/engine/topologies/platform/docker/layers/l1_base_layers.star +89 -0
- package/engine/topologies/platform/docker/layers/l2_dependency_layers.star +147 -0
- package/engine/topologies/platform/docker/layers/l3_builder_layers.star +229 -0
- package/engine/topologies/platform/docker/layers/l4_runtime_layers.star +282 -0
- package/engine/topologies/platform/docker/layers/prisma/constants.star +138 -0
- package/engine/topologies/platform/docker/layers/prisma/db_readiness.star +98 -0
- package/engine/topologies/platform/docker/layers/prisma/filesystem_setup.star +131 -0
- package/engine/topologies/platform/docker/layers/prisma/migrate_script.star +100 -0
- package/engine/topologies/platform/docker/layers/prisma/prisma_build.star +128 -0
- package/engine/topologies/platform/docker/layers/prisma/prisma_runtime.star +205 -0
- package/engine/topologies/platform/docker/layers/prisma/secret_resolution.star +121 -0
- package/engine/topologies/platform/docker/networking/api_path_constants.star +206 -0
- package/engine/topologies/platform/docker/networking/sablier_container_cycle.star +31 -0
- package/engine/topologies/platform/docker/networking/traefik.star +266 -0
- package/engine/topologies/platform/docker/networking/traefik_constants.star +148 -0
- package/engine/topologies/platform/docker/networking/traefik_helpers.star +162 -0
- package/engine/topologies/platform/docker/networking/traefik_static_routes.star +165 -0
- package/engine/topologies/platform/docker/secrets/env_secrets.star +74 -0
- package/engine/topologies/platform/docker/secrets/infisical.star +109 -0
- package/engine/topologies/platform/net/AGENTS.md +64 -0
- package/engine/topologies/platform/net/proxy.star +6 -0
- package/engine/topologies/platform/registries/local.star +6 -0
- package/engine/topologies/platform/registries/verdaccio_loader.star +20 -0
- package/engine/topologies/platform/security/AGENTS.md +49 -0
- package/engine/topologies/platform/security/secrets.star +241 -0
- package/engine/topologies/platform/state/AGENTS.md +64 -0
- package/engine/topologies/platform/state/relational.star +6 -0
- package/engine/topologies/tilt/common/AGENTS.md +59 -0
- package/engine/topologies/tilt/common/utils.star +409 -0
- package/engine/topologies/tilt/common/utils_debug.star +71 -0
- package/engine/topologies/tilt/common/utils_deterministic.star +170 -0
- package/engine/topologies/tilt/common/utils_docker_networks.star +54 -0
- package/engine/topologies/tilt/common/utils_env.star +92 -0
- package/engine/topologies/tilt/common/utils_output.star +99 -0
- package/engine/topologies/tilt/config/AGENTS.md +68 -0
- package/engine/topologies/tilt/config/defaults.star +5 -0
- package/engine/topologies/tilt/config/feature_flags.star +12 -0
- package/engine/topologies/tilt/config/global.star +57 -0
- package/engine/topologies/tilt/config/profiles.star +398 -0
- package/engine/topologies/tilt/generators/agents_md.star +64 -0
- package/engine/topologies/tilt/generators/api_gateway.star +147 -0
- package/engine/topologies/tilt/generators/index.star +126 -0
- package/engine/topologies/tilt/generators/infisical/README.md +424 -0
- package/engine/topologies/tilt/generators/infisical/examples.star +314 -0
- package/engine/topologies/tilt/generators/infisical/index.star +59 -0
- package/engine/topologies/tilt/generators/infisical/machine_identity.star +422 -0
- package/engine/topologies/tilt/generators/infisical/organization.star +536 -0
- package/engine/topologies/tilt/generators/infisical/path_manager.star +478 -0
- package/engine/topologies/tilt/generators/infisical/secrets_generator.star +422 -0
- package/engine/topologies/tilt/generators/nginx_conf.star +145 -0
- package/engine/topologies/tilt/generators/npmrc.star +132 -0
- package/engine/topologies/tilt/generators/tsconfig.star +25 -0
- package/engine/topologies/tilt/generators/typescript/backend_library_tsconfig.star +73 -0
- package/engine/topologies/tilt/generators/typescript/backend_tsconfig.star +137 -0
- package/engine/topologies/tilt/generators/typescript/common.star +9 -0
- package/engine/topologies/tilt/generators/typescript/frontend_library_tsconfig.star +78 -0
- package/engine/topologies/tilt/generators/typescript/frontend_tsconfig.star +140 -0
- package/engine/topologies/tilt/generators/typescript/include.star +25 -0
- package/engine/topologies/tilt/generators/typescript/playwright_config.star +42 -0
- package/engine/topologies/tilt/generators/typescript/prisma_config.star +51 -0
- package/engine/topologies/tilt/generators/validators.star +868 -0
- package/engine/topologies/tilt/generators/vite/backend.star +80 -0
- package/engine/topologies/tilt/generators/vite/frameworks/lit.star +92 -0
- package/engine/topologies/tilt/generators/vite/frameworks/preact.star +94 -0
- package/engine/topologies/tilt/generators/vite/frameworks/qwik.star +94 -0
- package/engine/topologies/tilt/generators/vite/frameworks/react.star +128 -0
- package/engine/topologies/tilt/generators/vite/frameworks/solid.star +94 -0
- package/engine/topologies/tilt/generators/vite/frameworks/svelte.star +94 -0
- package/engine/topologies/tilt/generators/vite/frameworks/vanilla.star +92 -0
- package/engine/topologies/tilt/generators/vite/frameworks/vue.star +94 -0
- package/engine/topologies/tilt/generators/vite/frontend.star +153 -0
- package/engine/topologies/tilt/generators/vite/generators.star +45 -0
- package/engine/topologies/tilt/generators/vite/helpers.star +256 -0
- package/engine/topologies/tilt/generators/vite/library.star +67 -0
- package/engine/topologies/tilt/generators/vite/sdk.star +75 -0
- package/engine/topologies/tilt/generators/vite/templates.star +460 -0
- package/engine/topologies/tilt/generators/vite_config.star +24 -0
- package/engine/topologies/tilt/manifest/AGENTS.md +61 -0
- package/engine/topologies/tilt/manifest/README.md +679 -0
- package/engine/topologies/tilt/manifest/__init__.star +220 -0
- package/engine/topologies/tilt/manifest/constants.star +262 -0
- package/engine/topologies/tilt/manifest/errors.star +268 -0
- package/engine/topologies/tilt/manifest/integration.star +348 -0
- package/engine/topologies/tilt/manifest/json_to_yaml.py +61 -0
- package/engine/topologies/tilt/manifest/loader.star +239 -0
- package/engine/topologies/tilt/manifest/mapper.star +229 -0
- package/engine/topologies/tilt/manifest/parser.star +490 -0
- package/engine/topologies/tilt/manifest/schema.star +502 -0
- package/engine/topologies/tilt/manifest/tests/test_integration.star +278 -0
- package/engine/topologies/tilt/manifest/tests/test_loader_parser.star +475 -0
- package/engine/topologies/tilt/manifest/tests/test_manifest.star +319 -0
- package/engine/topologies/tilt/manifest/tests/test_validator.star +472 -0
- package/engine/topologies/tilt/manifest/validator.star +744 -0
- package/engine/topologies/tilt/manifest/yaml_to_json.py +20 -0
- package/engine/topologies/tilt/resources/AGENTS.md +71 -0
- package/engine/topologies/tilt/resources/build_concurrency.star +56 -0
- package/engine/topologies/tilt/resources/conditions.star +5 -0
- package/engine/topologies/tilt/resources/databases.star +246 -0
- package/engine/topologies/tilt/resources/declaration.star +5 -0
- package/engine/topologies/tilt/resources/deps.star +5 -0
- package/engine/topologies/tilt/resources/infra-loader.star +504 -0
- package/engine/topologies/tilt/resources/libs.star +32 -0
- package/engine/topologies/tilt/resources/libs_discovery.star +104 -0
- package/engine/topologies/tilt/resources/libs_paths.star +81 -0
- package/engine/topologies/tilt/resources/libs_resource_definition.star +153 -0
- package/engine/topologies/tilt/resources/libs_setup.star +166 -0
- package/engine/topologies/tilt/resources/libs_tsconfig.star +39 -0
- package/engine/topologies/tilt/resources/orchestrator/apply.star +79 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star +864 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_manifest_orchestration.star +90 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_migrator_orchestration.star +150 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_resource_validation.star +38 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_runtime_flags.star +46 -0
- package/engine/topologies/tilt/resources/orchestrator/builders/typescript.star +193 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/AGENTS.md +75 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/index.star +23 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/resolver.star +136 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/env.star +219 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/frontend.star +172 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/manifest_resource.star +577 -0
- package/engine/topologies/tilt/resources/orchestrator/helpers.star +35 -0
- package/engine/topologies/tilt/resources/orchestrator.star +56 -0
- package/engine/topologies/tilt/resources/ordering.star +5 -0
- package/engine/topologies/tilt/resources/shared-platform-postgres.star +30 -0
- package/engine/topologies/tilt/resources/triggers.star +5 -0
- package/engine/topologies/tilt/resources/watchers.star +304 -0
- package/engine/where-things-live.star +719 -0
- package/examples/tdk-example/LICENSE +21 -0
- package/examples/tdk-example/README.md +23 -0
- package/examples/tdk-example/TILT_SERVICE_DEFAULTS.star +42 -0
- package/examples/tdk-example/TILT_TECH_STACK.star +67 -0
- package/examples/tdk-example/Tiltfile +25 -0
- package/examples/tdk-example/services/platform/messaging/docker-compose.yml +26 -0
- package/examples/tdk-example/services/shop/orders-api/package.json +20 -0
- package/examples/tdk-example/services/shop/orders-api/service.json +14 -0
- package/examples/tdk-example/services/shop/orders-api/src/index.ts +81 -0
- package/examples/tdk-example/services/shop/orders-app/index.html +12 -0
- package/examples/tdk-example/services/shop/orders-app/package.json +23 -0
- package/examples/tdk-example/services/shop/orders-app/public/.gitkeep +0 -0
- package/examples/tdk-example/services/shop/orders-app/service.json +9 -0
- package/examples/tdk-example/services/shop/orders-app/src/main.tsx +9 -0
- package/examples/tdk-example/services/shop/orders-app/src/orders.tsx +67 -0
- package/examples/tdk-example/services/shop/orders-app/src/style.css +15 -0
- package/examples/tdk-example/services/shop/orders-worker/package.json +18 -0
- package/examples/tdk-example/services/shop/orders-worker/service.json +13 -0
- package/examples/tdk-example/services/shop/orders-worker/src/index.ts +33 -0
- package/ext/Tiltfile +66 -0
- package/ext/ide-components/README.md +221 -0
- package/ext/ide-components/code_viewer/server.py +208 -0
- package/ext/ide-components/config_inspector/server.py +1052 -0
- package/ext/ide-components/file_browser/server.py +287 -0
- package/ext/ide-components/shared/config_service.py +471 -0
- package/ext/ide-components/shared/file_utils.py +300 -0
- package/ext/ide-components/shared/http_utils.py +234 -0
- package/ext/ide-components/shared/static/styles.css +1334 -0
- package/ext/ide-components/shared/syntax_highlighter.py +142 -0
- package/ext/ide-components/shared/template_engine.py +125 -0
- package/ext/ide-components/shared/templates/base.html +121 -0
- package/ext/ide-components/shared/test_config_service.py +328 -0
- package/ext/ide-components/shared/tilt_integration.py +160 -0
- package/ext/ui-enhancements/cron-status-server.sh +51 -0
- package/ext/ui-enhancements/cron-status-tracker.sh +148 -0
- package/ext/ui-enhancements/extension.yaml +36 -0
- package/ext/ui-enhancements/tiltfile.py +101 -0
- package/ext/ui-enhancements/ui/cron-jobs-tab.css +396 -0
- package/ext/ui-enhancements/ui/help-panel.css +279 -0
- package/ext/ui-enhancements/ui/icons.css +125 -0
- package/ext/ui-enhancements/ui/tooltips.css +114 -0
- package/package.json +94 -4
- package/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +25 -0
- package/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +466 -0
- package/shared-platform-engineering/docker-templates/install-deps.sh +154 -0
- package/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +14 -0
- package/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +58 -0
- package/specs/specs/TILT_SERVICE_DEFAULTS.star +207 -0
- package/specs/specs/TILT_TECH_STACK.star +161 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Copyright (c) 2026 Flisk Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# 🎯 TILT ENTRYPOINT MODULE (Phase 1 Topologies Migration)
|
|
5
|
+
# =============================================================================
|
|
6
|
+
|
|
7
|
+
# Core
|
|
8
|
+
load("./topologies/tilt/common/utils.star", _Utils = "Utils")
|
|
9
|
+
load("./topologies/tilt/discovery/loading.star", _Manifest = "Manifest")
|
|
10
|
+
load("./topologies/tilt/config/global.star", _Config = "Config")
|
|
11
|
+
|
|
12
|
+
# Discovery Daemon (auto-discovery of new services)
|
|
13
|
+
load("./topologies/tilt/discovery/discovery_daemon.star", "run_discovery_daemon")
|
|
14
|
+
|
|
15
|
+
# Registry (migrated to topologies adapter with autogenerated product outputs)
|
|
16
|
+
load(
|
|
17
|
+
"./topologies/tilt/discovery/resource_registry.star",
|
|
18
|
+
_GLOBAL_CONFIG_EXPORT = "GLOBAL_CONFIG_EXPORT",
|
|
19
|
+
_APP_RESOURCES = "APP_RESOURCES",
|
|
20
|
+
_INFRA_RESOURCES_EXPORT = "INFRA_RESOURCES_EXPORT",
|
|
21
|
+
_DDD_LIBS_EXPORT = "DDD_LIBS_EXPORT",
|
|
22
|
+
_DEFAULTS_EXPORT = "DEFAULTS_EXPORT",
|
|
23
|
+
_RESOURCE_ALIASES = "RESOURCE_ALIASES",
|
|
24
|
+
_RESOURCE_PATH_MAP = "RESOURCE_PATH_MAP",
|
|
25
|
+
_get_platform_libs_export = "get_platform_libs_export",
|
|
26
|
+
_get_product_libs_export = "get_product_libs_export",
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
# Providers
|
|
30
|
+
load("./topologies/tilt/generators/vite_config.star", _Vite = "Vite")
|
|
31
|
+
load("./topologies/tilt/generators/tsconfig.star", _TSConfig = "TSConfig")
|
|
32
|
+
load("./topologies/platform/docker/index.star", _Docker = "Docker")
|
|
33
|
+
load("./topologies/tilt/generators/npmrc.star", _PackageConfig = "PackageConfig")
|
|
34
|
+
|
|
35
|
+
# Lifecycle
|
|
36
|
+
load("./topologies/tilt/resources/deps.star", _Libs = "Libs")
|
|
37
|
+
load("./topologies/tilt/resources/conditions.star", _Database = "Database")
|
|
38
|
+
load("./topologies/tilt/resources/declaration.star", _Orchestrator = "Orchestrator")
|
|
39
|
+
load("./topologies/tilt/resources/ordering.star", _Infra = "Infra")
|
|
40
|
+
load("./topologies/tilt/resources/triggers.star", _Watchers = "Watchers")
|
|
41
|
+
load("./topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star", _resource_defers_start = "resource_defers_start")
|
|
42
|
+
|
|
43
|
+
Utils = _Utils
|
|
44
|
+
Manifest = _Manifest
|
|
45
|
+
Config = _Config
|
|
46
|
+
|
|
47
|
+
GLOBAL_CONFIG_EXPORT = _GLOBAL_CONFIG_EXPORT
|
|
48
|
+
APP_RESOURCES = _APP_RESOURCES
|
|
49
|
+
INFRA_RESOURCES_EXPORT = _INFRA_RESOURCES_EXPORT
|
|
50
|
+
DDD_LIBS_EXPORT = _DDD_LIBS_EXPORT
|
|
51
|
+
DEFAULTS_EXPORT = _DEFAULTS_EXPORT
|
|
52
|
+
RESOURCE_ALIASES = _RESOURCE_ALIASES
|
|
53
|
+
RESOURCE_PATH_MAP = _RESOURCE_PATH_MAP
|
|
54
|
+
|
|
55
|
+
def get_platform_libs_export():
|
|
56
|
+
return _get_platform_libs_export()
|
|
57
|
+
|
|
58
|
+
def get_product_libs_export():
|
|
59
|
+
return _get_product_libs_export()
|
|
60
|
+
|
|
61
|
+
Vite = _Vite
|
|
62
|
+
TSConfig = _TSConfig
|
|
63
|
+
Docker = _Docker
|
|
64
|
+
PackageConfig = _PackageConfig
|
|
65
|
+
|
|
66
|
+
Libs = _Libs
|
|
67
|
+
Database = _Database
|
|
68
|
+
Orchestrator = _Orchestrator
|
|
69
|
+
Infra = _Infra
|
|
70
|
+
Watchers = _Watchers
|
|
71
|
+
resource_defers_start = _resource_defers_start
|
|
72
|
+
|
|
73
|
+
# =============================================================================
|
|
74
|
+
# 🔮 AUTO-DISCOVERY DAEMON
|
|
75
|
+
# =============================================================================
|
|
76
|
+
# Start the service discovery daemon if auto-discovery is enabled
|
|
77
|
+
# This monitors for new service.json files and auto-registers them
|
|
78
|
+
# =============================================================================
|
|
79
|
+
|
|
80
|
+
_AUTO_DISCOVER_ENABLED = os.environ.get("AUTO_DISCOVER", "true").lower() == "true"
|
|
81
|
+
_DISCOVERY_SCAN_INTERVAL = int(os.environ.get("DISCOVERY_SCAN_INTERVAL", "5"))
|
|
82
|
+
|
|
83
|
+
if _AUTO_DISCOVER_ENABLED:
|
|
84
|
+
print("🔮 Auto-discovery enabled (scan interval: {}s)".format(_DISCOVERY_SCAN_INTERVAL))
|
|
85
|
+
# Run daemon in background via local_resource
|
|
86
|
+
# Use unique name to avoid conflicts on reload
|
|
87
|
+
local_resource(
|
|
88
|
+
name="service-discovery-daemon-v2",
|
|
89
|
+
serve_cmd="cd {} && python3 discovery/resource_snapshot.py watch".format(os.getcwd()),
|
|
90
|
+
deps=["services/product"],
|
|
91
|
+
auto_init=True,
|
|
92
|
+
labels=["infra", "discovery"],
|
|
93
|
+
)
|
|
94
|
+
print("👁️ Service discovery daemon running")
|
|
95
|
+
print(" └─ New services will be auto-detected and registered")
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
# Inlined constant
|
|
99
|
+
DEFAULTS = {}
|
|
100
|
+
|
|
101
|
+
GLOBAL_CONFIG = {}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
# Copyright (c) 2026 Flisk contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# 🔄 TILT LIFECYCLE - SERVICE STARTUP ORCHESTRATOR
|
|
5
|
+
# =============================================================================
|
|
6
|
+
# Path: .tilt/lifecycle/orchestrator.star
|
|
7
|
+
# Purpose: Service startup sequencing and grace period management
|
|
8
|
+
# =============================================================================
|
|
9
|
+
#
|
|
10
|
+
# This module implements Story 4 - Fix API Gateway 504 Errors:
|
|
11
|
+
# - Service startup sequencing
|
|
12
|
+
# - 30-second grace period configuration
|
|
13
|
+
# - Proper health check orchestration
|
|
14
|
+
# - Zero 504 errors on startup
|
|
15
|
+
#
|
|
16
|
+
# =============================================================================
|
|
17
|
+
|
|
18
|
+
# === INLINED CONSTANTS for pure extension loading ===
|
|
19
|
+
HEALTH_CHECK_PATH = "/health"
|
|
20
|
+
# === END INLINED CONSTANTS ===
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
load('../topologies/platform/docker/networking/traefik_constants.star',
|
|
24
|
+
'TRAEFIK_STARTUP_GRACE_PERIOD',
|
|
25
|
+
'TRAEFIK_RESOURCE_STARTUP_DELAY',
|
|
26
|
+
'TRAEFIK_HEALTHY_THRESHOLD',
|
|
27
|
+
'TRAEFIK_HEALTHCHECK_INTERVAL',
|
|
28
|
+
'TRAEFIK_HEALTHCHECK_TIMEOUT',
|
|
29
|
+
'TRAEFIK_HEALTHCHECK_RETRIES',
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# =============================================================================
|
|
34
|
+
# 📋 STARTUP SEQUENCING CONFIGURATION
|
|
35
|
+
# =============================================================================
|
|
36
|
+
|
|
37
|
+
# Service startup phases - ensure infrastructure is ready before apps
|
|
38
|
+
STARTUP_PHASES = {
|
|
39
|
+
'infra': [
|
|
40
|
+
'TDK_postgres',
|
|
41
|
+
'TDK_nats',
|
|
42
|
+
'TDK_infisical',
|
|
43
|
+
'verdaccio',
|
|
44
|
+
],
|
|
45
|
+
'proxy': [
|
|
46
|
+
'TDK_traefik',
|
|
47
|
+
'TDK_dashy',
|
|
48
|
+
],
|
|
49
|
+
'migrators': [], # Populated dynamically based on enabled services
|
|
50
|
+
'apps': [], # Populated dynamically based on enabled services
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
# Grace period configuration for each service type
|
|
54
|
+
GRACE_PERIOD_CONFIG = {
|
|
55
|
+
'backend': {
|
|
56
|
+
'start_period': '60s', # Time before health checks begin
|
|
57
|
+
'interval': '10s', # Health check interval
|
|
58
|
+
'timeout': '5s', # Health check timeout
|
|
59
|
+
'retries': 6, # Retries before marking unhealthy
|
|
60
|
+
'startup_delay': '10s', # Delay before service receives traffic
|
|
61
|
+
},
|
|
62
|
+
'frontend': {
|
|
63
|
+
'start_period': '30s',
|
|
64
|
+
'interval': '10s',
|
|
65
|
+
'timeout': '5s',
|
|
66
|
+
'retries': 3,
|
|
67
|
+
'startup_delay': '5s',
|
|
68
|
+
},
|
|
69
|
+
'infra': {
|
|
70
|
+
'start_period': '30s',
|
|
71
|
+
'interval': '5s',
|
|
72
|
+
'timeout': '5s',
|
|
73
|
+
'retries': 10,
|
|
74
|
+
'startup_delay': '5s',
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
# =============================================================================
|
|
79
|
+
# 🚀 STARTUP SEQUENCING FUNCTIONS
|
|
80
|
+
# =============================================================================
|
|
81
|
+
|
|
82
|
+
def get_resource_phase(resource_name, resource_config):
|
|
83
|
+
"""Determine which startup phase a service belongs to."""
|
|
84
|
+
# Check if it's an infrastructure service
|
|
85
|
+
if resource_name in STARTUP_PHASES['infra']:
|
|
86
|
+
return 'infra'
|
|
87
|
+
|
|
88
|
+
# Check if it's a proxy service
|
|
89
|
+
if resource_name in STARTUP_PHASES['proxy']:
|
|
90
|
+
return 'proxy'
|
|
91
|
+
|
|
92
|
+
# Check if service has migrator
|
|
93
|
+
resources = resource_config.get('resources', [])
|
|
94
|
+
for res in resources:
|
|
95
|
+
if 'migrator' in res.get('name', ''):
|
|
96
|
+
return 'migrators'
|
|
97
|
+
|
|
98
|
+
# Default to apps
|
|
99
|
+
return 'apps'
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def get_grace_period_config(resource_type):
|
|
103
|
+
"""Get grace period configuration for a service type."""
|
|
104
|
+
return GRACE_PERIOD_CONFIG.get(resource_type, GRACE_PERIOD_CONFIG['backend'])
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def calculate_total_startup_time(resource_type):
|
|
108
|
+
"""
|
|
109
|
+
Calculate total time for a service to be considered healthy.
|
|
110
|
+
Formula: start_period + (retries * interval) + buffer
|
|
111
|
+
"""
|
|
112
|
+
config = get_grace_period_config(resource_type)
|
|
113
|
+
start_period_seconds = _parse_duration(config['start_period'])
|
|
114
|
+
interval_seconds = _parse_duration(config['interval'])
|
|
115
|
+
retries = config['retries']
|
|
116
|
+
|
|
117
|
+
# Total time = start_period + (retries * interval) + 5s buffer
|
|
118
|
+
total_seconds = start_period_seconds + (retries * interval_seconds) + 5
|
|
119
|
+
return total_seconds
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
def _parse_duration(duration_str):
|
|
123
|
+
"""Parse duration string (e.g., '60s', '5m') to seconds."""
|
|
124
|
+
if not duration_str:
|
|
125
|
+
return 0
|
|
126
|
+
|
|
127
|
+
duration_str = str(duration_str).strip().lower()
|
|
128
|
+
|
|
129
|
+
if duration_str.endswith('s'):
|
|
130
|
+
return int(duration_str[:-1])
|
|
131
|
+
elif duration_str.endswith('m'):
|
|
132
|
+
return int(duration_str[:-1]) * 60
|
|
133
|
+
elif duration_str.endswith('h'):
|
|
134
|
+
return int(duration_str[:-1]) * 3600
|
|
135
|
+
else:
|
|
136
|
+
# Assume seconds if no unit
|
|
137
|
+
return int(duration_str)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# =============================================================================
|
|
141
|
+
# 🔍 HEALTH CHECK ORCHESTRATION
|
|
142
|
+
# =============================================================================
|
|
143
|
+
|
|
144
|
+
def get_health_check_config(resource_name, resource_type='backend', port=3000):
|
|
145
|
+
"""
|
|
146
|
+
Generate health check configuration for a service.
|
|
147
|
+
Ensures proper sequencing to prevent 504 errors.
|
|
148
|
+
"""
|
|
149
|
+
config = get_grace_period_config(resource_type)
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
'test': ['CMD', 'curl', '-f', '--max-time', '5',
|
|
153
|
+
'http://localhost:' + str(port) + '/health'],
|
|
154
|
+
'interval': config['interval'],
|
|
155
|
+
'timeout': config['timeout'],
|
|
156
|
+
'retries': config['retries'],
|
|
157
|
+
'start_period': config['start_period'],
|
|
158
|
+
'disable': False,
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def get_traefik_health_check_labels(resource_name, health_path=HEALTH_CHECK_PATH):
|
|
163
|
+
"""
|
|
164
|
+
Generate Traefik health check labels for load balancer.
|
|
165
|
+
These ensure Traefik only routes to healthy services.
|
|
166
|
+
"""
|
|
167
|
+
return {
|
|
168
|
+
'traefik.http.services.{}.loadbalancer.healthcheck.path'.format(resource_name): health_path,
|
|
169
|
+
'traefik.http.services.{}.loadbalancer.healthcheck.interval'.format(resource_name): TRAEFIK_HEALTHCHECK_INTERVAL,
|
|
170
|
+
'traefik.http.services.{}.loadbalancer.healthcheck.timeout'.format(resource_name): TRAEFIK_HEALTHCHECK_TIMEOUT,
|
|
171
|
+
# Disable health check initially during startup grace period
|
|
172
|
+
'traefik.http.services.{}.loadbalancer.healthcheck.disable'.format(resource_name): 'false',
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
# =============================================================================
|
|
177
|
+
# ⏱️ STARTUP DELAY AND SYNCHRONIZATION
|
|
178
|
+
# =============================================================================
|
|
179
|
+
|
|
180
|
+
def get_startup_delay(resource_type='backend'):
|
|
181
|
+
"""Get the startup delay for a service type before it receives traffic."""
|
|
182
|
+
config = get_grace_period_config(resource_type)
|
|
183
|
+
return config['startup_delay']
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
def should_wait_for_dependencies(resource_config):
|
|
187
|
+
"""
|
|
188
|
+
Determine if a service should wait for dependencies before starting.
|
|
189
|
+
Returns list of dependencies to wait for.
|
|
190
|
+
"""
|
|
191
|
+
dependencies = []
|
|
192
|
+
|
|
193
|
+
# Check for database dependency
|
|
194
|
+
resources = resource_config.get('resources', [])
|
|
195
|
+
for res in resources:
|
|
196
|
+
manifest = res.get('_manifest', {})
|
|
197
|
+
features = manifest.get('featuresEnabled', [])
|
|
198
|
+
if manifest.get('databaseName') or 'prisma' in features or 'drizzle' in features:
|
|
199
|
+
dependencies.append('database-management')
|
|
200
|
+
break
|
|
201
|
+
|
|
202
|
+
# Check for NATS dependency
|
|
203
|
+
for res in resources:
|
|
204
|
+
manifest = res.get('_manifest', {})
|
|
205
|
+
if 'nats' in manifest.get('featuresEnabled', []):
|
|
206
|
+
dependencies.append('messaging')
|
|
207
|
+
break
|
|
208
|
+
|
|
209
|
+
return dependencies
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
# =============================================================================
|
|
213
|
+
# 🎯 SERVICE READINESS CHECKS
|
|
214
|
+
# =============================================================================
|
|
215
|
+
|
|
216
|
+
def is_resource_ready(resource_name, resource_config):
|
|
217
|
+
"""
|
|
218
|
+
Check if a service is ready to receive traffic.
|
|
219
|
+
Used by Tilt resource_deps to sequence service startup.
|
|
220
|
+
"""
|
|
221
|
+
phase = get_resource_phase(resource_name, resource_config)
|
|
222
|
+
|
|
223
|
+
# Infrastructure services must be healthy first
|
|
224
|
+
if phase == 'infra':
|
|
225
|
+
return True # These are handled by docker-compose health checks
|
|
226
|
+
|
|
227
|
+
# Proxy services depend on infra
|
|
228
|
+
if phase == 'proxy':
|
|
229
|
+
return 'infra' # Wait for infra phase
|
|
230
|
+
|
|
231
|
+
# Migrators depend on database
|
|
232
|
+
if phase == 'migrators':
|
|
233
|
+
return 'database-management'
|
|
234
|
+
|
|
235
|
+
# Apps depend on their migrators and infrastructure
|
|
236
|
+
return 'migrators' # Wait for migrators
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
# =============================================================================
|
|
240
|
+
# 📊 ORCHESTRATOR PUBLIC API
|
|
241
|
+
# =============================================================================
|
|
242
|
+
|
|
243
|
+
Orchestrator = struct(
|
|
244
|
+
# Phase detection
|
|
245
|
+
get_resource_phase=get_resource_phase,
|
|
246
|
+
|
|
247
|
+
# Grace period configuration
|
|
248
|
+
get_grace_period_config=get_grace_period_config,
|
|
249
|
+
calculate_total_startup_time=calculate_total_startup_time,
|
|
250
|
+
|
|
251
|
+
# Health check configuration
|
|
252
|
+
get_health_check_config=get_health_check_config,
|
|
253
|
+
get_traefik_health_check_labels=get_traefik_health_check_labels,
|
|
254
|
+
|
|
255
|
+
# Startup synchronization
|
|
256
|
+
get_startup_delay=get_startup_delay,
|
|
257
|
+
should_wait_for_dependencies=should_wait_for_dependencies,
|
|
258
|
+
is_resource_ready=is_resource_ready,
|
|
259
|
+
|
|
260
|
+
# Constants
|
|
261
|
+
STARTUP_PHASES=STARTUP_PHASES,
|
|
262
|
+
GRACE_PERIOD_CONFIG=GRACE_PERIOD_CONFIG,
|
|
263
|
+
)
|