You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a bitrisescript task is cancelled or has an infrastructure related error (e.g is pre-empted), we should attempt to cancel the in-progress Bitrise builds as well as they won't be useful anymore.
I think we at least need to handle SIGTERM in script.py, then cancel any in-progress futures, as well as add done callbacks to them to trigger the Bitrise API to abort their associated build.
I'm not 100% sure if a user cancelling the task will send SIGTERM or not..
The text was updated successfully, but these errors were encountered:
When a bitrisescript task is cancelled or has an infrastructure related error (e.g is pre-empted), we should attempt to cancel the in-progress Bitrise builds as well as they won't be useful anymore.
I think we at least need to handle SIGTERM in
script.py
, then cancel any in-progress futures, as well as add done callbacks to them to trigger the Bitrise API to abort their associated build.I'm not 100% sure if a user cancelling the task will send SIGTERM or not..
The text was updated successfully, but these errors were encountered: