Repository navigation
[v3-3-test] Stop airflow standalone leaking components when one fails to start (#72464) - #72568
Merged
Merged
Conversation
… to start (#72464) * Stop airflow standalone leaking components when one fails to start SubCommand.process is only assigned once the thread reaches Popen, so a component whose executable could not be spawned leaves the attribute absent rather than empty. Shutdown then raises out of the loop that terminates each component in turn, and every sibling after the failed one keeps running against the metadata database after standalone itself has exited. * Update airflow-core/tests/unit/cli/commands/test_standalone_command.py --------- (cherry picked from commit 8412889) Co-authored-by: Y-C <[email protected]> Co-authored-by: Eason09053360 <[email protected]> Co-authored-by: Henry Chen <[email protected]>
1 task done
henry3260
marked this pull request as ready for review
September 5, 2026 18:05
henry3260
requested review from
bugraoz93,
dheerajturaga,
henry3260 and
potiuk
as code owners
September 5, 2026 18:05
henry3260
approved these changes
Sep 5, 2026
Contributor
Author
|
Hi maintainer, this PR was merged without a milestone set.
|
vatsrahul1001
pushed a commit
that referenced
this pull request
Sep 7, 2026
… to start (#72464) (#72568) * Stop airflow standalone leaking components when one fails to start SubCommand.process is only assigned once the thread reaches Popen, so a component whose executable could not be spawned leaves the attribute absent rather than empty. Shutdown then raises out of the loop that terminates each component in turn, and every sibling after the failed one keeps running against the metadata database after standalone itself has exited. * Update airflow-core/tests/unit/cli/commands/test_standalone_command.py --------- (cherry picked from commit 8412889) Co-authored-by: Y-C <[email protected]> Co-authored-by: Eason09053360 <[email protected]> Co-authored-by: Henry Chen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SubCommand.process is only assigned once the thread reaches Popen, so a
component whose executable could not be spawned leaves the attribute absent
rather than empty. Shutdown then raises out of the loop that terminates each
component in turn, and every sibling after the failed one keeps running
against the metadata database after standalone itself has exited.
(cherry picked from commit 8412889)
Co-authored-by: Y-C [email protected]
Co-authored-by: Eason09053360 [email protected]
Co-authored-by: Henry Chen [email protected]