Stabilize master CI across platforms
This commit is contained in:
@@ -11,6 +11,7 @@ const windowsUnsupportedPackages = process.platform === 'win32'
|
||||
? [
|
||||
'packages/bash/*',
|
||||
'packages/hooks/*',
|
||||
'packages/pty/pty-local',
|
||||
'packages/sandbox/sandbox-local',
|
||||
'packages/sdk/create-sdk',
|
||||
'packages/sdk/helper',
|
||||
@@ -59,7 +60,10 @@ export default defineConfig({
|
||||
plugins: [pathsPlugin()],
|
||||
test: {
|
||||
name: 'thread-safe',
|
||||
pool: 'threads',
|
||||
// Node 24 has aborted in its CJS lexer from a macOS arm64 worker
|
||||
// thread. A fork contains that external runtime failure to the test
|
||||
// process; other hosts retain the lower-overhead thread pool.
|
||||
pool: process.platform === 'darwin' ? 'forks' : 'threads',
|
||||
setupFiles: ['./scripts/test-invariants.ts'],
|
||||
include: testIncludes,
|
||||
exclude: [
|
||||
|
||||
Reference in New Issue
Block a user