youtube image
From YouTube: Sync Discussion: Use Cases for running after_script after job cancelation or timeout.

Description

In this call we discussed the common use cases from the issue which is one of the most popular/discussed issues within Verify.

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/15603

The actions from this meeting are to split the issue into a cancel and timeout case. The timeout case is harder because of the case of losing connectivity to the runner makes running a script on it practically impossible. We may find more timeout cases we can support but for now are focused on the user cancelation case and documenting alternatives for the timeout case that maybe possible through the webhook.

Meeting notes (internal link): https://docs.google.com/document/d/1oYp0Fi9PPAlFvMxpEJ0eoLXIz7LcspvDtci6zRmEIjs/edit?usp=sharing