Skip to content
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

Fix UI lint pre-commit hook #43086

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Oct 16, 2024

With the recent reshape of the FastAPI API filestructure, I think we missed that point. Pre-commit was failing to detect updates on the generated-spec, and the frontend code was not regenerated.

Be carefull with AIP-84 PRs that might have rebased while the fix was not there. CI will be green but can be in fact red, be extra cautious and ask to rebase to avoid breaking main.

@pierrejeambrun
Copy link
Member Author

cc: @kaxil

@pierrejeambrun pierrejeambrun self-assigned this Oct 16, 2024
@pierrejeambrun pierrejeambrun requested review from potiuk, ephraimbuddy, kaxil, jedcunningham and bbovenzi and removed request for jedcunningham October 16, 2024 15:15
@kaxil
Copy link
Member

kaxil commented Oct 16, 2024

With the recent reshape of the FastAPI API filestructure, I think we missed that point. Pre-commit was failing to detect updates on the generated-spec, and the frontend code was not regenerated.

Be carefull with AIP-84 PRs that might have rebased while the fix was not there. CI will be green but can be in fact red, we can ask to rebase when this is merged.

Whoops! thanks for fixing it

@kaxil kaxil merged commit 4effea2 into apache:main Oct 16, 2024
48 of 49 checks passed
@kaxil kaxil deleted the fix-ui-lint-pre-commit-hook branch October 16, 2024 15:41
@kaxil
Copy link
Member

kaxil commented Oct 16, 2024

I verified it locally, it works. The other static check failures will be fixed in #43087

R7L208 pushed a commit to R7L208/airflow that referenced this pull request Oct 17, 2024
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this pull request Oct 24, 2024
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants