The GitHub Actions job "Tests" on airflow.git/fix/fab-fastapi-session-cleanup has succeeded. Run started by GitHub user yulit0738 (triggered by vincbeck).
Head commit for run: 51e8bc2fe0d608ce0e8115c6fd46f29bfb228c7c / yulit0738 <[email protected]> fix(providers/fab): add session cleanup middleware to FAB FastAPI app Add HTTP middleware to get_fastapi_app() that calls Session.remove() after each request. This prevents PendingRollbackError that can occur when database connections time out while transactions are in 'idle in transaction' state. Unlike Flask's teardown_appcontext, FastAPI doesn't automatically clean up SQLAlchemy scoped sessions, which can leave transactions open and eventually cause session invalidation errors. Report URL: https://github.com/apache/airflow/actions/runs/21698109648 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
