From 570b439b31d4e95ec401d010f58743f72b7e1751 Mon Sep 17 00:00:00 2001 From: can1357 Date: Sun, 31 May 2026 04:53:27 +0200 Subject: [PATCH] chore: enabled parallel Bun test runs across package scripts - Updated each package's test script to run `bun test` with the `--parallel` flag. - Updated the tui package test command to preserve its `test/*.test.ts` file filter while enabling parallel execution. --- packages/agent/package.json | 2 +- packages/ai/package.json | 2 +- packages/coding-agent/package.json | 2 +- packages/hashline/package.json | 2 +- packages/mnemosyne/package.json | 2 +- packages/natives/package.json | 2 +- packages/tui/package.json | 2 +- packages/typescript-edit-benchmark/package.json | 2 +- packages/utils/package.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/agent/package.json b/packages/agent/package.json index 54efac6a3..193b646b6 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -30,7 +30,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write ." }, diff --git a/packages/ai/package.json b/packages/ai/package.json index 6412602a1..5ce6a140a 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -32,7 +32,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write .", "generate-models": "bun scripts/generate-models.ts" diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.json index 517ec147c..dc979d829 100644 --- a/packages/coding-agent/package.json +++ b/packages/coding-agent/package.json @@ -35,7 +35,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe . && bun run format-prompts && bun run generate-docs-index", "fmt": "biome format --write . && bun run format-prompts", "format-prompts": "bun scripts/format-prompts.ts", diff --git a/packages/hashline/package.json b/packages/hashline/package.json index 463ef243c..f5c311589 100644 --- a/packages/hashline/package.json +++ b/packages/hashline/package.json @@ -28,7 +28,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write ." }, diff --git a/packages/mnemosyne/package.json b/packages/mnemosyne/package.json index 86b949800..513019a17 100644 --- a/packages/mnemosyne/package.json +++ b/packages/mnemosyne/package.json @@ -34,7 +34,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write ." }, diff --git a/packages/natives/package.json b/packages/natives/package.json index f9904ceac..8ac6517e8 100644 --- a/packages/natives/package.json +++ b/packages/natives/package.json @@ -33,7 +33,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write .", "embed:native": "bun scripts/embed-native.ts", diff --git a/packages/tui/package.json b/packages/tui/package.json index 86dcaa95e..41e211132 100644 --- a/packages/tui/package.json +++ b/packages/tui/package.json @@ -32,7 +32,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test test/*.test.ts", + "test": "bun test --parallel test/*.test.ts", "fix": "biome check --write --unsafe .", "fmt": "biome format --write ." }, diff --git a/packages/typescript-edit-benchmark/package.json b/packages/typescript-edit-benchmark/package.json index bd37af81d..a9b4ee7e0 100644 --- a/packages/typescript-edit-benchmark/package.json +++ b/packages/typescript-edit-benchmark/package.json @@ -19,7 +19,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write .", "generate": "bun run src/generate.ts --typescript-dir /tmp/pi-mono-source --count-per-type 4", diff --git a/packages/utils/package.json b/packages/utils/package.json index 17877fe23..a5e5efec5 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -26,7 +26,7 @@ "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", - "test": "bun test", + "test": "bun test --parallel", "fix": "biome check --write --unsafe .", "fmt": "biome format --write ." },