github-actions[bot] opened a new pull request, #75463: URL: https://github.com/apache/airflow/pull/75463
RedactedIO exists so that output produced by user code is masked before it reaches stdout, and its docstring says "Writes to stdout will be redacted". write() applied redact(); writelines() forwarded straight to the target, so a secret written that way was printed verbatim. The one call site is task_test() in cli/commands/task_command.py, so this is reachable from `airflow tasks test`, which deliberately routes task output up to the console handler for local debugging. Non-string elements now stringify rather than raising TypeError, matching what write() already does. (cherry picked from commit 3d5c533cccc75a4c9fb2093782fa2fbe67747be1) Co-authored-by: Mahathir Mohammad Shuvo <[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]
