Merge branch 'master' into worktree/ci-independent-consumer-build

This commit is contained in:
Tianyi Cui
2026-07-30 21:48:44 +08:00
committed by GitHub

View File

@@ -27,6 +27,9 @@ env:
jobs:
# FIXME: Re-enable the three hosted serial reference jobs before cutting a release.
# The self-hosted standby remains active on every master push.
# Three enterprise jobs isolate coverage, static analysis, and the
# build-backed consumer tail. The consumer job owns the only Linux build so
# all three jobs enter runner allocation independently.
@@ -203,8 +206,8 @@ jobs:
restore-keys: |
${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-
# Pull requests restore the cache produced by serial-linux on master;
# they do not pay compression and upload on the required path.
# Pull requests restore the cache normally produced by serial-linux on
# master; they do not pay compression and upload on the required path.
- uses: actions/cache/restore@v4
if: vars.DSH_CI_FAILOVER != 'selfhosted' || github.event.pull_request.user.login == 'dependabot[bot]'
with:
@@ -299,8 +302,9 @@ jobs:
# The required pull-request Windows signal: the two blocking win32 surfaces
# (workspace build, production site) execute with real, checksum-verified
# Windows Node under Wine on standard hosted Linux. The master
# serial-windows job below keeps the complete native-kernel inventory —
# including the observational portability gates this lane does not run —
# serial-windows job below normally keeps the complete native-kernel
# inventory — including the observational portability gates this lane does
# not run —
# on real windows-2025. This job only provisions runner state (caches,
# apt); scripts/wine-windows-gates.sh owns the gate logic and is the same
# script the optional local gate `pnpm run check:windows-wine` runs.
@@ -405,12 +409,12 @@ jobs:
cp /var/cache/apt/archives/*.deb "$HOME/wine-debs/"
du -sh "$HOME/wine-debs"
# Master pushes run only the serial reference jobs below.
# Each host executes the complete, unsharded primary Node aggregate with one
# gate worker, giving reviewers a simple cross-platform oracle for completeness
# and timing.
# The hosted reference jobs below are temporarily disabled; the self-hosted
# standby remains active. Each enabled host executes the complete, unsharded
# primary Node aggregate with one gate worker, giving reviewers a simple
# cross-platform oracle for completeness and timing.
serial-linux:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: false
name: serial / linux
runs-on: ubuntu-latest
steps:
@@ -535,7 +539,7 @@ jobs:
run: pnpm run check:ci:linux-primary
serial-macos:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: false
name: serial / macos
runs-on: macos-latest
steps:
@@ -562,7 +566,7 @@ jobs:
run: pnpm run check:ci
serial-windows:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: false
name: serial / windows
runs-on: windows-2025
steps: