feat: expand cross-platform investigation workflows

This commit is contained in:
morluto
2026-07-20 08:08:39 +00:00
parent b537ebfa34
commit dffc81c865
672 changed files with 13013 additions and 2302 deletions
+24 -23
View File
@@ -10,37 +10,38 @@ const CANONICAL_TEMPORARY_DIRECTORY = realpathSync(tmpdir());
const SERIAL_INTEGRATION_TESTS = [
"tests/browserCli.test.ts",
"tests/cliOutput.test.ts",
"tests/ghidraClient.test.ts",
PROCESS_CAPTURE_TEST,
"tests/runtime.test.ts",
"tests/sessionMcp.test.ts",
];
const dualCoreProjects =
availableParallelism() === 2
? {
maxWorkers: 2,
projects: [
{
test: {
name: "parallel",
include: TEST_FILES,
exclude: SERIAL_INTEGRATION_TESTS,
},
},
{
test: {
name: "serial-integration",
include: SERIAL_INTEGRATION_TESTS,
fileParallelism: false,
},
},
],
}
: {};
const isolatedProjects = {
maxWorkers: Math.min(2, availableParallelism()),
projects: [
{
test: {
name: "parallel",
include: TEST_FILES,
exclude: SERIAL_INTEGRATION_TESTS,
sequence: { groupOrder: 0 },
},
},
{
test: {
name: "serial-integration",
include: SERIAL_INTEGRATION_TESTS,
fileParallelism: false,
sequence: { groupOrder: 1 },
},
},
],
};
export default defineConfig({
test: {
include: TEST_FILES,
env: { TMPDIR: CANONICAL_TEMPORARY_DIRECTORY },
...dualCoreProjects,
...isolatedProjects,
retry: 2,
reporters: ["default", "verbose"],
coverage: {