Skip to content

Breeze: keep OpenAPI Generator version in sync during CI upgrades#59862

Merged
potiuk merged 4 commits intoapache:mainfrom
anishgirianish:feature/ci-upgrade-openapi
Dec 29, 2025
Merged

Breeze: keep OpenAPI Generator version in sync during CI upgrades#59862
potiuk merged 4 commits intoapache:mainfrom
anishgirianish:feature/ci-upgrade-openapi

Conversation

@anishgirianish
Copy link
Contributor

@anishgirianish anishgirianish commented Dec 28, 2025


Integrates OpenAPI Generator version updates into the existing Breeze CI upgrade flow, addressing the maintenance gap described in #59229. This ensures the pinned generator version is automatically kept in sync when running standard upgrade tooling, without changing generated clients or runtime behavior.

closes: #59229

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg
Copy link

boring-cyborg bot commented Dec 28, 2025

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: dev@airflow.apache.org
    Slack: https://s.apache.org/airflow-slack

@potiuk
Copy link
Member

potiuk commented Dec 28, 2025

Can you please also add it to the CI workflows (there are two steps that need to be updated) https://github.com/apache/airflow/blob/main/.github/workflows/basic-tests.yml#L297

@potiuk potiuk merged commit c273d8d into apache:main Dec 29, 2025
126 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Dec 29, 2025

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@github-actions
Copy link

Backport failed to create: v3-1-test. View the failure log Run details

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker c273d8d v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

potiuk pushed a commit to potiuk/airflow that referenced this pull request Dec 29, 2025
…upgrades (apache#59862)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
(cherry picked from commit c273d8d)

Co-authored-by: anishgirianish <161533316+anishgirianish@users.noreply.github.com>
@potiuk
Copy link
Member

potiuk commented Dec 29, 2025

Backport in #59910

potiuk pushed a commit to potiuk/airflow that referenced this pull request Dec 29, 2025
…upgrades (apache#59862)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
(cherry picked from commit c273d8d)

Co-authored-by: anishgirianish <161533316+anishgirianish@users.noreply.github.com>
potiuk added a commit that referenced this pull request Dec 31, 2025
…upgrades (#59862) (#59910)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
(cherry picked from commit c273d8d)

Co-authored-by: anishgirianish <161533316+anishgirianish@users.noreply.github.com>
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Jan 2, 2026
…ache#59862)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
ephraimbuddy pushed a commit that referenced this pull request Jan 6, 2026
…upgrades (#59862) (#59910)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
(cherry picked from commit c273d8d)

Co-authored-by: anishgirianish <161533316+anishgirianish@users.noreply.github.com>
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
…ache#59862)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
…ache#59862)

* [AIRFLOW-59229] Regenerate Python client during CI upgrade

* [AIRFLOW-59229] add open api cli version upgrage as part of breeze upgrade ci

* [AIRFLOW-59229] update ci workflow with open api generator upgrade variable

* [AIRFLOW-59229] refactor ci upgrade variables for better clarity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch to newer OpenApi generator (7.18.0) and add auto-upgrade open-api when "ci upgrade" is run

3 participants