ci: run coverage on in-house vm-backup pool

Coverage does not gate merges, so move it off the metered
dsh-enterprise-ubuntu-24-04-32core-test pool onto the in-house
self-hosted pool (vm-backup label, 64-core).

Also switch the pnpm store cache path to ~ so it resolves under
both /home/runner (hosted) and self-hosted home directories.

Verified on the self-hosted pool: the full coverage job (including
prepare-ci-bubblewrap and the exhaustive suite) completed green in
~5 min.
This commit is contained in:
Chinesezjc
2026-07-24 12:44:00 +08:00
parent bc7a89b81f
commit bdff8573b6
+5 -2
View File
@@ -77,7 +77,9 @@ jobs:
node-24-coverage:
if: github.event_name == 'pull_request'
runs-on: dsh-enterprise-ubuntu-24-04-32core-test
# Coverage does not gate merges, so it runs on the in-house pool
# (self-hosted, 64-core) instead of the metered enterprise pool.
runs-on: [self-hosted, linux, x64, vm-backup]
name: node 24 / coverage
env:
DSH_COVERAGE_MAX_WORKERS: '24'
@@ -89,7 +91,8 @@ jobs:
- uses: actions/cache/restore@v4
with:
path: /home/runner/.local/share/pnpm/store/v11
# ~ resolves on both hosted (/home/runner) and self-hosted homes
path: ~/.local/share/pnpm/store/v11
key: ${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-