Make WordPress Core

Changeset 56829

Timestamp:
10/11/2023 03:54:52 PM (10 months ago)
Author:
desrosj
Message:

Build/Test Tools: Increase the number of retries when restarting a workflow.

This increases the number of times to retry restarting a workflow from 2 to 10. Retries use exponential backoff to space out retries.

In most cases, only 2 retries was sufficient. However, there are occasionally scenarios where the original workflow is still running and cannot be restarted, resulting in an error. This typically happens during periods of ongoing service degradation, or workflows with a significant number of jobs (GitHub Actions is sometimes very slow to mark these as finished).

See #58867.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/failed-workflow.yml

    r56388 r56829  
    3333        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
    3434        with:
    35           retries: 2
     35          retries:
    3636          retry-exempt-status-codes: 418
    3737          script: |
Note: See TracChangeset for help on using the changeset viewer.