Repository navigation
chore(frontend): 시각 회귀 검사가 안티에일리어싱 차이로 흔들리지 않게 수정 - #201
Merged
Merged
Conversation
같은 빌드끼리도 둥근 모서리 등의 안티에일리어싱이 실행마다 몇 픽셀씩 달라져 바이트 비교가 가끔 실패했다(/help, /apps/new 등). pixelmatch의 안티에일리어싱 판별로 그런 픽셀은 세지 않고, 크기가 다르거나 그 밖의 픽셀이 하나라도 다르면 실패한다. 실패하면 diff 이미지도 남긴다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Pull Request 요약시각 회귀 검사에서 안티에일리어싱 차이로 인한 테스트 불안정성을 해소하기 위해 pixelmatch와 pngjs를 devDependencies에 추가하고, pixelmatch 기반 픽셀 단위 비교 방식을 도입했습니다.
검토한 범위에서는 별도로 지적할 문제가 없습니다. 복수 모델 · 입력 9,845 · 출력 674 · 합계 11,323 토큰 |
sunwoo162
added a commit
that referenced
this pull request
Nov 29, 2026
Co-authored-by: sunwoo162 <205418898+sunwoo162@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
시각 회귀 검사(#191)는 base와 head 스크린샷을 바이트 단위로 비교했습니다. 그런데 같은 빌드끼리 비교해도 둥근 모서리, 회전한 아이콘 같은 곳의 안티에일리어싱이 실행마다 몇 픽셀(예: 19px)씩 달라져 가끔 실패했습니다. 페이지 분해 작업 중 로컬에서
/help,/apps/new,/teams/demo-team/apps/new가 번갈아 흔들렸고, develop끼리 비교해도 재현됐습니다.수정
threshold 0.1,includeAA: false).*.diff.png)도 아티팩트로 남깁니다.pngjs@7.0.0,pixelmatch@8.0.0(버전 고정)확인
/help이미지 쌍(안티에일리어싱 차이)은 차이 0px로 판정했습니다.npm run check통과. 이 PR의 CI 시각 회귀 잡이 새 비교 방식으로 develop과 비교합니다.🤖 Generated with Claude Code