-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
affected_version:3.0Issues Reported for 3.0Issues Reported for 3.0area:CLIarea:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bug
Milestone
Description
Apache Airflow version
3.0.0
Python 3.10.16 & 3.12.8
If "Other Airflow 2 version" selected, which one?
No response
What happened?
The Airflow UI (when running airflow standalone) and airflow dags list-import-errors currently do not display the exception when a SIGSEGV happens.
What you think should happen instead?
I believe the Airflow UI (when running airflow standalone) and airflow dags list-import-errors should display the exception when SIGSEGV happens.
How to reproduce
This was initially observed in astronomer/astronomer-cosmos#1754
An agnostic way to reproduce it, though, is:
Create a example_dag.py in the DAGs folder with the following content:
import signal
import os
os.kill(os.getpid(), signal.SIGSEGV)
Run:
airflow dag-processor
Observe there is an error:
dag-processor | [2025-05-07T14:50:52.962+0100] {manager.py:748} INFO -
dag-processor | ================================================================================
dag-processor | DAG File Processing Stats
dag-processor | Bundle File Path PID Current Duration # DAGs # Errors Last Duration Last Run At
dag-processor | ----------- ------------------- ----- ------------------ -------- ---------- --------------- -------------------
dag-processor | dags-folder example_dag.py 0 1 0.21s 2025-05-07T13:50:22
Run:
airflow standalone
Open the Airflow UI via web browser:
http://localhost:8080/dags
And don't see any errors:
Running:
airflow dags list-import-errors
Gives:
No data found
Operating System
MacOS 15.4.1
Versions of Apache Airflow Providers
N/A
Deployment
Other
Deployment details
Local standalone
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
Metadata
Metadata
Assignees
Labels
affected_version:3.0Issues Reported for 3.0Issues Reported for 3.0area:CLIarea:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bug
