anmolxlight opened a new pull request, #67029: URL: https://github.com/apache/airflow/pull/67029
## Summary - Normalize the Dag file stem used in `dag_processing.last_run.seconds_ago.*` metric names. - Add a regression test covering a Dag file name containing a space. ## Test Plan - `uv run --project airflow-core pytest airflow-core/tests/unit/dag_processing/test_manager.py::TestDagFileProcessorManager::test_log_file_processing_stats_sanitizes_last_run_seconds_ago_metric_name -xvs` - `uv run --project airflow-core pytest airflow-core/tests/unit/dag_processing/test_manager.py::TestDagFileProcessorManager::test_send_file_processing_statsd_timing airflow-core/tests/unit/dag_processing/test_manager.py::TestDagFileProcessorManager::test_log_file_processing_stats_sanitizes_last_run_seconds_ago_metric_name -q` - `uv run --project airflow-core pytest airflow-core/tests/unit/dag_processing/test_manager.py -q` - `uv run prek run ruff --files airflow-core/src/airflow/dag_processing/manager.py airflow-core/tests/unit/dag_processing/test_manager.py` - `uv run prek run ruff-format --files airflow-core/src/airflow/dag_processing/manager.py airflow-core/tests/unit/dag_processing/test_manager.py` Closes #67028 -- 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]
