stack-orchestrator/stack_orchestrator
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
..
build Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
data rename restart-hook test artifacts to just restart 2026-04-28 10:52:51 +00:00
deploy fix Python 3.8 type hint in dns_probe + tear down cluster after deploy test 2026-04-28 11:48:41 +00:00
repos Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
__main__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
base.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
command_types.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
constants.py k8s: manage Caddy ingress image via spec (so-p3p) (#749) 2026-04-21 14:40:39 +05:30
ids.py fix: black formatting, line length, pyright type narrowing 2026-04-02 05:22:25 +00:00
main.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
opts.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
update.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
util.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
version.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00