The GitHub Actions job "Tests (ARM)" on airflow.git/main has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 990372e256afe48eb10befefff7db38957b07a83 / Kaxil Naik <[email protected]> Fix scheduler crashloop from KubernetesExecutor completed-pod adoption (#67850) The completed-pod adoption helper _alive_other_scheduler_job_ids (added in #66400) opened a scoped create_session(). try_adopt_task_instances runs inside the scheduler thread, so a scoped session resolves to the scheduler own in-flight session from adopt_or_reset_orphaned_tasks. The context manager commit()/close() on exit then committed the scheduler transaction early (releasing its FOR UPDATE SKIP LOCKED row locks) and detached the orphaned TaskInstances it still held, so the reset path crashed with DetachedInstanceError and the scheduler crashlooped (#67813). Use an independent create_session(scoped=False) so the helper never touches the caller transaction. Report URL: https://github.com/apache/airflow/actions/runs/26781100889 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
