-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed as not planned
Labels
affected_version:3.0Issues Reported for 3.0Issues Reported for 3.0area:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDKarea:task-sdkkind:bugThis is a clearly a bugThis is a clearly a bugpending-responsestaleStale PRs per the .github/workflows/stale.yml policy fileStale PRs per the .github/workflows/stale.yml policy file
Description
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
niklasr22, htamakos and gabrielwol
Metadata
Metadata
Assignees
Labels
affected_version:3.0Issues Reported for 3.0Issues Reported for 3.0area:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDKarea:task-sdkkind:bugThis is a clearly a bugThis is a clearly a bugpending-responsestaleStale PRs per the .github/workflows/stale.yml policy fileStale PRs per the .github/workflows/stale.yml policy file