The GitHub Actions job "Tests ARM" on airflow.git/v3-0-test has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
1b5d32ef63311f9ef0cdf1435f3bcbd38745453d / Jarek Potiuk <[email protected]>
[v3-0-test] Optimize ui lint pre-commits (#51725) (#51729)

Running pre-commits for typescript compilation, linting formatting is
currently very slow. The pre-commit that is doing it took more than 2.5
minutes - always, independently which files changed. Also, no matter
whether UI or simple auth manager UI changed, both were compiled.

This is the first iteration of speeding up the pre-commit especially
for incremental changes.

The following changes were implemented:

* the scripts were split into ui and simple-auth-manager-ui
* timing information and verbose commands displayed so that
  we can measure which commands take how much time
* the pre-commmit now passes all the files as input (and pre-commit
  is serialized) - which means that some commands can only be run
  on the subset of files that changed
* tsc step is modified to only run on a subset of .ts and .tsx files
  that were changed (via dynamic extension of the project)

Overall when just few files change, the pre-commit should now complete
in less than 10-20 seconds

Still some optimisations are possible in the future.
(cherry picked from commit 52be0dd4c471101e1afe342b8ef8d716bde2525c)

Report URL: https://github.com/apache/airflow/actions/runs/15652742257

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to