vatsrahul1001 opened a new pull request, #77816: URL: https://github.com/apache/airflow/pull/77816
Path.relative_to raised ValueError for log files outside [logging] base_log_folder (such as a Dag processor log directory configured elsewhere, or a '<stderr>' handle). upload_to_remote hid this with a broad except, but remote-log processors that called the function directly crashed the Dag processor, so each provider had to add its own guard. (cherry picked from commit 55b3c58dea7406ca53cbad92b40941cdead9324c) Co-authored-by: Shahar Epstein <[email protected]> --- Clean cherry-pick of the merge commit, no conflicts. **Verified locally:** task-sdk test_log.py, 8 passed; ruff clean. Backport of #75572. Generated-by: Claude Code 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
