The GitHub Actions job "Tests (AMD)" on airflow.git/2605/ti_heartbeat_async has failed. Run started by GitHub user Dev-iL (triggered by Dev-iL).
Head commit for run: 8d811eaed1a385c660a1debf3b863f84a097bbe4 / Dev-iL <[email protected]> Use async DB session for Execution API task-instance heartbeat Convert ti_heartbeat from the synchronous SessionDep to the async AsyncSessionDep, adopting the async metadata engine that already ships in Airflow 3.x. The route's behavior is unchanged: same 204/404/409/410 responses, same fast-path UPDATE / SELECT ... FOR UPDATE fallback, same last_heartbeat_at semantics, no version bump. Heartbeat's async writes exposed a test-harness issue on Postgres: the async engine binds its connection pool to the event loop that created it, while the test harness builds a fresh app and loop per test, so a pooled connection from a prior test's closed loop was reused. Add a reconfigure_async_db_engine autouse fixture to the heartbeat tests that rebuilds the async session per test, mirroring the existing workaround in TestWaitDagRun. Document the asyncpg + transaction-mode pgbouncer prepared-statement caveat in the sql_alchemy_connect_args_async config reference and the PGBouncer setup guide; engine-default hardening is deferred. Report URL: https://github.com/apache/airflow/actions/runs/26876521248 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
