Repository navigation
[airflow-ctl/v0-1-test] Escape error text in airflowctl safe_call_command messages (#76264) - #76385
Merged
shahar1 merged 1 commit intoNov 3, 2026
Conversation
…mand messages (#76264) safe_call_command interpolated exception and server error text straight into Rich markup. A message containing a tag-like fragment such as "[/x]" made rich.print raise MarkupError, so the user saw a traceback instead of the real failure and the exit code was no longer 1. Escape the text in the AirflowCtl, protocol, timeout, server response and HTTP status handlers. (cherry picked from commit ab39e95) Co-authored-by: Rishabh <Rishabh00b@gmail.com>
1 task done
shahar1
marked this pull request as ready for review
November 3, 2026 17:27
shahar1
requested review from
bugraoz93,
dheerajturaga and
potiuk
as code owners
November 3, 2026 17:27
shahar1
approved these changes
Nov 3, 2026
shahar1
enabled auto-merge (squash)
November 3, 2026 17:28
shahar1
pushed a commit
to shahar1/airflow
that referenced
this pull request
Nov 4, 2026
…mand messages (apache#76264) (apache#76385) safe_call_command interpolated exception and server error text straight into Rich markup. A message containing a tag-like fragment such as "[/x]" made rich.print raise MarkupError, so the user saw a traceback instead of the real failure and the exit code was no longer 1. Escape the text in the AirflowCtl, protocol, timeout, server response and HTTP status handlers. (cherry picked from commit ab39e95) Co-authored-by: Rishabh <Rishabh00b@gmail.com>
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.
safe_call_command interpolated exception and server error text straight
into Rich markup. A message containing a tag-like fragment such as
"[/x]" made rich.print raise MarkupError, so the user saw a traceback
instead of the real failure and the exit code was no longer 1.
Escape the text in the AirflowCtl, protocol, timeout, server response
and HTTP status handlers.
(cherry picked from commit ab39e95)
Co-authored-by: Rishabh Rishabh00b@gmail.com