add/local-test-runner #996

Merged
AFDudley merged 3 commits from add/local-test-runner into main 2026-03-09 20:04:59 +00:00

3 Commits

Author SHA1 Message Date
A. F. Dudley
8a864f7c67 feat: add local test runner script
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 1m54s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m38s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 4m55s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 6m13s
Smoke Test / Run basic test suite (pull_request) Successful in 6m56s
Webapp Test / Run webapp test suite (pull_request) Successful in 7m17s
Creates a temporary venv, installs shiv, builds the laconic-so package,
and runs any test script in isolation. Cleans up on exit.

Usage: ./tests/scripts/run-test-local.sh tests/webapp-test/run-webapp-test.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 15:58:04 +00:00
A. F. Dudley
eae4c3cdff feat(k8s): per-service resource layering in deployer
Resolve container resources using layered priority:
1. spec.yml per-container override (resources.containers.<name>)
2. Compose file deploy.resources block
3. spec.yml global resources
4. DEFAULT_CONTAINER_RESOURCES fallback

This prevents monitoring sidecars from inheriting the validator's
resource requests (e.g., 256G memory). Each service gets appropriate
resources from its compose definition unless explicitly overridden.

Note: existing deployments with a global resources block in spec.yml
can remove it once compose files declare per-service defaults.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:26:10 +00:00
A. F. Dudley
8a8b882e32 bug: deploy create doesn't auto-generate volume mappings for new pods
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 09:56:28 +00:00