mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
deploy_terraform.yml only triggers on push to dev/prod — by the time it runs, the change has already merged to main and rolled into dev. That's exactly how the size regression sat undetected for weeks: it only ever surfaced deep inside terraform apply on dev. Drop the fast_api_lambda_zip_size_check job from deploy_terraform.yml and instead add tests/test_lambda_zip_size.py, which runs backend/app/requirements/check_lambda_zip_size.py as part of the existing pytest tests/ suite. ddd_tests.yml already runs that suite on `pull_request: branches: ["**"]`, so this now fails the PR before anything merges to main, rather than failing the dev deploy after. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| _build_image.yml | ||
| _deploy_lambda.yml | ||
| _smoke_test_lambda.yml | ||
| cml.yml | ||
| ddd_tests.yml | ||
| deploy_fastapi_backend.yml | ||
| deploy_terraform.yml | ||
| integration_tests.yml | ||
| lambda_smoke_tests.yml | ||
| protect_releases.yml | ||
| unit_tests.yml | ||