Taragolis commented on issue #39762: URL: https://github.com/apache/airflow/issues/39762#issuecomment-2127406314
Check on both 2.9.0 and 2.9.1 by use [sample docker compose ](filehttps://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#fetching-docker-compose-yaml) With this DAG it worked as expected ```python from __future__ import annotations from datetime import datetime, timezone from airflow.decorators import task from airflow.models.dag import DAG raise RuntimeError("Boooom!") START_DATE = datetime(2024, 2, 29, tzinfo=timezone.utc) with DAG("issue_39762", schedule="@once", tags=["issue", "39762", "dag-import"], start_date=START_DATE): @task def do_nothing(): ... do_nothing() ``` Gone from both DB and UI as soon as I comment out / remove `raise RuntimeError("Boooom!")` --- Expected to see some examples and more information about your configurations -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
