Merge remote-tracking branch 'origin/master' into nih-imp-ci-cache

This commit is contained in:
Tianyi Cui
2026-07-27 06:09:26 +08:00
665 changed files with 11054 additions and 7377 deletions

View File

@@ -37,8 +37,10 @@ jobs:
env:
DSH_GATE_CONCURRENCY: '8'
steps:
# Fetch complete history so the archive gate can read the trusted PR base from a reused shallow checkout.
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
# Pull requests consume the default-branch cache but do not put cache
@@ -60,6 +62,8 @@ jobs:
pnpm install --frozen-lockfile
- name: Run static gates
env:
DSH_ARCHIVE_BASE_REF: ${{ github.event.pull_request.base.sha }}
run: pnpm run check:ci:static
- name: Pack built tree
@@ -267,17 +271,17 @@ jobs:
- name: Run complete keyless Python suite
run: uv run --python 3.10 --group test --project python/sdk pytest
# One Windows box shares setup across the required build/site checks and the
# observational portability inventory. Linux owns duplicate lint, coverage,
# and snapshots so they do not dominate the paid Windows critical path.
# One standard Windows box shares setup across the required build/site checks
# and the observational portability inventory. Serial worker bounds keep this
# recovery path portable; Linux owns duplicate lint, coverage, and snapshots.
windows:
if: github.event_name == 'pull_request'
runs-on: dsh-enterprise-windows-2025-32core-test
runs-on: windows-2025
name: windows node 24 / complete
env:
DSH_COVERAGE_MAX_WORKERS: '12'
DSH_GATE_CONCURRENCY: '16'
DSH_PUBLINT_CONCURRENCY: '16'
DSH_COVERAGE_MAX_WORKERS: '1'
DSH_GATE_CONCURRENCY: '1'
DSH_PUBLINT_CONCURRENCY: '1'
steps:
- uses: actions/checkout@v6
@@ -313,6 +317,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 2
- uses: pnpm/action-setup@v4
@@ -352,6 +358,7 @@ jobs:
- name: Run complete unsharded primary Node CI serially
env:
DSH_ARCHIVE_BASE_REF: ${{ github.event.before }}
DSH_COVERAGE_MAX_WORKERS: '1'
DSH_E2E_MAX_WORKERS: '1'
DSH_ESLINT_CACHE: '1'
@@ -654,7 +661,8 @@ jobs:
# 'cancelled' and 'skipped'.
all-checks-passed:
name: all checks passed
runs-on: ubuntu-latest
# The required verdict must not add a separate standard-hosted billing dependency.
runs-on: dsh-enterprise-ubuntu-latest-32core-test
needs: [node-24, node-24-coverage, node-24-consumers, node-compat, python-sdk, windows]
if: always() && github.event_name == 'pull_request'
steps: