: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
fix(ci): check toolbar CSP before base reset (#98856)
posthog[bot]5fd9fca6fadc
diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex c3d098122a8b..cade63b8887d 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -491,7 +491,7 @@ jobs:run: pnpm exec markdownlint-cli2 --config .config/.markdownlint-cli2.jsonc "**/*.{md,mdx}"frontend-bundle-size:- name: Frontend bundle size+ name: Frontend checksneeds: [changes]# Not on the hourly cron: the vs-base comparison build is pull_request-only,# so a cron run measures an absolute size with nothing to compare it against.@@ -575,6 +575,9 @@ jobs:- name: Check toolbar graph stays inside its module boundaryrun: pnpm --filter=@posthog/frontend check-toolbar-graph+ - name: Check toolbar for CSP eval violations+ run: pnpm --filter=@posthog/frontend check-toolbar-csp-eval+# Keep the PR-side poster available after the base reset below. This is especially# important on the PR that introduces or updates the poster itself.- name: Preserve PR toolbar report poster@@ -685,9 +688,6 @@ jobs:finode frontend/bin/check-eager-graph.mjs --assert-report "$REPORT" --fail-forbidden-hits- - name: Check toolbar for CSP eval violations- run: pnpm --filter=@posthog/frontend check-toolbar-csp-eval-- name: Calculate dist folder sizeid: dist-size# After the base build the workspace's dist/ holds the BASE branch's build, so