Skip to content

ci: extract visual-regression into separate workflow with path filters#167

Merged
hakilee merged 2 commits intov1from
ci/visual-regression-path-filters
Apr 8, 2026
Merged

ci: extract visual-regression into separate workflow with path filters#167
hakilee merged 2 commits intov1from
ci/visual-regression-path-filters

Conversation

@hakilee
Copy link
Copy Markdown
Contributor

@hakilee hakilee commented Apr 8, 2026

Summary

  • visual-regression 잡을 ci.yml에서 별도 워크플로우(visual-regression.yml)로 분리
  • 웹 컴포넌트 관련 경로가 변경될 때만 트리거되도록 paths 필터 추가
  • React Native, Figma 등 웹과 무관한 패키지 변경 시 불필요한 visual regression 실행 방지

Test plan

  • 웹 관련 패키지(packages/react, packages/css 등) 변경 시 워크플로우가 트리거되는지 확인
  • 웹 무관 패키지(packages/react-native-icons 등) 변경 시 워크플로우가 스킵되는지 확인
  • pnpm run lint 통과

🤖 Generated with Claude Code

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 8, 2026

⚠️ No Changeset found

Latest commit: f9125ba

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added size/l Large PR (< 500 lines) ci CI/CD related changes labels Apr 8, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cocso-ui Ready Ready Preview, Comment Apr 8, 2026 2:53pm
cocso-ui-storybook Ready Ready Preview, Comment Apr 8, 2026 2:53pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2026

Test Coverage

Package Statements Branches Functions Lines
@cocso-ui/react 🟢 99.17% 🟢 95.81% 🟢 98.92% 🟢 99.14%
@cocso-ui/recipe 🟢 94.03% 🟢 96.1% 🟢 100% 🟢 94%
@cocso-ui/codegen 🟢 91.26% 🟡 82.14% 🟢 100% 🟢 92.74%
@cocso-ui/figma 🟢 95.78% 🟡 87.73% 🟢 100% 🟢 95.75%
@cocso-ui/baseframe 🟢 95.96% 🟢 90.39% 🟢 100% 🟢 95.89%
@cocso-ui/react — File Coverage
File Stmts Branch Funcs Lines
src/components/avatar/avatar.tsx 🟡 85.71% 🟡 80% 🟢 100% 🟡 85.71%
src/components/typography/typography.tsx 🟢 97.61% 🟢 95.23% 🟢 95% 🟢 97.36%
src/cn.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/accordion/accordion.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/alert/alert.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/badge/badge.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/breadcrumb/breadcrumb.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/button/button.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/card/card.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/checkbox/checkbox.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/day-picker/day-picker.tsx 🟢 100% 🔴 66.66% 🟢 100% 🟢 100%
src/components/dialog/dialog.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/dropdown/dropdown.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/field/field.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/input/input.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/link/link.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/month-picker/month-picker.tsx 🟢 100% 🔴 50% 🟢 100% 🟢 100%
src/components/one-time-password-field/one-time-password-field.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/pagination/pagination.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/popover/popover.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/progress/progress.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/radio-group/radio-group.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/select/select.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/skeleton/skeleton.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/spinner/spinner.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/stock-quantity-status/stock-quantity-status.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/switch/switch.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/tab/tab.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/components/tooltip/tooltip.tsx 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/accordion.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/checkbox.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/dialog.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/menu.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/merge-props.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/popover.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/radio-group.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/radio.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/switch.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/tabs.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/tooltip.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/primitives/use-render.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/color.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/radius.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/spacing.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/token/typography.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
@cocso-ui/recipe — File Coverage
File Stmts Branch Funcs Lines
src/recipes/alert.recipe.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/recipes/avatar.recipe.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/recipes/breadcrumb.recipe.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/recipes/card.recipe.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/recipes/progress.recipe.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/recipes/skeleton.recipe.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/utils/semantic-mapping.ts 🔴 0% 🟢 100% 🟢 100% 🔴 0%
src/resolvers/react-styles.ts 🟢 94.59% 🟡 78.57% 🟢 100% 🟢 94.44%
src/define-recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/types.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/badge.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/button.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/checkbox.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/dialog.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/input.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/link.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/pagination.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/radio-group.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/select.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/spinner.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/stock-quantity-status.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/switch.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/recipes/typography.recipe.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/resolvers/react.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/utils/property-categories.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/utils/token-classification.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
@cocso-ui/codegen — File Coverage
File Stmts Branch Funcs Lines
src/generate-recipe.ts 🟢 90.9% 🟡 83.33% 🟢 100% 🟢 92.07%
src/generate.ts 🟢 93.33% 🟡 75% 🟢 100% 🟢 96.55%
@cocso-ui/figma — File Coverage
File Stmts Branch Funcs Lines
src/generators/recipe-resolver.ts 🟢 95.27% 🟡 86.17% 🟢 100% 🟢 95.23%
src/core/color-converter.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/token-converter.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
@cocso-ui/baseframe — File Coverage
File Stmts Branch Funcs Lines
src/core/parsers/value.ts 🟢 92.71% 🟢 90.9% 🟢 100% 🟢 92.61%
src/core/transforms/validate.ts 🟢 95.52% 🔴 68.18% 🟢 100% 🟢 95.52%
src/core/builders/css-vars.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/builders/tailwind.ts 🟢 100% 🟢 94.73% 🟢 100% 🟢 100%
src/core/builders/utils/css.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/builders/utils/naming.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/parsers/ast.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/transforms/build.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/core/transforms/resolve.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%
src/utils/fs.ts 🟢 100% 🟢 100% 🟢 100% 🟢 100%

Updated: 2026-04-08 14:53 UTC

@hakilee hakilee changed the base branch from main to v1 April 8, 2026 14:16
Only trigger visual regression when web-related packages change
(react, css, recipe, codegen, baseframe, storybook). Non-web changes
like react-native-icons no longer trigger the workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hakilee
Copy link
Copy Markdown
Contributor Author

hakilee commented Apr 8, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7c2bc7063

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/visual-regression.yml
Include packages/react-icons/** and ecosystem/icons/** in the
paths filter so icon-only changes also trigger visual regression
tests, since Storybook and React components consume these icons.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hakilee hakilee merged commit 70d6eef into v1 Apr 8, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD related changes size/l Large PR (< 500 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant