airflow: Slack notifications stopped working after upgrade to 3.0.1
Apache Airflow version
3.0.1
If “Other Airflow 2 version” selected, which one?
No response
What happened?
Slack notifications stopped working after upgrade to 3.0.1
What you think should happen instead?
Should send a slack notification to the channel
How to reproduce
with DAG(
dag_id='name',
default_args=default_args,
description='description',
schedule=None,
start_date=datetime.now() - timedelta(days=365),
catchup=False,
max_active_runs=1,
on_failure_callback=[
send_slack_webhook_notification(
slack_webhook_conn_id="slackwebhook",
text="The dag `{{ dag.dag_id }}` failed"
)
]
) as dag:
def fail_task():
raise ValueError("This task fails on purpose.")
task1 = PythonOperator(
task_id='fail_task',
python_callable=fail_task
)
Operating System
debian
Versions of Apache Airflow Providers
apache-airflow-providers-slack 9.0.5
Deployment
Docker-Compose
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 19 (11 by maintainers)
@Nevioxis could you point at some things and if possible raise an appropriate issue? We will take a look.