Truly independent web browser
CI: Report PR benchmarks when a runner is lost mid-run
sideshowbarker332a3477cfb3
diff --git a/.github/workflows/bench-pr.yml b/.github/workflows/bench-pr.ymlindex e2be099f8d8..7278dba01d4 100644--- a/.github/workflows/bench-pr.yml+++ b/.github/workflows/bench-pr.yml@@ -317,8 +317,10 @@ jobs:pull-requests: writesteps:+ # A bench job that lost its runner reports neither success nor failure — so these steps check only that the bench+ # jobs ran, and the description then reports a platform without results as one that didn't finish.- name: 'Download the results'- if: ${{ needs.prepare.outputs.pr != '' && contains(fromJSON('["success", "failure"]'), needs.bench.result) }}+ if: ${{ needs.prepare.outputs.pr != '' && needs.bench.result != 'skipped' }}uses: actions/download-artifact@v8with:pattern: bench-pr-*@@ -327,7 +329,7 @@ jobs:# The section goes between markers at the end of the description, so a later run replaces it in place.- name: "Add the results to the PR's description"- if: ${{ needs.prepare.outputs.pr != '' && contains(fromJSON('["success", "failure"]'), needs.bench.result) }}+ if: ${{ needs.prepare.outputs.pr != '' && needs.bench.result != 'skipped' }}shell: bashenv:GH_TOKEN: ${{ github.token }}