You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: airflow standalone UI not displaying DAG import errors when SIGSEGV happens #50303
changed the title [-]`airflow standalone` UI not displaying DAG import errors when `SIGSEGV`[/-][+]Bug: `airflow standalone` UI not displaying DAG import errors when `SIGSEGV` happens[/+]on May 7, 2025
This issue is caused by a segmentation fault disrupting the DAG file loading process. When it occurs, the process exits immediately.
Since segmentation faults cannot be caught with try...except, one viable solution would be to load DAG file modules in a subprocess. However, I'm thinking this might increase the time it takes to process each file.
Wdyt, @jedcunningham?
Activity
[-]`airflow standalone` UI not displaying DAG import errors when `SIGSEGV`[/-][+]Bug: `airflow standalone` UI not displaying DAG import errors when `SIGSEGV` happens[/+]ephraimbuddy commentedon May 28, 2025
This issue is caused by a segmentation fault disrupting the DAG file loading process. When it occurs, the process exits immediately.
Since segmentation faults cannot be caught with try...except, one viable solution would be to load DAG file modules in a subprocess. However, I'm thinking this might increase the time it takes to process each file.
Wdyt, @jedcunningham?
ephraimbuddy commentedon May 28, 2025
Reproduction:
Run
airflow dag reserialize --bundle-name dags-folderwith the below file in dags folder: