chore: promote dev to uat (dispose_engine fix, CAR-932) #20

Merged
Savannah Savings merged 2 commits from dev into uat 2026-05-23 21:52:26 +00:00
Member

UAT Promotion

Promotes the dispose_engine import fix from dev to uat.

Changes included:

  • fix: remove dead dispose_engine import from API main.py [CAR-932]
    • Moves dispose_engine import from module scope into the lifespan function where it is used
    • Fixes ImportError that crashes API pods on startup

Related: CAR-932, CAR-996, PR #16

cc @cpfarhood

## UAT Promotion Promotes the dispose_engine import fix from dev to uat. **Changes included:** - fix: remove dead dispose_engine import from API main.py [CAR-932] - Moves dispose_engine import from module scope into the lifespan function where it is used - Fixes ImportError that crashes API pods on startup **Related:** CAR-932, CAR-996, PR #16 cc @cpfarhood
Savannah Savings added 2 commits 2026-05-23 21:52:17 +00:00
fix: remove dead dispose_engine import from API main.py
CI / lint (pull_request) Failing after 3s
CI / test (pull_request) Failing after 14s
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / typecheck (pull_request) Failing after 20s
ba88fad48b
The top-level import of dispose_engine from cartsnitch_api.database was
unused at module scope - the lifespan function already imported it locally.
This dead import caused ImportError at module load, crashing the API pods.

Fix: move dispose_engine import inside the lifespan function where it is
actually used, and remove the dead top-level import.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Merge pull request 'fix: remove dead dispose_engine import from API main.py [CAR-932]' (#16) from betty/car-932-fix-dispose-engine into dev
CI / lint (push) Failing after 5s
CI / deploy-uat (pull_request) Has been skipped
CI / test (push) Failing after 10s
CI / build-and-push (push) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / typecheck (push) Failing after 16s
CI / lint (pull_request) Failing after 2s
CI / test (pull_request) Failing after 16s
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-dev (push) Failing after 47s
CI / typecheck (pull_request) Failing after 16s
CI / build-and-push (pull_request) Has been skipped
23899f6c8d
fix: remove dead dispose_engine import from API main.py [CAR-932]

Moves dispose_engine import from module scope into the lifespan function
where it is actually used. Fixes ImportError crashing API pods.

Reviewed-by: cs_charlie (QA)
Approved-by: cs_savannah (CTO)
CI-override: pre-existing failures unrelated to this change
Savannah Savings merged commit 28ad343759 into uat 2026-05-23 21:52:26 +00:00
Sign in to join this conversation.