Repository navigation
fix: 짧은 머리 추천 길이 필터 및 기존 추천 자동 갱신 - #185
Merged
Merged
Conversation
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.
변경 내용
짧은 머리 사용자가 최소 길이가 누락된 미디엄/긴 스타일을 추천받고, 화면 재방문 시 같은 잘못된 저장 결과를 계속 받는 문제를 수정합니다.
/recommendations/latest에서 현재 입력을 검증하고 프로필·시술 이력·카탈로그·알고리즘이 바뀌면 자동 재생성합니다. 입력이 같으면 기존 실행을 재사용하며, 과거 실행 단건 조회는 유지합니다.작업 목적
운영에서는 SHORT 프로필에 미디엄 레이어드 웨이브가 1위로 저장되어 있었습니다. 최소 길이가 NULL이면 시술 이력 점수가 길이 부적합을 덮었고, 최신 조회에는 재검증이 없었습니다. 배포 후 기존 사용자도 추천 화면을 다시 열면 수정된 결과를 받도록 합니다.
테스트 방법
./gradlew test build전체 테스트 및 빌드 통과기타 사항
DB 마이그레이션이나 운영 데이터 직접 수정은 없습니다. main 병합으로 기존 GitHub Actions Deploy 워크플로를 실행합니다. 최신 조회는 오래된 결과를 ACTIVE 결과로 갱신할 수 있으며, 같은 입력의 추천을 무작위로 섞지는 않습니다.