Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

Add signal handler to catch segmentation faults that occur while loading DAG modules and record them as import errors

Closes: #50303

Screenshot 2025-05-28 at 18 14 57

@jedcunningham jedcunningham added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label May 28, 2025
@jedcunningham jedcunningham added this to the Airflow 3.0.2 milestone May 28, 2025
Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors
@ephraimbuddy ephraimbuddy force-pushed the fix-no-import-error-when-sigsegv branch from 8ab8023 to 0558ac1 Compare May 28, 2025 22:02
@ephraimbuddy ephraimbuddy merged commit 320f898 into apache:main May 29, 2025
52 checks passed
@ephraimbuddy ephraimbuddy deleted the fix-no-import-error-when-sigsegv branch May 29, 2025 07:35
github-actions bot pushed a commit that referenced this pull request May 29, 2025
* Handle SIGSEGV signals during DAG file imports

Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors

* Fix valueerror that occured while running API tests
(cherry picked from commit 320f898)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request May 29, 2025
)

* Handle SIGSEGV signals during DAG file imports

Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors

* Fix valueerror that occured while running API tests
(cherry picked from commit 320f898)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
jedcunningham pushed a commit that referenced this pull request May 30, 2025
…51189)

* Handle SIGSEGV signals during DAG file imports

Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors

* Fix valueerror that occured while running API tests
(cherry picked from commit 320f898)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
kaxil pushed a commit that referenced this pull request Jun 3, 2025
…51189)

* Handle SIGSEGV signals during DAG file imports

Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors

* Fix valueerror that occured while running API tests
(cherry picked from commit 320f898)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
* Handle SIGSEGV signals during DAG file imports

Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors

* Fix valueerror that occured while running API tests
jose-lehmkuhl pushed a commit to jose-lehmkuhl/airflow that referenced this pull request Jul 11, 2025
* Handle SIGSEGV signals during DAG file imports

Add signal handler to catch segmentation faults that occur while loading
DAG modules and record them as import errors

* Fix valueerror that occured while running API tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: airflow standalone UI not displaying DAG import errors when SIGSEGV happens

2 participants