2026-10-23T05:33:24.7108222Z Current runner version: '2.338.0' 2026-10-23T05:33:24.7133525Z ##[group]Runner Image Provisioner 2026-10-23T05:33:24.7134498Z Hosted Compute Agent 2026-10-23T05:33:24.7135205Z Version: 20261012.601 2026-10-23T05:33:24.7135843Z Commit: f3dc54e1fb89da6852db922499a0233137369e1d 2026-10-23T05:33:24.7136635Z Build Date: 2026-10-12T17:48:21Z 2026-10-23T05:33:24.7137416Z Worker ID: {40beff3c-ec54-4c40-8f2e-d9a9f907c1af} 2026-10-23T05:33:24.7138169Z Region: westus 2026-10-23T05:33:24.7138773Z Cloud: Azure 2026-10-23T05:33:24.7139317Z ##[endgroup] 2026-10-23T05:33:24.7140720Z ##[group]Operating System 2026-10-23T05:33:24.7141741Z Ubuntu 2026-10-23T05:33:24.7142291Z 24.04.5 2026-10-23T05:33:24.7142910Z LTS 2026-10-23T05:33:24.7143451Z ##[endgroup] 2026-10-23T05:33:24.7143996Z ##[group]Runner Image 2026-10-23T05:33:24.7144704Z Image: ubuntu-24.04 2026-10-23T05:33:24.7145284Z Version: 20261012.334.1 2026-10-23T05:33:24.7146591Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md 2026-10-23T05:33:24.7148110Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334 2026-10-23T05:33:24.7149204Z ##[endgroup] 2026-10-23T05:33:24.7150462Z ##[group]GITHUB_TOKEN Permissions 2026-10-23T05:33:24.7152724Z Contents: write 2026-10-23T05:33:24.7153356Z Metadata: read 2026-10-23T05:33:24.7154018Z PullRequests: write 2026-10-23T05:33:24.7154677Z ##[endgroup] 2026-10-23T05:33:24.7156806Z Secret source: Actions 2026-10-23T05:33:24.7157872Z Cache mode: read 2026-10-23T05:33:24.7158578Z Prepare workflow directory 2026-10-23T05:33:24.7548601Z Prepare all required actions 2026-10-23T05:33:24.7618369Z Getting action download info 2026-10-23T05:33:25.1222976Z Download action repository 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd) 2026-10-23T05:33:25.9064031Z Complete job name: Remove preview download 2026-10-23T05:33:25.9787250Z ##[group]Run set -euo pipefail 2026-10-23T05:33:25.9788056Z set -euo pipefail 2026-10-23T05:33:25.9788627Z  2026-10-23T05:33:25.9789119Z tag="desktop-preview" 2026-10-23T05:33:25.9789691Z  2026-10-23T05:33:25.9790351Z # A stale cleanup must not delete a download that became valid 2026-10-23T05:33:25.9791544Z # again. If the PR is open and labeled once more, the next publish 2026-10-23T05:33:25.9792476Z # owns this PR's assets and replaces them itself. 2026-10-23T05:33:25.9793376Z if [[ "$(gh pr view "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" \ 2026-10-23T05:33:25.9794180Z  --json state,labels \ 2026-10-23T05:33:25.9795172Z  --jq '.state + " " + (.labels | map(.name) | contains(["preview:mac"]) | tostring)')" == "OPEN true" ]]; then 2026-10-23T05:33:25.9796336Z  echo "PR is open and labeled again. Skipping cleanup." 2026-10-23T05:33:25.9797206Z  echo "removed=false" >> "$GITHUB_OUTPUT" 2026-10-23T05:33:25.9797883Z  exit 0 2026-10-23T05:33:25.9798385Z fi 2026-10-23T05:33:25.9798843Z  2026-10-23T05:33:25.9799370Z echo "removed=true" >> "$GITHUB_OUTPUT" 2026-10-23T05:33:25.9800023Z  2026-10-23T05:33:25.9800724Z if ! gh release view "$tag" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then 2026-10-23T05:33:25.9801861Z  echo "No preview release exists. Nothing to clean up." 2026-10-23T05:33:25.9802606Z  exit 0 2026-10-23T05:33:25.9803080Z fi 2026-10-23T05:33:25.9803539Z  2026-10-23T05:33:25.9804342Z gh release view "$tag" --repo "$GITHUB_REPOSITORY" --json assets --jq '.assets[].name' \ 2026-10-23T05:33:25.9805381Z  | { grep -F -- "-pr.${PR_NUMBER}." || true; } \ 2026-10-23T05:33:25.9806097Z  | while read -r asset; do 2026-10-23T05:33:25.9806970Z  gh release delete-asset "$tag" "$asset" --repo "$GITHUB_REPOSITORY" --yes \ 2026-10-23T05:33:25.9808043Z  || echo "Asset $asset was already removed by a concurrent run." 2026-10-23T05:33:25.9809099Z  done 2026-10-23T05:33:26.0979308Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} 2026-10-23T05:33:26.0980791Z env: 2026-10-23T05:33:26.0985938Z GH_TOKEN: *** 2026-10-23T05:33:26.0986478Z PR_NUMBER: 13472 2026-10-23T05:33:26.0987000Z ##[endgroup] 2026-10-23T05:33:29.4033387Z ##[group]Run actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd 2026-10-23T05:33:29.4033902Z with: 2026-10-23T05:33:29.4036406Z script: const marker = ""; const comments = await github.paginate(github.rest.issues.listComments, { owner: context.repo.owner, repo: context.repo.repo, issue_number: context.payload.pull_request.number, per_page: 100, }); const existing = comments.find( (comment) => comment.user?.login === "github-actions[bot]" && comment.body?.includes(marker), ); if (!existing) { return; } await github.rest.issues.updateComment({ owner: context.repo.owner, repo: context.repo.repo, comment_id: existing.id, body: [ marker, "### macOS preview", "", "The preview download was removed because this PR closed or the preview label was removed.", ].join("\n"), }); 2026-10-23T05:33:29.4041642Z github-token: *** 2026-10-23T05:33:29.4041939Z debug: false 2026-10-23T05:33:29.4042262Z user-agent: actions/github-script 2026-10-23T05:33:29.4042598Z result-encoding: json 2026-10-23T05:33:29.4042873Z retries: 0 2026-10-23T05:33:29.4043167Z retry-exempt-status-codes: 400,401,403,404,422 2026-10-23T05:33:29.4043546Z ##[endgroup] 2026-10-23T05:33:29.9336826Z Cleaning up orphan processes