From 61d0ba4e2db78922efedde3195855e0d5b13ae81 Mon Sep 17 00:00:00 2001 From: ryan-morris Date: Tue, 10 Nov 2026 14:18:08 -0600 Subject: [PATCH] Retry a release whose only failures are jobs GitHub gave no runner The release failed on 2026-11-06, -09 and -10 with every build passing: 2-3 macOS arm64 jobs each time were dropped after ~3 h with "The job was not acquired by Runner of type hosted even after multiple attempts", and all-builds failed the run. This calls the engine's retry.yml on the Release run's completion, which re-runs only the failed jobs (up to two times) when that is the only failure. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/retry.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/retry.yml diff --git a/.github/workflows/retry.yml b/.github/workflows/retry.yml new file mode 100644 index 0000000..af2330f --- /dev/null +++ b/.github/workflows/retry.yml @@ -0,0 +1,21 @@ +# Retries a failed release whose only failures are jobs GitHub gave no runner (hosted macOS capacity: a release queues +# dozens of macOS jobs; one that waits too long is dropped and all-builds fails the run). Re-runs only the failed jobs, +# up to two times; any other failure is left for review. See devenvy/ffmpeg-build's docs/releases.md. +# +# Permissions: actions: write (re-run) and checks: read (the jobs' annotations), below. +name: Retry release +on: + # zizmor: ignore[dangerous-triggers] checks out and runs no code: it reads the run's jobs and re-runs them + workflow_run: + workflows: [Release] + types: [completed] + +permissions: {} + +jobs: + retry: + if: github.event.workflow_run.conclusion == 'failure' + uses: devenvy/ffmpeg-build/.github/workflows/retry.yml@acbec8058c9429b152d6bde3e898f07e8d532bd8 # sbom-static-cxx-runtime; re-pin to the engine release + permissions: + actions: write + checks: read