stack-orchestrator/stack_orchestrator/deploy
pranav 633feba3ea fix Python 3.8 type hint in dns_probe + tear down cluster after deploy test
dns_probe.py used 'list[str]' (PEP 585 generic alias for builtins),
which only parses on Python 3.9+. CI runs Python 3.8, so any caller
of 'deployment restart' (which lazy-imports dns_probe) crashed at
module load with 'TypeError: type object is not subscriptable'. Use
'List[str]' from typing to keep 3.8 compatibility, matching the rest
of the file's imports.

run-deploy-test.sh previously ended with --skip-cluster-management,
leaving the Kind cluster running for the next CI step to inherit.
Switch the final stop to --perform-cluster-management so subsequent
tests (e.g. run-restart-test.sh) start from a clean host, and replace
the now-trivial namespace assertion with a real check that the kind
cluster is actually gone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 11:48:41 +00:00
..
compose so-l2l: in-place stop/restart via label-scoped cleanup (#743) 2026-04-16 12:10:04 +05:30
k8s add e2e test for hook re-copy on restart 2026-04-28 10:32:18 +00:00
webapp Merge wd-a7b: cluster-id/namespace naming, jobs, multi-cert, secrets 2026-04-01 18:22:07 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy.py so-l2l: in-place stop/restart via label-scoped cleanup (#743) 2026-04-16 12:10:04 +05:30
deploy_types.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deploy_util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deployer.py so-l2l: in-place stop/restart via label-scoped cleanup (#743) 2026-04-16 12:10:04 +05:30
deployer_factory.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deployment.py so-l2l: in-place stop/restart via label-scoped cleanup (#743) 2026-04-16 12:10:04 +05:30
deployment_context.py add e2e test for hook re-copy on restart 2026-04-28 10:32:18 +00:00
deployment_create.py add e2e test for hook re-copy on restart 2026-04-28 10:32:18 +00:00
dns_probe.py fix Python 3.8 type hint in dns_probe + tear down cluster after deploy test 2026-04-28 11:48:41 +00:00
images.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
spec.py k8s: manage Caddy ingress image via spec (so-p3p) (#749) 2026-04-21 14:40:39 +05:30
stack.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00