Repository navigation
[airflow-ctl/v0-1-test] Exit non-zero when airflowctl connections test fails (#76281) - #76319
Merged
shahar1 merged 1 commit intoNov 3, 2026
Merged
Conversation
…t fails (#76281) The API server reports a failed connection test with HTTP 200 and "status": false in the response body. airflowctl exits 1 only on HTTP errors, so a failed test exited 0 and a script could not detect it. `airflow connections test` already exits 1 in this case. (cherry picked from commit 3318b88) Co-authored-by: Andrew Chang <[email protected]>
1 task done
shahar1
marked this pull request as ready for review
November 2, 2026 18:43
shahar1
requested review from
bugraoz93,
dheerajturaga and
potiuk
as code owners
November 2, 2026 18:44
shahar1
approved these changes
Nov 2, 2026
shahar1
pushed a commit
to shahar1/airflow
that referenced
this pull request
Nov 4, 2026
…t fails (apache#76281) (apache#76319) The API server reports a failed connection test with HTTP 200 and "status": false in the response body. airflowctl exits 1 only on HTTP errors, so a failed test exited 0 and a script could not detect it. `airflow connections test` already exits 1 in this case. (cherry picked from commit 3318b88) Co-authored-by: Andrew Chang <[email protected]>
28 of 67 tasks
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.
The API server reports a failed connection test with HTTP 200 and
"status": false in the response body. airflowctl exits 1 only on HTTP
errors, so a failed test exited 0 and a script could not detect it.
airflow connections testalready exits 1 in this case.(cherry picked from commit 3318b88)
Co-authored-by: Andrew Chang [email protected]