Skip to content

[airflow-ctl/v0-1-test] Exit non-zero when airflowctl connections test fails (#76281) - #76319

Merged
shahar1 merged 1 commit into
airflow-ctl/v0-1-testfrom
backport-3318b88-airflow-ctl/v0-1-test
Nov 3, 2026
Merged

shahar1 merged 1 commit into
airflow-ctl/v0-1-testfrom
backport-3318b88-airflow-ctl/v0-1-test

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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]

…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]>
@shahar1
shahar1 marked this pull request as ready for review November 2, 2026 18:43
@shahar1
shahar1 merged commit dd8b708 into airflow-ctl/v0-1-test Nov 3, 2026
14 checks passed
@shahar1
shahar1 deleted the backport-3318b88-airflow-ctl/v0-1-test branch November 3, 2026 17:53
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants