This is an automated email from the ASF dual-hosted git repository.

amoghdesai 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 5db2cf735ab Handling auto classification correctly for provider ids 
with dots (#54211)
5db2cf735ab is described below

commit 5db2cf735ab49cf0bfd48547c1f360c716976e9e
Author: Amogh Desai <[email protected]>
AuthorDate: Thu Aug 7 14:31:48 2025 +0530

    Handling auto classification correctly for provider ids with dots (#54211)
---
 .../src/airflow_breeze/prepare_providers/provider_documentation.py | 1 +
 dev/breeze/tests/test_provider_documentation.py                    | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py 
b/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
index c03a85ac033..17a2c3b2bac 100644
--- a/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
+++ b/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
@@ -196,6 +196,7 @@ TYPE_OF_CHANGE_DESCRIPTION = {
 
 
 def classification_result(provider_id, changed_files):
+    provider_id = provider_id.replace(".", "/")
     changed_files = list(filter(lambda f: provider_id in f, changed_files))
 
     if not changed_files:
diff --git a/dev/breeze/tests/test_provider_documentation.py 
b/dev/breeze/tests/test_provider_documentation.py
index 9f2d2b098de..7502f449fd9 100644
--- a/dev/breeze/tests/test_provider_documentation.py
+++ b/dev/breeze/tests/test_provider_documentation.py
@@ -399,13 +399,16 @@ def test_get_most_impactful_change(changes, expected):
     [
         pytest.param("slack", ["providers/slack/docs/slack.rst"], 
"documentation", id="only_docs"),
         pytest.param(
-            "flink", ["providers/apache/flink/docs/slack.rst"], 
"documentation", id="only_docs_longer_path"
+            "apache.flink",
+            ["providers/apache/flink/docs/slack.rst"],
+            "documentation",
+            id="only_docs_longer_path",
         ),
         pytest.param(
             "slack", ["providers/slack/tests/test_slack.py"], 
"test_or_example_only", id="only_tests"
         ),
         pytest.param(
-            "flink",
+            "apache.flink",
             
["providers/apache/flink/tests/unit/apache/flink/sensors/test_flink_kubernetes.py"],
             "test_or_example_only",
             id="only_tests_longer_path",

Reply via email to