From 41c5c44cd0e76924ed3c55c1ffeca7f1d92f42a6 Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Fri, 8 May 2026 19:53:37 +0000 Subject: [PATCH] fix(ci): widen resolve-dev-version search window for quiet main Increase --limit from 10 to 100 when listing recent successful Dev Build & Publish runs. At hourly cadence, 100 candidates covers ~4 days of quiet main (no new commits triggers check-changes skip, producing success without a dev-version artifact). Previously, >~10 skipped runs could exhaust the window and false-positive as a broken dev pipeline. --- .github/workflows/release-readiness.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-readiness.yml b/.github/workflows/release-readiness.yml index 3ea2af7d..39d8605d 100644 --- a/.github/workflows/release-readiness.yml +++ b/.github/workflows/release-readiness.yml @@ -58,11 +58,14 @@ jobs: # uploaded a 'dev-version' artifact. The check-changes gate skips the # version job (and so the upload) when there are no new commits, but # such runs still complete as success — those must be ignored. + # Use a wide window (100 candidates ≈ ~4 days at hourly cadence) so a + # quiet main (no new commits for >10h) does not exhaust the window + # before finding a real publish run. mapfile -t candidates < <(gh run list \ --workflow dev-publish.yml \ --branch main \ --status success \ - --limit 10 \ + --limit 100 \ --json databaseId \ --jq '.[].databaseId')