: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(ci): give storybook build headroom over degraded runners (#68875)
Paul D'Ambrad193d9e44e58
diff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.ymlindex fd73d305a311..5c63d5dd4341 100644--- a/.github/workflows/ci-storybook.yml+++ b/.github/workflows/ci-storybook.yml@@ -165,7 +165,11 @@ jobs:build-storybook:name: Build Storybook (depot-ubuntu-latest)runs-on: depot-ubuntu-latest- timeout-minutes: 15+ # The Vite build normally takes ~3.5 minutes, but a degraded runner can stretch+ # the memory-heavy bundling phase past 15 minutes — leave headroom so a slow+ # runner yields a slow-but-green build instead of a cancelled one that hard-fails+ # the visual-regression gate.+ timeout-minutes: 30needs: changesif: needs.changes.outputs.frontend == 'true'steps:@@ -211,13 +215,6 @@ jobs:path: ${{ steps.pnpm-store.outputs.path }}key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}- - name: Restore webpack build cache- uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3- with:- path: common/storybook/node_modules/.cache/- key: ${{ runner.os }}-webpack-storybook-${{ hashFiles('pnpm-lock.yaml') }}- restore-keys: ${{ runner.os }}-webpack-storybook--- name: Build Storybookenv:NODE_OPTIONS: --max-old-space-size=32768@@ -225,13 +222,6 @@ jobs:bin/turbo --filter=@posthog/storybook preparepnpm --filter=@posthog/storybook build --test- - name: Save webpack build cache- if: github.ref == 'refs/heads/master'- uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3- with:- path: common/storybook/node_modules/.cache/- key: ${{ runner.os }}-webpack-storybook-${{ hashFiles('pnpm-lock.yaml') }}-- name: Upload Storybook build artifactuses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0with: