:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(storybook): try three jest workers per visual regression shard (#128492)
Georges-Antoine Assidec7cd61739c
diff --git a/common/storybook/package.json b/common/storybook/package.jsonindex 1341477cefdf..38ab11babf85 100644--- a/common/storybook/package.json+++ b/common/storybook/package.json@@ -5,8 +5,8 @@"build:workers": "cd ../.. && node frontend/bin/watch-workers.mjs --outdir common/storybook/.workers","build": "pnpm build:products && pnpm build:workers && DEBUG=0 NODE_OPTIONS=--max-old-space-size=8192 storybook build -o dist","start": "pnpm build:products && pnpm build:workers && DEBUG=0 NODE_OPTIONS=--max-old-space-size=8192 storybook dev -p 6006 --no-open",- "test:visual:ci:update": "test-storybook -u --junit --no-index-json --maxWorkers=2",- "test:visual:ci:verify": "test-storybook --ci --junit --no-index-json --maxWorkers=2",+ "test:visual:ci:update": "test-storybook -u --junit --no-index-json --maxWorkers=3",+ "test:visual:ci:verify": "test-storybook --ci --junit --no-index-json --maxWorkers=3","test:visual:debug": "pnpm build:products && PWDEBUG=1 NODE_OPTIONS=--max-old-space-size=16384 test-storybook --browsers chromium webkit --no-index-json","test:visual:update": "pnpm build:products && cd ../.. && rm -rf frontend/__snapshots__/__failures__/ && docker compose -f docker-compose.playwright.yml run --rm -it --build playwright pnpm test:visual:update:docker --url http://host.docker.internal:6006","test:visual:update:docker": "pnpm build:products && NODE_OPTIONS=--max-old-space-size=16384 test-storybook -u --browsers chromium webkit --no-index-json"diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex a9ff690b3cf3..1026c89478e2 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -11997,7 +11997,7 @@ snapshots:scenes-app-heatmap--generating--dark:hash: v1.k794b7964.8003cb2d4c4ef9431e8dbb4e82ad6b870b6aeacfe088bf36fada5c9a1c8b652a.NwknZ4bL47QkPuPqVIEQOvud-9Y2zRzzxkoAv7ywW4cscenes-app-heatmap--generating--light:- hash: v1.k794b7964.c0cd8928908fab30464cb146480c27d04e80843c4e8183492754f36dcdde4dee.gNjj8CsPbJypPeIhw1in8x0RIQNyN4iR5pkEtsPWBhs+ hash: v1.k794b7964.64cddd457ccb0eaa3adddea6acc6588db669646ebd4e0a7cb71384bbf11cb4eb.Gh0C1rKwgVZzWl2B4tpLnDSGs9-ldWXr_Ih-q1ryYngscenes-app-heatmap--historical-day--dark:hash: v1.k794b7964.ba11bfaa9d62270a962e25b7663ffb58b7488c52e2c831f7646574e9156c28e0.iyWtpTIfBeYvKH6nubrOpQAUB6KuBLpP5tGz5AQsJaMscenes-app-heatmap--historical-day--light: