From 1d13ea8280f796307891beb6469db260475a6885 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Sun, 18 Oct 2026 08:44:22 -0400 Subject: [PATCH] [CI] (.github/workflows): retry a timed-out retrace result upload once --- .github/workflows/apk.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/apk.yml b/.github/workflows/apk.yml index 7fc67b52..b740f8e0 100644 --- a/.github/workflows/apk.yml +++ b/.github/workflows/apk.yml @@ -699,13 +699,30 @@ jobs: --pid-file "${EMULATOR_PID_FILE}" - name: Upload Android retrace result + id: upload-retrace-result if: always() + continue-on-error: true uses: actions/upload-artifact@v7 with: name: MobileGL-android-retrace-result-${{ matrix.lane || 'monolith-control' }}-${{ matrix.transport || 'monolith' }}-${{ env.date_today }}-${{ github.sha }}-${{ matrix.backend.name }}-${{ matrix.case.name }} path: android-retrace-result/** if-no-files-found: warn + # The artifact service sometimes times out (ETIMEDOUT on CreateArtifact, one job in 231 on + # 2026-10-18), which turned a passing case red; one delayed retry absorbs that. + - name: Wait before retrying the upload + if: always() && steps.upload-retrace-result.outcome == 'failure' + run: sleep 30 + + - name: Upload Android retrace result (retry) + if: always() && steps.upload-retrace-result.outcome == 'failure' + uses: actions/upload-artifact@v7 + with: + name: MobileGL-android-retrace-result-${{ matrix.lane || 'monolith-control' }}-${{ matrix.transport || 'monolith' }}-${{ env.date_today }}-${{ github.sha }}-${{ matrix.backend.name }}-${{ matrix.case.name }} + path: android-retrace-result/** + if-no-files-found: warn + overwrite: true + retrace-summary: name: retrace summary runs-on: ubuntu-26.04