The GitHub Actions job "Tests" on airflow.git/fix/metastore-expunge-all-62244 has failed. Run started by GitHub user shivaam (triggered by shivaam).
Head commit for run: 441efcc30082c9e4b1e67719b71015185f2a2341 / Shivam Rastogi <[email protected]> fix: Replace expunge_all with expunge in MetastoreBackend MetastoreBackend.get_connection() and get_variable() called session.expunge_all() to detach the returned object from the session. This removed all objects from the shared scoped session, including unrelated pending objects added by other code sharing the same thread-local session. This caused team-scoped DAG bundles to silently fail to persist when sync_bundles_to_db triggered a connection lookup through S3DagBundle's view_url_template, which initializes an S3Hook and calls get_connection. Replace expunge_all() with expunge(obj) to only detach the specific queried Connection or Variable, leaving all other session state intact. closes: #62244 Report URL: https://github.com/apache/airflow/actions/runs/22811100937 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
