potiuk commented on issue #12945:
URL: https://github.com/apache/airflow/issues/12945#issuecomment-750895459


   I tested it and I think it works as expected. The 'immediate' cancel is only 
in case you try to re-rerun a failed build if there is a newer build for that 
branch already queued or running. For example if you have 5 merges one after 
another and you try to re-run the 'master' build 3 commits ago - it will get 
cancelled immediately if there are newer master commits (and resulting workflow 
runs). same if someone already pushed a fixup, or rebases to their PR  any 
older PRs when re-run will get immediately cancelled. 
   
   I think it's a desired behaviour, but happy to discuss if there are cases 
which we would like to handle differently.


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