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

vatsrahul1001 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 f51d9e6ed23 workflows: use task-sdk alias in publish-docs 
NON_PROVIDER_TOKENS (#67279)
f51d9e6ed23 is described below

commit f51d9e6ed237e9c5e2730abf9f1419dac39cff9f
Author: Rahul Vats <[email protected]>
AuthorDate: Thu May 21 15:35:17 2026 +0530

    workflows: use task-sdk alias in publish-docs NON_PROVIDER_TOKENS (#67279)
    
    The bash filter in publish-docs-to-s3.yml and the matching frozenset
    in dev/registry/derive_wave_providers.py both listed
    apache-airflow-task-sdk, but the inner docs.build_docs only accepts
    the docs-folder alias task-sdk (see its click choices). Invoking the
    workflow with either name fails:
    
    - task-sdk: not in NON_PROVIDER_TOKENS, falls through to the registry
      script which does not exist on older release branches like v3-2-stable.
    - apache-airflow-task-sdk: passes the filter but docs.build_docs
      rejects the name with "is not one of ... 'task-sdk', ...".
    
    Replace apache-airflow-task-sdk with task-sdk in both lists so the
    workflow can publish task-sdk docs end-to-end.
    
    Discovered during the Airflow 3.2.2rc1 release.
    Follow-up to #66438.
---
 .github/workflows/publish-docs-to-s3.yml | 2 +-
 dev/registry/derive_wave_providers.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-docs-to-s3.yml 
b/.github/workflows/publish-docs-to-s3.yml
index 15710d4e8a6..8c5d152931a 100644
--- a/.github/workflows/publish-docs-to-s3.yml
+++ b/.github/workflows/publish-docs-to-s3.yml
@@ -138,7 +138,7 @@ jobs:
         run: |
           # Keep the non-provider list in sync with NON_PROVIDER_TOKENS in
           # dev/registry/derive_wave_providers.py.
-          NON_PROVIDER_TOKENS=("apache-airflow" "apache-airflow-ctl" 
"apache-airflow-task-sdk" "helm-chart" "docker-stack")
+          NON_PROVIDER_TOKENS=("apache-airflow" "apache-airflow-ctl" 
"task-sdk" "helm-chart" "docker-stack")
           has_provider=false
           for token in $INCLUDE_DOCS; do
             is_non_provider=false
diff --git a/dev/registry/derive_wave_providers.py 
b/dev/registry/derive_wave_providers.py
index 7a473e8a9eb..374cf3e6ff1 100644
--- a/dev/registry/derive_wave_providers.py
+++ b/dev/registry/derive_wave_providers.py
@@ -59,7 +59,7 @@ NON_PROVIDER_TOKENS = frozenset(
         "helm-chart",
         "docker-stack",
         "apache-airflow-ctl",
-        "apache-airflow-task-sdk",
+        "task-sdk",
     }
 )
 PROVIDER_PREFIX = "apache-airflow-providers-"

Reply via email to