This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-3-test by this push:
new 49743862af0 [v3-3-test] Remove unused legacy action logging helper
(#72324) (#72621)
49743862af0 is described below
commit 49743862af01ee26ea15b88e0a2c5dd8b6ec7321
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Sep 7 13:05:33 2026 +0200
[v3-3-test] Remove unused legacy action logging helper (#72324) (#72621)
(cherry picked from commit 123b1be658527d5fafad4736254a07a42da6dd3f)
Co-authored-by: Aaron Chen <[email protected]>
---
.../src/airflow/utils/log/action_logger.py | 26 ----------------------
scripts/cov/core_coverage.py | 1 -
2 files changed, 27 deletions(-)
diff --git a/airflow-core/src/airflow/utils/log/action_logger.py
b/airflow-core/src/airflow/utils/log/action_logger.py
deleted file mode 100644
index 66e71c46538..00000000000
--- a/airflow-core/src/airflow/utils/log/action_logger.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-from __future__ import annotations
-
-
-def action_event_from_permission(prefix: str, permission: str) -> str:
- if permission.startswith("can_"):
- permission = permission[4:]
- if prefix:
- return f"{prefix}.{permission}"
- return permission
diff --git a/scripts/cov/core_coverage.py b/scripts/cov/core_coverage.py
index 2d812fef533..6cd1efabb46 100644
--- a/scripts/cov/core_coverage.py
+++ b/scripts/cov/core_coverage.py
@@ -112,7 +112,6 @@ files_not_fully_covered = [
"airflow-core/src/airflow/utils/file.py",
"airflow-core/src/airflow/utils/helpers.py",
"airflow-core/src/airflow/utils/json.py",
- "airflow-core/src/airflow/utils/log/action_logger.py",
"airflow-core/src/airflow/utils/log/colored_log.py",
"airflow-core/src/airflow/utils/log/file_processor_handler.py",
"airflow-core/src/airflow/utils/log/file_task_handler.py",