Skip to content

ci: replace Chromatic with Pixel#1041

Open
EhabY wants to merge 1 commit into
mainfrom
replace-chromatic-with-pixel
Open

ci: replace Chromatic with Pixel#1041
EhabY wants to merge 1 commit into
mainfrom
replace-chromatic-with-pixel

Conversation

@EhabY

@EhabY EhabY commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Replaces Chromatic with Pixel for visual regression testing, mirroring the coder/coder setup. Resolves DEVEX-634.

  • New pixel CI job: installs Chromium, runs pixel-storybook, which builds the Storybook and snapshots every story in light and dark. Main builds auto-approve via PIXEL_AUTO_REVIEW, like Chromatic's autoAcceptChanges did, so squash merges don't block CI.
  • pixel.jsonc holds the project ID and snapshot matrix. Chrome-only at the default viewport, since the webviews only ever render inside VS Code.
  • Deps: chromatic out, @coder/pixel-storybook and playwright-core in, plus a build-script allowance for odiff-bin (image diffing).
  • New .prettierrc.json stops Prettier from adding trailing commas in .jsonc files, which VS Code's JSONC mode warns about.

PIXEL_KEY is already set on the repo. The job skips forks and Dependabot since they can't read it.

@linear-code

linear-code Bot commented Jul 18, 2026

Copy link
Copy Markdown

DEVEX-634

@EhabY
EhabY force-pushed the replace-chromatic-with-pixel branch 2 times, most recently from 1bc1e01 to daabceb Compare July 18, 2026 21:31
Swap visual regression testing from Chromatic to Pixel
(pixel.coder.com), following the setup in coder/coder. The Pixel CI
job installs Chromium, then pixel-storybook builds the Storybook
(buildCommand in pixel.jsonc) and snapshots every story in the light
and dark themes. Mainline builds auto-approve snapshots to avoid
blocking CI after squash merges.
@EhabY
EhabY force-pushed the replace-chromatic-with-pixel branch from daabceb to 16518c0 Compare July 18, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant