perf: enable test.concurrent for 31 independent E2E tests

Convert 18 skill-e2e, 11 routing, and 2 codex tests from sequential
to test.concurrent. Only design-consultation tests (4) remain sequential
due to shared designDir state. Expected ~6x speedup on Teams high-burst.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-21 10:01:55 -07:00
parent 641ea32a74
commit a25c7b71c5
3 changed files with 28 additions and 28 deletions

View File

@@ -103,7 +103,7 @@ describeE2E('Skill Routing E2E — Developer Journey', () => {
evalCollector?.finalize();
});
test('journey-ideation', async () => {
test.concurrent('journey-ideation', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-ideation-'));
try {
initGitRepo(tmpDir);
@@ -137,7 +137,7 @@ describeE2E('Skill Routing E2E — Developer Journey', () => {
}
}, 150_000);
test('journey-plan-eng', async () => {
test.concurrent('journey-plan-eng', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-plan-eng-'));
try {
initGitRepo(tmpDir);
@@ -189,7 +189,7 @@ describeE2E('Skill Routing E2E — Developer Journey', () => {
}
}, 150_000);
test('journey-think-bigger', async () => {
test.concurrent('journey-think-bigger', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-think-bigger-'));
try {
initGitRepo(tmpDir);
@@ -241,7 +241,7 @@ describeE2E('Skill Routing E2E — Developer Journey', () => {
}
}, 180_000);
test('journey-debug', async () => {
test.concurrent('journey-debug', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-debug-'));
try {
initGitRepo(tmpDir);
@@ -301,7 +301,7 @@ export default app;
}
}, 150_000);
test('journey-qa', async () => {
test.concurrent('journey-qa', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-qa-'));
try {
initGitRepo(tmpDir);
@@ -340,7 +340,7 @@ export default app;
}
}, 150_000);
test('journey-code-review', async () => {
test.concurrent('journey-code-review', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-code-review-'));
try {
initGitRepo(tmpDir);
@@ -383,7 +383,7 @@ export default app;
}
}, 150_000);
test('journey-ship', async () => {
test.concurrent('journey-ship', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-ship-'));
try {
initGitRepo(tmpDir);
@@ -425,7 +425,7 @@ export default app;
}
}, 150_000);
test('journey-docs', async () => {
test.concurrent('journey-docs', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-docs-'));
try {
initGitRepo(tmpDir);
@@ -465,7 +465,7 @@ export default app;
}
}, 150_000);
test('journey-retro', async () => {
test.concurrent('journey-retro', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-retro-'));
try {
initGitRepo(tmpDir);
@@ -511,7 +511,7 @@ export default app;
}
}, 150_000);
test('journey-design-system', async () => {
test.concurrent('journey-design-system', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-design-system-'));
try {
initGitRepo(tmpDir);
@@ -549,7 +549,7 @@ export default app;
}
}, 150_000);
test('journey-visual-qa', async () => {
test.concurrent('journey-visual-qa', async () => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'routing-visual-qa-'));
try {
initGitRepo(tmpDir);