Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Feb 6, 2023

The #28514 change added capability of getting trace errors for the command by swapping redirection of stderr and stdout, but debug output for github_output file remoined in stderr.

This was no problem in most cases as rich did not produce color codes for stderr redirection and github_output was able to parse it properly - and each line in the GITHHUB_OUTPUT was simply duplicated.

However, when number of labels was big, rich split the message and it caused Invalid format message.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk force-pushed the fix-console-output-for-workflow-info branch from 9f99953 to 6c8f12b Compare February 6, 2023 10:17
@potiuk potiuk requested a review from kaxil as a code owner February 6, 2023 10:17
The apache#28514 change added capability of getting trace errors for
the command by swapping redirection of stderr and stdout, but
debug output for github_output file remoined in stderr.

This was no problem in most cases as rich did not produce color
codes for stderr redirection and github_output was able to parse
it properly - and each line in the GITHHUB_OUTPUT was simply
duplicated.

However, when number of labels was big, rich split the message and
it caused Invalid format message.
@potiuk potiuk force-pushed the fix-console-output-for-workflow-info branch from 6c8f12b to f987a96 Compare February 6, 2023 10:18
@potiuk
Copy link
Member Author

potiuk commented Feb 6, 2023

There is a different error - but the error is due to something that started to happen over the weekend wiith addding github remote. I am trying to see what it is in #29385

@potiuk
Copy link
Member Author

potiuk commented Feb 6, 2023

We can merge that one now. Looking at the git version issue now in #29386. It is certainly not related and at least we will find out if this one work with other PRs as well.

@potiuk potiuk merged commit 9f1f026 into apache:main Feb 6, 2023
@potiuk potiuk deleted the fix-console-output-for-workflow-info branch February 6, 2023 14:58
@potiuk potiuk added this to the Airflow 2.5.2 milestone Feb 8, 2023
@pierrejeambrun pierrejeambrun added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Mar 6, 2023
pierrejeambrun pushed a commit that referenced this pull request Mar 7, 2023
The #28514 change added capability of getting trace errors for
the command by swapping redirection of stderr and stdout, but
debug output for github_output file remoined in stderr.

This was no problem in most cases as rich did not produce color
codes for stderr redirection and github_output was able to parse
it properly - and each line in the GITHHUB_OUTPUT was simply
duplicated.

However, when number of labels was big, rich split the message and
it caused Invalid format message.

(cherry picked from commit 9f1f026)
pierrejeambrun pushed a commit that referenced this pull request Mar 8, 2023
The #28514 change added capability of getting trace errors for
the command by swapping redirection of stderr and stdout, but
debug output for github_output file remoined in stderr.

This was no problem in most cases as rich did not produce color
codes for stderr redirection and github_output was able to parse
it properly - and each line in the GITHHUB_OUTPUT was simply
duplicated.

However, when number of labels was big, rich split the message and
it caused Invalid format message.

(cherry picked from commit 9f1f026)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants