Repository navigation
fix: 편의점 재고 조회 Mac 중계 연결 - #209
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.
CU·세븐일레븐은 같은 공식 API를 요청해도 운영 Worker에서 HTML 또는 403을 받고, Mac에서는 상품과 실제 재고를 정상 조회합니다. 기존 Mac 중계에 고정 API 경로를 추가하고 REST·MCP에서 같은 인증 전송을 사용하도록 연결했습니다. GS25 상품 검색도 중계를 사용하며, 재고는 유효한 인증키가 없으면 명확한 오류를 반환합니다.
편의점 토큰·호출 원장·로그를 영화관과 분리했습니다. 임의 URL과 헤더는 받지 않고, 요청·응답 크기와 기한·동시성을 제한합니다. 미확인 또는 잘못된 수량을 품절 0개로 표시하지 않도록 검증합니다.
검증: 전체 check·타입·린트·빌드, 212개 파일의 2,322개 테스트와 커버리지 대상의 4개 항목 100%를 통과했습니다. Mac 원본 호출에서는 CU 레쓰비 강남푸르지오점 22개·강남국기원점 12개, 세븐일레븐 실제 수량 11/8/9개, GS25 상품 검색을 확인했습니다. REST·MCP 중계 연결 회귀 테스트도 통과했습니다. GS25 실재고 인증은 해결되지 않았습니다.