github-actions[bot] opened a new pull request, #72832: URL: https://github.com/apache/airflow/pull/72832
* Fix airflow info --file-io uploading an empty report The report was read back from rich's recording buffer, but the render ran inside a capture, and rich skips the record buffer while a capture is active. The command therefore uploaded a zero-byte file and reported success, for a command whose only purpose is producing that report. The console is built without a color system because the result is written to a file, where escape codes would be noise rather than formatting. * Update airflow-core/tests/unit/cli/commands/test_info_command.py Co-authored-by: rjgoyln <[email protected]> * Pin the uploaded report width so it does not depend on the terminal The console only falls back to a fixed width when stdout is not a tty, so a report generated from a real terminal was laid out at that terminal's width and long path values were cut off in the uploaded file. --------- (cherry picked from commit 90787d5a2da4f2efa52c9274d4fff06e2087be1f) Co-authored-by: Y-C <[email protected]> Co-authored-by: Eason09053360 <[email protected]> Co-authored-by: Henry Chen <[email protected]> Co-authored-by: rjgoyln <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
