You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/23 05:30:50 UTC

[GH] (airflow/backport-7c3eacc-v3-2-test): Workflow run "Tests" failed!

The GitHub Actions job "Tests" on airflow.git/backport-7c3eacc-v3-2-test has failed.
Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).

Head commit for run:
98ceed3be31cc3f9a6767c03e10d08b936c2ec8a / Gourav N S S <go...@gmail.com>
[v3-2-test] Fix UI log fetch crash when ti.hostname is empty (#64285)

* Fix UI log fetch crash when ti.hostname is empty

When tasks fail to report their hostname (e.g., due to cellular worker proxy overrides dropping the internal API patched payload), the TaskInstance hostname defaults to empty. This causes _get_log_retrieval_url to construct an invalid URL ('http://:8793/...') which completely crashes log serving with an 'Invalid URL... No host supplied' error from python requests.

closes: #64263

* Fix UI log fetch crash when ti.hostname is empty: address reviewer feedback

* Fix mypy static checks and add hostname_callable config help

* Update airflow-core/src/airflow/utils/log/file_task_handler.py

Co-authored-by: Jason(Zhe-You) Liu <68...@users.noreply.github.com>

---------
(cherry picked from commit 7c3eacc3cfb9104128def18faed221fd4f4b2cd3)

Co-authored-by: Gourav N S S <go...@gmail.com>
Co-authored-by: Jason(Zhe-You) Liu <68...@users.noreply.github.com>

Report URL: https://github.com/apache/airflow/actions/runs/24818079118

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org