You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/05/10 18:46:33 UTC
(airflow) branch main updated: Surface LogStreamAccumulator temp-file removal failures as warnings (#66663)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 1abd9594cb6 Surface LogStreamAccumulator temp-file removal failures as warnings (#66663)
1abd9594cb6 is described below
commit 1abd9594cb629d1a47fbc268c1de5a0fb8c78fdb
Author: Dheeraj Turaga <dh...@gmail.com>
AuthorDate: Sun May 10 13:46:25 2026 -0500
Surface LogStreamAccumulator temp-file removal failures as warnings (#66663)
Failure to remove the spill file is the exact failure mode that
caused the prior /tmp leak (~39 GB on a single host), so operators
need it visible in their logs rather than buried at debug level.
Follow-up to #66450.
---
airflow-core/src/airflow/utils/log/log_stream_accumulator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/utils/log/log_stream_accumulator.py b/airflow-core/src/airflow/utils/log/log_stream_accumulator.py
index 343a9f35139..6efd9d444af 100644
--- a/airflow-core/src/airflow/utils/log/log_stream_accumulator.py
+++ b/airflow-core/src/airflow/utils/log/log_stream_accumulator.py
@@ -49,7 +49,7 @@ def _safe_remove(path: str) -> None:
except FileNotFoundError:
pass
except OSError as exc:
- logger.debug("LogStreamAccumulator: could not remove temp file %s: %s", path, exc)
+ logger.warning("LogStreamAccumulator: could not remove temp file %s: %s", path, exc)
class LogStreamAccumulator: