The GitHub Actions job "Tests" on airflow.git/2512/fix_priority_weight has failed. Run started by GitHub user Dev-iL (triggered by Dev-iL).
Head commit for run: a9a0da2c8978195c2729e2cd99d6855e50a3f19b / Dev-iL <[email protected]> Fix priority_weight NOT NULL constraint in provider tests After commit 60b4ed48e1 ("Remove PriorityWeightStrategy reference in SDK"), SDK operators store weight_rule as a string instead of a PriorityWeightStrategy object. When TaskInstance.refresh_from_task() calls task.weight_rule.get_weight(), it fails silently due to contextlib.suppress(Exception), leaving priority_weight unset. Fix by wrapping SDK operators with create_scheduler_operator() before passing to TaskInstance, matching the pattern used in core tests. Report URL: https://github.com/apache/airflow/actions/runs/20529088368 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
