Skip to content

[v3-0-test] Speed-up constraints generation (#52449) #52460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2025

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jun 29, 2025

Constraints generation was slow because we run them in a loop and we tried to run them all on a single machine - trying to utilize the fact that we only have to build airflow and provider packages once. But those are pretty fast, comparing to constraint generation and it's much better to parallelize the constraint jobs and run them on separatae workers. This will speed up constraint generation delays that will allow building PROD images and kubernetes checks faster.
(cherry picked from commit ba6a971)


^ 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.

Constraints generation was slow because we run them in a loop and
we tried to run them all on a single machine - trying to utilize
the fact that we only have to build airflow and provider packages
once. But those are pretty fast, comparing to constraint generation
and it's much better to parallelize the constraint jobs and run
them on separatae workers. This will speed up constraint generation
delays that will allow building PROD images and kubernetes checks
faster.
(cherry picked from commit ba6a971)

Co-authored-by: Jarek Potiuk <[email protected]>
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch labels Jun 29, 2025
@potiuk potiuk merged commit 69e2d72 into apache:v3-0-test Jun 29, 2025
9 checks passed
@potiuk potiuk deleted the backport-ba6a971-v3-0-test branch June 29, 2025 15:30
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-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant