Skip to content

Commit c843ea5

Browse files
roomoteedelauna
authored andcommitted
build(e2e): drop duplicate webview build covered by the Turbo bundle graph
The src/turbo.json bundle task already depends on @roo-code/vscode-webview#build, and a cache hit restores its outputs, so the explicit pnpm --filter @roo-code/vscode-webview build in test:ci, test:ci:mock, and themes:build repeated the Vite build for nothing (about 21s per mocked E2E run). Verified by deleting src/webview-ui/build and running the modified scripts: mocked E2E (utils.test, restart-persistence.test) passes and themes:check reports fixtures current. heap:build already trusted the bundle graph alone. Refs #2289
1 parent 1285702 commit c843ea5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/vscode-e2e/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"lint": "eslint src --ext=ts --max-warnings=0",
66
"check-types": "tsc -p tsconfig.esm.json --noEmit",
77
"format": "prettier --write src",
8-
"test:ci": "pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && pnpm test:run",
9-
"test:ci:mock": "pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && USE_MOCK=true pnpm test:run",
8+
"test:ci": "pnpm -w bundle && pnpm test:run",
9+
"test:ci:mock": "pnpm -w bundle && USE_MOCK=true pnpm test:run",
1010
"test:record": "AIMOCK_RECORD=true pnpm test:ci",
1111
"test:run": "rimraf out && tsc -p tsconfig.json && dotenv -e .env.local -- node ./out/runTest.js",
12-
"themes:build": "pnpm -w bundle && pnpm --filter @roo-code/vscode-webview build && rimraf out && tsc -p tsconfig.json",
12+
"themes:build": "pnpm -w bundle && rimraf out && tsc -p tsconfig.json",
1313
"themes:update": "pnpm themes:build && node ./out/theme-fixtures/generate.js update",
1414
"themes:check": "pnpm themes:build && node ./out/theme-fixtures/generate.js check",
1515
"themes:test": "pnpm --filter @roo-code/types build && rimraf out && tsc -p tsconfig.json && node --test ./out/theme-fixtures/fixtures.test.js",

0 commit comments

Comments
 (0)