Skip to content

Increase Scoop manifest sync retry window for release asset visibility lag - #2

Draft
Xuepoo with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-sync-scoop-manifest-job
Draft

Increase Scoop manifest sync retry window for release asset visibility lag#2
Xuepoo with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-sync-scoop-manifest-job

Conversation

Copilot AI commented Jul 12, 2026

Copy link
Copy Markdown

Sync Scoop manifest (Xuepoo/scoop-bucket) was failing because the release job sometimes queried assets before GitHub exposed the MSI in release metadata. This PR increases the retry window so the Scoop sync step tolerates that publish-time propagation delay.

  • Root cause

    • sync-scoop attempted to resolve *_x64_en-US.msi for only 10 × 5s and exited early when assets were still not visible via gh release view.
  • Workflow change

    • Updated .github/workflows/release.yml in sync-scoop > Resolve release asset:
      • Retry loop: seq 1 10seq 1 24
      • Status output updated to reflect new retry bound ($i/24)
  • Impact

    • Extends max wait from 50s to 120s for MSI discovery before failing, reducing transient release-sync failures without changing artifact selection logic.
for i in $(seq 1 24); do
  MSI_URL=$(gh release view "$TAG" --repo "${{ github.repository }}" --json assets \
    --jq '.assets[] | select(.name | test("_x64_en-US\\.msi$")) | .browser_download_url')
  [ -n "$MSI_URL" ] && break
  echo "Assets not visible yet, retrying in 5s ($i/24)..."
  sleep 5
done

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Sync Scoop manifest Increase Scoop manifest sync retry window for release asset visibility lag Jul 12, 2026
Copilot AI requested a review from Xuepoo July 12, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants