Skip to content

Commit 2c62c21

Browse files
baibaichenclaude
andcommitted
Fix analyze-only: increase run search window from 15 to 50
The artifact-bearing run was pushed out of the 15-run search window by subsequent analyze-only runs, causing "no artifacts found" failures. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
1 parent 84febca commit 2c62c21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/velox_backend_ansi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ jobs:
539539
WORKFLOW="velox_backend_ansi.yml"
540540
PR_BRANCH="${{ needs.check-comment.outputs.pr_ref }}"
541541
echo "Looking for latest ANSI run with artifacts on branch=${PR_BRANCH}..."
542-
CANDIDATE_IDS=$(gh api "repos/${REPO}/actions/workflows/${WORKFLOW}/runs?branch=${PR_BRANCH}&per_page=15" \
542+
CANDIDATE_IDS=$(gh api "repos/${REPO}/actions/workflows/${WORKFLOW}/runs?branch=${PR_BRANCH}&per_page=50" \
543543
--jq '.workflow_runs[] | select(.id != ${{ github.run_id }}) | .id')
544544
RUN_ID=""
545545
for cid in $CANDIDATE_IDS; do

0 commit comments

Comments
 (0)