You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jscheffl (via GitHub)" <gi...@apache.org> on 2026/06/07 09:45:36 UTC
Re: [PR] fix: sanitize Dag processor metric file names [airflow]
jscheffl commented on code in PR #67029:
URL: https://github.com/apache/airflow/pull/67029#discussion_r3369104628
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -969,7 +969,7 @@ def _log_file_processing_stats(self, known_files: dict[str, set[DagFileInfo]]):
proc = self._processors.get(file)
num_dags = stat.num_dags
num_errors = stat.import_errors
- file_name = Path(file.rel_path).stem
+ file_name = normalize_name_for_stats(Path(file.rel_path).stem)
Review Comment:
I see another use in `terminate()`, `_kill_timed_out_processors()`, `_start_new_processes)` - would be good to catch these as well.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org