Skip registry-derive in publish-docs for non-provider distributions#66438
Merged
potiuk merged 1 commit intoapache:mainfrom May 5, 2026
Merged
Conversation
The "Derive registry trigger inputs" step in publish-docs-to-s3.yml runs `python3 dev/registry/derive_wave_providers.py` unconditionally in the Build Info job. The downstream `update-registry` job only runs when `registry-providers != ''` or `registry-full-build == 'true'`, so for non-provider distributions (apache-airflow, apache-airflow-ctl, apache-airflow-task-sdk, helm-chart, docker-stack) the script is a no-op anyway. Skipping the script for those distributions also lets release tags cut before apache#66100 (when the script was added) publish docs without the workflow tripping on the missing file. Surfaced while publishing docs for airflow-ctl/0.1.4 (cut from 0.1.4rc3 on 2026-04-22). The non-provider list is kept in sync with NON_PROVIDER_TOKENS in dev/registry/derive_wave_providers.py. closes: apache#66436
bugraoz93
approved these changes
May 5, 2026
Contributor
Backport failed to create: v3-2-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 73f2735 v3-2-testThis should apply the commit to the v3-2-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The "Derive registry trigger inputs" step in
publish-docs-to-s3.ymlrunspython3 dev/registry/derive_wave_providers.pyunconditionally inthe Build Info job. The downstream
update-registryjob only runswhen
registry-providers != ''orregistry-full-build == 'true'—so for non-provider distributions (
apache-airflow,apache-airflow-ctl,apache-airflow-task-sdk,helm-chart,docker-stack) the script's output isn't consumed and the scriptinvocation is a no-op.
This PR skips the script invocation for those distributions:
registry-providers=andregistry-full-build=falseareset so the
update-registryjob skips downstream as expected.publish docs again without the workflow tripping on the missing
file. Surfaced while publishing docs for
airflow-ctl/0.1.4(cut from
0.1.4rc3on 2026-04-22).The non-provider list is kept in sync with
NON_PROVIDER_TOKENSindev/registry/derive_wave_providers.py.closes: #66436
Test plan
breeze workflow-run publish-docs --ref airflow-ctl/0.1.4 --workflow-branch airflow-ctl/0.1.4 apache-airflow-ctlsucceeded with the workflow YAML at the tag (workaround that exposed the issue): https://github.com/apache/airflow/actions/runs/25393124890mainto verify the skip path works end-to-end with the new YAML.providers/2026-MM-DD) to verify the provider path still invokes the script.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.7) following the guidelines