Skip to content

chore(repo): develop을 data로 승격 - #2992

Merged
twoimo merged 5 commits into
datafrom
develop
Sep 22, 2026
Merged

twoimo merged 5 commits into
datafrom
develop

Conversation

@twoimo

@twoimo twoimo commented Sep 22, 2026

Copy link
Copy Markdown
Owner

무엇을 하나

develop을 data로 승격합니다. 승격 경로(develop -> data -> main)에 따라 data가 develop의 내용을 그대로 받습니다.

내용

확인

develop에서 통과한 검사 결과를 그대로 승격합니다. 파일 변경은 #2990의 10개 파일(+894/-36)입니다.

chore: data → main 승격 (데드 export 정리)
리뷰 목록을 그릴 때마다 리뷰 행 수 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으로 동기화
@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.

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tzudong Ready Ready Preview Sep 22, 2026 1:48am UTC

@twoimo
twoimo merged commit bc4f336 into data Sep 22, 2026
24 checks passed

This branch was successfully deployed

1 active deployment
Preview — efabe543 Deployed Sep 22, 2026 by vercel[bot]
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