jason810496 opened a new issue, #75205:
URL: https://github.com/apache/airflow/issues/75205

   ### Body
   
   The current static check full run (including all the prek hooks, mypy, ruff, 
etc) will take over 20 minutes, we should improve them for sure.
   
   Here're some stages to improve the overall speed:
   
   0. Benchmark the all steps in the static check so far
   1. Parallelize the check as workaround. We need to make sure they won't 
conflict or there won't be any side effect when run them in parallel. 
Additionally, we need to group the steps properly for the speedup purpose, 
packing those fast hooks doesn't make sense.
   2. Move some of those hooks as unit test. IIRC, some of those hooks are 
unnecessary as "prek hook" and them should be moved as static check
   3. Improve some of those expensive prek hooks individually
   4. Add the monitor / alert for the entire static check in 
`#internal-ci-cd-channel` to avoid introducing bad practice in the future (just 
like the k8s test alerts)
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to