Repository navigation
[airflow-ctl/v0-1-test] Keep airflowctl stdout parseable when a request is retried or fails (#76347) - #76380
Merged
shahar1 merged 1 commit intoNov 3, 2026
Conversation
…st is retried or fails (#76347) The API client logs "Server error" and the tenacity retry warning through structlog, which prints to stdout when nothing configures it. A single retried 5xx then puts two log lines in front of the `-o json` output, while the command still exits 0. The shared error handler also printed its messages to stdout. #76133 and #76134 moved the messages of a few commands to stderr, but these two paths are shared by every command. (cherry picked from commit 6f7cb34) Co-authored-by: Andrew Chang <[email protected]>
1 task done
shahar1
marked this pull request as ready for review
November 3, 2026 16:05
shahar1
requested review from
bugraoz93,
dheerajturaga and
potiuk
as code owners
November 3, 2026 16:05
shahar1
approved these changes
Nov 3, 2026
shahar1
enabled auto-merge (squash)
November 3, 2026 16:05
shahar1
pushed a commit
to shahar1/airflow
that referenced
this pull request
Nov 4, 2026
…st is retried or fails (apache#76347) (apache#76380) The API client logs "Server error" and the tenacity retry warning through structlog, which prints to stdout when nothing configures it. A single retried 5xx then puts two log lines in front of the `-o json` output, while the command still exits 0. The shared error handler also printed its messages to stdout. apache#76133 and apache#76134 moved the messages of a few commands to stderr, but these two paths are shared by every command. (cherry picked from commit 6f7cb34) 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 client logs "Server error" and the tenacity retry warning
through structlog, which prints to stdout when nothing configures it.
A single retried 5xx then puts two log lines in front of the
-o jsonoutput, while the command still exits 0. The shared errorhandler also printed its messages to stdout. #76133 and #76134 moved
the messages of a few commands to stderr, but these two paths are
shared by every command.
(cherry picked from commit 6f7cb34)
Co-authored-by: Andrew Chang [email protected]