Skip to content

chore(repo): data를 main으로 승격 - #2993

Merged
twoimo merged 5 commits into
mainfrom
data
Sep 22, 2026
Merged

twoimo merged 5 commits into
mainfrom
data

Conversation

@twoimo

@twoimo twoimo commented Sep 22, 2026

Copy link
Copy Markdown
Owner

무엇을 하나

data를 main으로 승격합니다. 승격 경로(develop -> data -> main)의 마지막 단계입니다.

내용

확인

develop, data에서 통과한 검사 결과를 그대로 승격합니다. 이 병합은 배포를 실행하지 않습니다.

리뷰 목록을 그릴 때마다 리뷰 행 수 x 승인 맛집 수만큼 후보를 다시 훑던 경로를
한 번만 만드는 색인 조회로 바꿨습니다. 고르는 맛집은 그대로입니다.

- lib/restaurant-review-lookup.ts: createRelatedRestaurantReviewIndex 추가.
  주소 버킷과 직접 ID 버킷만 만들고, 버킷 커서를 옮겨 가장 앞선 항목부터 봅니다.
  주소가 겹치지 않는 맛집은 선형 탐색의 주소 게이트에서 이미 탈락하므로 다시 보지 않습니다.
- lib/restaurant-visit-matching.ts: createCanonicalVisitedLookup 추가.
  기존 findCanonicalVisitedRestaurant는 단건 조회용 기준 구현으로 남깁니다.
- 피드, 마이페이지 리뷰/도장, 북마크 6개 호출부에서 색인을 루프 밖에서 한 번만 만듭니다.

검증
- tests-unit 2364 pass / 0 fail (+ isolated 150 pass / 0 fail), typecheck:parity 0 diagnostics, eslint 0
- tests-unit/restaurant-visit-matching-index.test.ts: 선형 탐색과 선택 동일성 13개 케이스(무작위 300회 비교 포함)
- performance/review-canonical-index-20260922: 동결 사본 대비 결과 지문 동일, 두 시나리오 모두 승인.
  unique-address 1200x400 후보 검사 165,150 -> 300, 중앙값 48.11ms -> 0.42ms (113.5배)
  shared-address(퇴화) 121,095 -> 1,095, 중앙값 43.23ms -> 0.45ms (95.6배)
- 로컬 실데이터(승인 751 / 삭제 890): 807건이 승인 카드로 해석, 불일치 0건, 후보 검사 562,736 -> 823
…260922

perf(web): 승인 맛집 canonical 조회를 주소/직접 ID 색인으로 전환
…p-20260922j

chore(repo): main/data를 develop으로 동기화
chore(repo): develop을 data로 승격
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@twoimo
twoimo merged commit e3ddea2 into main Sep 22, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant