From 531776a1337d6dd1eba9b60f3380bf42a1376db7 Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Tue, 2 Jun 2026 08:49:45 -0500 Subject: [PATCH 1/2] ci: trigger visual diff on tests/visual changes Baseline-only PRs should run Screenshot diff now that home.png is committed. Co-authored-by: Cursor --- .github/workflows/visual-diff.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/visual-diff.yml b/.github/workflows/visual-diff.yml index 744233c..11e3f77 100644 --- a/.github/workflows/visual-diff.yml +++ b/.github/workflows/visual-diff.yml @@ -22,6 +22,9 @@ on: - 'styles/**' - 'tailwind.config.js' - 'postcss.config.js' + # Baseline/spec-only PRs (e.g. seed-visual-baselines-on-linux) must + # exercise Screenshot diff now that tests/visual/__screenshots__/ is committed. + - 'tests/visual/**' concurrency: group: visual-diff-${{ github.event.pull_request.number }} -- 2.45.2 From 414c798c338a0997a6f4ced5c90e0c1e66e471e4 Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Tue, 2 Jun 2026 09:37:16 -0500 Subject: [PATCH 2/2] ci: trigger visual diff on tests/visual changes Co-authored-by: Cursor --- .github/workflows/visual-diff.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/visual-diff.yml b/.github/workflows/visual-diff.yml index 11e3f77..fc352d3 100644 --- a/.github/workflows/visual-diff.yml +++ b/.github/workflows/visual-diff.yml @@ -22,8 +22,8 @@ on: - 'styles/**' - 'tailwind.config.js' - 'postcss.config.js' - # Baseline/spec-only PRs (e.g. seed-visual-baselines-on-linux) must - # exercise Screenshot diff now that tests/visual/__screenshots__/ is committed. + # Baseline-only PRs (specs + committed snapshots) should still run + # visual diff now that home.png is in tests/visual/__screenshots__/. - 'tests/visual/**' concurrency: -- 2.45.2