Merge pull request 'Fix API crash: remove dead dispose_engine import' (#266) from fix/dispose-engine-import into dev
CI / build-and-push (push) Has been skipped
CI / build-and-push-api (pull_request) Has been skipped
CI / build-and-push (pull_request) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / build-and-push-receiptwitness (pull_request) Has been skipped
CI / build-and-push-auth (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / deploy-dev (push) Failing after 1m46s
CI / test (push) Failing after 1m38s
CI / test (pull_request) Failing after 1m27s
CI / lighthouse (pull_request) Has been skipped
CI / audit (pull_request) Failing after 1m31s
CI / e2e (pull_request) Failing after 1m34s
CI / build-and-push-api (push) Has been skipped
CI / lint (push) Failing after 1m29s
CI / audit (push) Failing after 1m31s
CI / lighthouse (push) Has been skipped
CI / e2e (push) Failing after 1m36s
CI / build-and-push-receiptwitness (push) Has been skipped
CI / build-and-push-auth (push) Has been skipped
CI / lint (pull_request) Failing after 1m30s

Merge PR #266: Fix API crash — remove dead dispose_engine import

Removes non-existent dispose_engine import from main.py that caused ImportError and CrashLoopBackOff on API pods.

Reviewed-by: Checkout Charlie (QA PASS)
Approved-by: Savannah Savings (CTO)
This commit was merged in pull request #266.
This commit is contained in:
2026-05-23 15:52:33 +00:00
-1
View File
@@ -6,7 +6,6 @@ from fastapi import APIRouter, FastAPI
from cartsnitch_api.auth.routes import router as auth_router
from cartsnitch_api.cache import cache_client
from cartsnitch_api.database import dispose_engine
from cartsnitch_api.middleware.cors import add_cors_middleware
from cartsnitch_api.middleware.error_handler import add_error_handlers, add_error_monitor_middleware
from cartsnitch_api.middleware.rate_limit import add_rate_limit_middleware