The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
ci(desktop): shard the UI vitest suite 3 ways to cut the merge-gate critical path
kshitij8c05906acf7c
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex dc9f93392fd..ec2264ee046 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -62,10 +62,12 @@"test": "vitest run","preview": "node scripts/assert-root-install.mjs && vite preview --host 127.0.0.1 --port 4174","check:test:desktop:platforms": "npm run test:desktop:platforms",- "check:test:ui": "npm run test:ui",+ "check:test:ui:shard-1of3": "vitest run --project ui --shard=1/3",+ "check:test:ui:shard-2of3": "vitest run --project ui --shard=2/3",+ "check:test:ui:shard-3of3": "vitest run --project ui --shard=3/3","check:test:desktop:all": "npm run test:desktop:all","check:lint": "npm run typecheck && npm run lint",- "check": "npm run check:lint && npm run check:test:ui && npm run test:desktop:platforms && npm run test:desktop:all",+ "check": "npm run check:lint && npm run test:ui && npm run test:desktop:platforms && npm run test:desktop:all","test:e2e": "npm run build && playwright test e2e/","test:e2e:visual": "npm run build && WLR_BACKENDS=headless WLR_NO_HARDWARE_CURSORS=1 cage -- npx playwright test e2e/ --reporter=list","test:e2e:update-snapshots": "npm run build && WLR_BACKENDS=headless WLR_NO_HARDWARE_CURSORS=1 cage -- npx playwright test e2e/ --reporter=list --update-snapshots"