potiuk opened a new pull request #10008:
URL: https://github.com/apache/airflow/pull/10008


   This change implements canceling of the workflows in case some of
   the important (prerequisite) jobs failed - such as static checks
   or docs. The scheduled workflow will run periodically and check
   if there are no duplicate workflow runs (it will cancel all but
   the most recent one). It will also check for the most recent
   ones and will cancel them if one of the specified jobs (matched
   by regular expression) failed.
   
   The scenario that we want to handle here:
   
   * we want to start tests as soon as possible so that we do not
     have to wait for static checks and doc builds
   * on the other hand as soon as one of the "quicker" jobs fail
     we want to fail whole workflow so that the workers can be
     freed up for other runs.
   
   This has to be done as a scheduled run because forked runs
   do not have permissions to cancel any of the other runs in
   the main repository.
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


----------------------------------------------------------------
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.

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


Reply via email to