arturzangiev opened a new issue, #50754:
URL: https://github.com/apache/airflow/issues/50754

   ### 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
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to