The GitHub Actions job "Tests ARM" on airflow.git/main has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 8836376a778ac2e9b39a2dcacb6262aab5591529 / Jarek Potiuk <[email protected]> Switch mypy prek hooks to be executed on pre-push, not on pre-commit (#56829) The MyPy checks are slow and they require breeze image to be built, so they are slowing down commit operations when you have prek installed and your image is not built or your change contains a number of files and mypy cache is not warmed up. Moving mypy checks to pre-push makes it easier to accept by developers to run `prek install` - and they might also opt-in to use `prek install --hook-type pre-push` if they want to (by default) run mypy checks when pushing their changes. Still - even if you install prek with hook-stage `pre-push` you can skip it by `git push --no-verify` - same as in case of commit. This should make "prek" experience quite a bit better for casual usage or when people are not keeping their breeze image updated. This should also help in case of cherry-picking, when cherry-picking, and you need to resolve conflicts, git does not have option to run `cherry-pick --continue --no-verify` and you need to manually uninstall prek to skip running prek hooks - which often is slow due to image not being fresh enough and mypy being generally slow. This might be quite a QOL improvement for many contributors Report URL: https://github.com/apache/airflow/actions/runs/18621218123 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
