stack-orchestrator/tests/k8s-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
..
run-deploy-test.sh fix Python 3.8 type hint in dns_probe + tear down cluster after deploy test 2026-04-28 11:48:41 +00:00
run-restart-test.sh rename restart-hook test artifacts to just restart 2026-04-28 10:52:51 +00:00