feat(build): bind client artifacts to build profiles

This commit is contained in:
imccyu
2026-08-19 18:21:27 +08:00
parent 93cbb3799d
commit 66a7081c15
24 changed files with 533 additions and 39 deletions
@@ -49,7 +49,6 @@ permissions:
contents: read
env:
DSH_CLIENT_BRAND: official
# CI runs must never report to the production telemetry endpoint baked
# into apps/cli/cordis.yml (AppCLIEntry disables the row when set).
DSH_TELEMETRY_DISABLED: '1'
@@ -220,6 +219,8 @@ jobs:
}
- name: Build single-exe
env:
DSH_BUILD_CLIENT_PROFILE: official
run: pnpm exec tsx scripts/build-exe-for-python-sdk.ts --targets=${{ matrix.target }}
- name: Resolve platform outputs
+2 -1
View File
@@ -35,7 +35,6 @@ permissions:
contents: read
env:
DSH_CLIENT_BRAND: official
PRIMARY_NODE_VERSION: '24'
# CI runs must never report to the production telemetry endpoint baked
# into apps/cli/cordis.yml (AppCLIEntry disables the row when set).
@@ -300,6 +299,8 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run compatibility smokes
env:
DSH_BUILD_CLIENT_PROFILE: official
run: pnpm run check:node-compat
python-sdk:
+1 -2
View File
@@ -9,7 +9,6 @@ permissions:
contents: read
env:
DSH_CLIENT_BRAND: official
# CI runs must never report to the production telemetry endpoint baked
# into apps/cli/cordis.yml (AppCLIEntry disables the row when set).
DSH_TELEMETRY_DISABLED: '1'
@@ -47,7 +46,7 @@ jobs:
# The Loader smoke runs package exports under plain Node in lib mode.
- name: Build (lib for the E2B Loader smoke)
run: pnpm run build
run: pnpm run build:official
- name: E2B tests (live sandbox)
env:
+1 -2
View File
@@ -47,7 +47,6 @@ permissions:
contents: read
env:
DSH_CLIENT_BRAND: official
# CI runs must never report to the production telemetry endpoint baked
# into apps/cli/cordis.yml (AppCLIEntry disables the row when set).
DSH_TELEMETRY_DISABLED: '1'
@@ -105,7 +104,7 @@ jobs:
# the built artifact under plain Node, resolving plugins through real package
# exports — the shape a real consumer runs. That requires a prior build.
- name: Build (lib for the e2e example bins)
run: pnpm run build
run: pnpm run build:official
# Real-API end-to-end tests only. The keyless gates (lint/typecheck/
# coverage/snapshot/etc.) already run in ci.yml on every push/PR.
+1 -2
View File
@@ -29,7 +29,6 @@ concurrency:
cancel-in-progress: false
env:
DSH_CLIENT_BRAND: official
PRIMARY_NODE_VERSION: '24'
DSH_TELEMETRY_DISABLED: '1'
@@ -76,7 +75,7 @@ jobs:
run: pnpm run release:verify --family dsh
- name: Build
run: pnpm run build
run: pnpm run build:official
- name: Pack release tarballs
run: pnpm run release:pack --family dsh --out dist/npm
+1 -2
View File
@@ -19,7 +19,6 @@ permissions:
contents: read
env:
DSH_CLIENT_BRAND: official
# CI runs must never report to the production telemetry endpoint baked
# into apps/cli/cordis.yml (AppCLIEntry disables the row when set).
DSH_TELEMETRY_DISABLED: '1'
@@ -118,7 +117,7 @@ jobs:
# together so registry state cannot mask source/package drift.
- name: Build packages for the pack rehearsal
if: matrix.runner == 'landlock'
run: pnpm run build
run: pnpm run build:official
- name: Packed-distribution e2e (pack → install → confine)
if: matrix.runner == 'landlock'