Skip to content

: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.

chore(ci): don't gate master Storybook on observe-purpose VR result (#59120)

Sandy Spicer2ba3b3a78931
diff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.yml
index 69cfc609141e..7e107df75e0c 100644
--- a/.github/workflows/ci-storybook.yml
+++ b/.github/workflows/ci-storybook.yml
@@ -480,6 +480,12 @@ jobs:
run: cd products/visual_review/cli && npm ci && npm run build && npm link
- name: Complete Visual Review run
+ # On master pushes the run was created with --purpose observe (tracking-only),
+ # but `vr run complete` still exits 1 whenever visual changes are detected.
+ # That makes the Storybook check fail on master even though observe runs are
+ # not gating by design. Treat exit 1 as informational on push events; PRs
+ # still gate as before.
+ continue-on-error: ${{ github.event_name == 'push' }}
env:
VR_TOKEN: ${{ secrets.VR_API_TOKEN }}
run: |