Repository navigation
fix: 일본 다이소 상세 차단 시 정확한 상품 코드로 조회 - #287
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.
운영 Worker에서는 일본 다이소 상품 상세의 JSON과 HTML이 모두 403으로 차단됩니다. 반면 공식 상품 코드 검색은 200으로 같은 상품 ID와 220 JPY 가격을 반환하는 것을 확인했습니다.
상세 HTML의 403에 한해서 공식 코드 검색을 사용하고 ID가 정확히 일치하는 상품만 반환합니다. 대체 조회임을 note로 알리고, 확인하지 못한 온라인 판매 가능 여부는 null로 유지합니다. 일치 상품이 없거나 검색이 실패하면 성공·품절로 바꾸지 않고 오류를 반환합니다.
403 대체 조회, 다른 상품 제외, 불일치·검색 실패·403 이외 오류에 대한 회귀 검증과 독립 리뷰를 수행합니다. 전체 검사·100% 커버리지·빌드 후 운영 REST/CLI/MCP로 다시 확인하며 CLI 1.3.0 발행은 이 검증까지 보류합니다.