Skip to content

Conversation

@jscheffl
Copy link
Contributor

Following #57181 this is now a batch for all prek hooks that are "just" solely for providers to split out from root:

As prek is supporting monorepo now and go SDK was the front-runner, provider root is now the next piece that with this PR is proposed to be split-out from global pre-commit hook list into the provider space.

@jscheffl jscheffl force-pushed the feature/extract-pre-commit-for-providers branch from c597fdd to e2a77db Compare October 25, 2025 16:07
@potiuk
Copy link
Member

potiuk commented Oct 25, 2025

Static checks to fix ... but I love it :)

@potiuk
Copy link
Member

potiuk commented Oct 25, 2025

BTW. There might be some code in breeze that finds providers by looking at the sub-folders of "providers" but it might also do it for files .. so maybe some breeze update is needed.

@jscheffl
Copy link
Contributor Author

Static checks to fix ... but I love it :)

I am on it just need to complete some other duties in parallel... stay tuned...

@potiuk
Copy link
Member

potiuk commented Oct 25, 2025

No. Looks good. Seems we are always using "rglob" and finding something ("provider.yaml" or "integration" folder).

Copy link
Member

@gopidesupavan gopidesupavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM , nice to see separation :)

@jscheffl jscheffl force-pushed the feature/extract-pre-commit-for-providers branch from e2a77db to 22ae396 Compare October 25, 2025 19:28
@potiuk potiuk merged commit 045fbc5 into apache:main Oct 25, 2025
59 checks passed
@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Oct 25, 2025
@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 045fbc5 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 Oct 25, 2025
* Extract prek hooks for Providers

* Ups in path

* Fix breeze script to consider running also in non repo root

* Fix prek script to consider running also in non repo root

* Fix prek script to consider running also in non repo root
(cherry picked from commit 045fbc5)

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
potiuk pushed a commit to potiuk/airflow that referenced this pull request Oct 25, 2025
* Extract prek hooks for Providers

* Ups in path

* Fix breeze script to consider running also in non repo root

* Fix prek script to consider running also in non repo root

* Fix prek script to consider running also in non repo root
(cherry picked from commit 045fbc5)

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
potiuk added a commit that referenced this pull request Oct 25, 2025
* Extract prek hooks for Providers

* Ups in path

* Fix breeze script to consider running also in non repo root

* Fix prek script to consider running also in non repo root

* Fix prek script to consider running also in non repo root
(cherry picked from commit 045fbc5)

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@potiuk
Copy link
Member

potiuk commented Oct 25, 2025

Backport #57260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants