Merged
Size
S
Change Breakdown
CI/CD70%
Config20%
Performance10%
#28235ci: Defer Chromatic visual regression tests

Visual regression tests deferred to PR review

Chromatic visual regression checks now run only after a PR receives an approved review, cutting unnecessary CI runs and conserving resources on the n8n monorepo.

Chromatic visual regression tests were running on every pull request, regardless of whether changes were ready for visual inspection. A new workflow now defers these checks until a reviewer has approved the PR — signaling that code is considered stable and worth examining visually. The visual test suite consumes meaningful CI resources, so moving it later in the PR lifecycle reduces wasted compute on changes that may still be in flux. Design system changes continue to be caught, just at a more appropriate moment. This optimization applies to the frontend CI pipeline in the n8n monorepo.

View Original GitHub DescriptionFact Check

Summary

Moves Chromatic visual regression checks to a new workflow that triggers only upon an approved pull request review.

This change optimizes CI resource usage by executing these tests later in the PR lifecycle, specifically when changes are considered more stable and ready for a final visual review. The ci-pull-requests workflow no longer runs Chromatic or detects design system changes, offloading this to the new ci-pull-request-review workflow.

Related Linear tickets, Github issues, and Community forum posts

<!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/ --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. -->

Review / Merge checklist

  • PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
  • Docs updated or follow-up ticket created.
  • Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
  • PR Labeled with Backport to Beta, Backport to Stable, or Backport to v1 (if the PR is an urgent fix that needs to be backported)
© 2026 · via Gitpulse