Model/.github/workflows
Jun-te Kim adb1bf4b56 Log GITHUB_SHA on /health; move zip-size gate to its own PR workflow
/health already returned GITHUB_SHA in its response but never logged
it, and the fastapi lambda's Terraform environment never actually set
GITHUB_SHA — so every health check response contained "unknown" in
production. Wire var.github_sha through the fastapi lambda module
(default "unknown" for local/other invocations) via a new
TF_VAR_github_sha env var set from `github.sha` in
_deploy_lambda.yml's Terraform Plan step, and log it on every /health
call so a request in CloudWatch can be tied back to the deploy that
served it.

Also fix the zip-size gate added for PR #1469: putting it in
tests/test_lambda_zip_size.py (run via the Docker-based ddd_tests.yml
suite) broke CI, because Dockerfile.test's build context excludes
deployment/* (.dockerignore), so check_lambda_zip_size.py couldn't
find variables.tf to read zip_excludes from inside that container.
Move the check to its own lightweight workflow,
check_lambda_zip_size.yml, triggered on pull_request into main — a
plain checkout (no Docker build) has the full repo, so the check
works, runs fast, and still gates merges to main before a regression
can roll into the dev deploy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-06 13:43:36 +00:00
..
_build_image.yml epc token added 2026-05-20 15:43:41 +00:00
_deploy_lambda.yml Log GITHUB_SHA on /health; move zip-size gate to its own PR workflow 2026-07-06 13:43:36 +00:00
_smoke_test_lambda.yml smoke tests 2026-05-14 16:49:45 +00:00
check_lambda_zip_size.yml Log GITHUB_SHA on /health; move zip-size gate to its own PR workflow 2026-07-06 13:43:36 +00:00
cml.yml Update cml.yml 2023-09-05 00:08:53 +01:00
ddd_tests.yml ddd tests 2026-06-02 15:31:42 +00:00
deploy_fastapi_backend.yml ci: disable integration/deploy/protect workflows (Actions minutes) 2026-06-24 07:56:42 +00:00
deploy_terraform.yml Move the fastapi Lambda zip-size gate into the PR test suite 2026-07-06 13:28:24 +00:00
integration_tests.yml ci: disable integration/deploy/protect workflows (Actions minutes) 2026-06-24 07:56:42 +00:00
lambda_smoke_tests.yml remove smoke tests from gh workflows 2026-06-24 11:35:30 +00:00
protect_releases.yml ci: disable integration/deploy/protect workflows (Actions minutes) 2026-06-24 07:56:42 +00:00
unit_tests.yml ci: disable unit_tests.yml workflow (Actions minutes) 2026-06-24 07:54:07 +00:00