Merge remote-tracking branch 'origin/feat/windows-pwsh-default' into feat/windows-acl-sandbox

# Conflicts:
#	apps/cli/reference/README.i18n.yaml
This commit is contained in:
Huanqi Cao
2026-08-08 12:13:23 +08:00
488 changed files with 17066 additions and 2369 deletions
+8 -4
View File
@@ -3,7 +3,7 @@ import { fileURLToPath } from 'node:url'
import tsconfigPaths from 'vite-tsconfig-paths'
import { resolvePwshPath } from './packages/bash/pwsh-local/src/resolve.ts'
import { defineConfig } from 'vitest/config'
import { vitestExecArgv } from './vitest.shared.ts'
import { standardDecoratorPlugin, vitestExecArgv } from './vitest.shared.ts'
import { COVERAGE_EXEMPT_ENV, coverageExemptHeavySuites } from './scripts/coverage-exempt.ts'
// Prints exact `path:line:col` records for every uncovered statement, branch
@@ -104,7 +104,7 @@ const processBoundTests = [
]
export default defineConfig({
plugins: [pathsPlugin()],
plugins: [pathsPlugin(), standardDecoratorPlugin()],
test: {
setupFiles: ['./scripts/test-invariants.ts'],
// .tsx: client component specs (jsdom via per-file @vitest-environment pragma).
@@ -115,7 +115,7 @@ export default defineConfig({
// always fork.
projects: [
{
plugins: [pathsPlugin()],
plugins: [pathsPlugin(), standardDecoratorPlugin()],
test: {
name: 'thread-safe',
execArgv: vitestExecArgv,
@@ -135,7 +135,7 @@ export default defineConfig({
},
},
{
plugins: [pathsPlugin()],
plugins: [pathsPlugin(), standardDecoratorPlugin()],
test: {
name: 'process-bound',
execArgv: vitestExecArgv,
@@ -195,6 +195,10 @@ export default defineConfig({
'packages/client/hmr/src/invariant.ts',
'packages/client/connection/src/index.ts',
'packages/client/connection/src/http-bridge.ts',
// This assembly imports generated Host-for-Client code that exists
// only in lib; the post-build built-bin smoke executes both entries.
'packages/api/remotes/src/index.ts',
'packages/api/remotes/src/client/index.ts',
// Slash/command/input round: per-file gaps deferred with the same
// client-lane debt. TODO(gui): cover and remove with the lane above.
'packages/client/connection/src/client/fixture.ts',