Remove sla_miss_callback from dag_kwargs for Airflow >= 3.1.0#586
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #586 +/- ##
==========================================
- Coverage 93.93% 93.86% -0.08%
==========================================
Files 13 13
Lines 1121 1124 +3
==========================================
+ Hits 1053 1055 +2
- Misses 68 69 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tatiana
left a comment
There was a problem hiding this comment.
Thanks for fixing this, @jroachgolf84 ! I'll wait to merge when we are in a IST friendly time so @pankajastro can review it before we merge.
pankajkoti
left a comment
There was a problem hiding this comment.
LGTM. But @pankajastro, I think we need a fix on how we evaluate and set dag_kwargs. If the user is not setting sla_miss_callback and other such params in the YAML, I believe we should not add it to the kwargs at all. If the parameters exist in the Airflow DAG init, let Airflow set the default values instead of us setting the defaults to None.
I agree that we should not add a default value in this lib for DAG params, but I feel this is out of scope for this PR. I have created an issue to track it: #587 |
sla_miss_callback from dag_kwargs for Airflow >= 3.1.0
Addressed feedback from PR: #586
## [1.0.1] - 2025-09-25 ### Fixed - Remove sla_miss_callback from dag_kwargs for Airflow >= 3.1.0 by @jroachgolf84 in [#586](#586) - Add logs for the removal of sla_miss_callback by @pankajastro in [#588](#588) ### Docs - docs: remove trailing slash from AIRFLOW_HOME example by @jx2lee in [#582](#582) ### Other Changes - Restrict the hatch version to fix the CI by @pankajastro in [#585](#585) - Bump GitHub Actions dependencies by @dependabot in [#578](#578), [#579](#579), [#580](#580) and [#581](#581)
I was notified of the following issue. This PR aims to fix that: