Commit graph

18 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
b62901a9de The distributor coexists with both table stacks and mounts at /v1/modelling 🟪
DB access via parameterised SQL, not the infrastructure SQLModel mirrors:
importing those alongside the legacy backend.app.db.models mirrors of the
same tables double-registers them in the shared metadata and crashes the
app at import. Contained to the modelling package until the DDD cut-over.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 12:15:31 +00:00
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
Jun-te Kim
51460d1cd3 route at th ebeginnign 2026-05-13 14:47:24 +00:00
Jun-te Kim
54864bf102 resolve merge conflict 2026-05-13 14:22:04 +00:00
Jun-te Kim
c53d8b2a33 basic end up check 2026-05-10 21:07:16 +00:00
Jun-te Kim
4f45eeb3e9 save 2026-05-07 15:55:44 +00:00
Jun-te Kim
7caa7c476a added bulk address uprn route 2026-04-20 13:06:31 +00:00
47be3ffea3 added tasks interface 2025-11-14 14:26:17 +00:00
5ab4d5a6d8 add my code to main 2025-11-14 13:36:09 +00:00
Khalim Conn-Kowlessar
d3ce1ceed8 added more detailed logging to help catch errors 2025-04-14 13:18:30 +01:00
Khalim Conn-Kowlessar
7a091842c9 Trying to get /backend and /model_data working together 2023-07-18 16:45:11 +01:00
Khalim Conn-Kowlessar
dbe0a27869 added actual jwe decrpytion to fastapi 2023-07-17 17:01:07 +01:00
Khalim Conn-Kowlessar
6d346c47b6 Added api versioning 2023-07-09 15:20:20 +01:00
Khalim Conn-Kowlessar
09df555b2b resolved local api validation flow 2023-07-07 10:37:10 +01:00
Khalim Conn-Kowlessar
6193948b2f Dockerfile + set up mangum 2023-07-07 10:23:20 +01:00
Khalim Conn-Kowlessar
33b681bace Added the local endpoint 2023-07-07 09:49:33 +01:00
Khalim Conn-Kowlessar
271fb9de3a Setting up jwt auth 2023-07-06 11:52:38 +01:00
Khalim Conn-Kowlessar
f7fe90b185 Major project restructure and setup 2023-07-06 11:33:13 +01:00