Conversation
- 딥링크가 쿠키를 심고 자기 자신으로 302 하는 바운스를 쓴다(airbridge 실측, al.wconcept.co.kr). 쿠키를 안 들고 있으면 같은 자리를 계속 돌다 redirect 상한을 소진해 확정 실패가 된다. 지금 fetch 경로는 쿠키를 하나도 보관하지 않아 그런 링크를 구조적으로 못 푼다 - 저장소는 요청 스코프다. HttpClient 하나를 모든 fetch 가 공유하므로 전역 저장소면 남의 링크에서 받은 쿠키가 다음 사용자 요청에 실린다. RequestScopedDnsResolver 와 같은 이유·같은 모양으로 ThreadLocal 에 두고 fetch 가 끝날 때 비운다 - 검증은 실제 링크로 했다. E2E 를 수동 활성화해 돌려 바운스를 빠져나와 W컨셉 상품 페이지에 도달하는 것을 확인했다. 쿠키가 fetch 경계와 스레드 경계를 넘지 않는 것은 단위 테스트로 고정했다 - 이 변경만으로는 운영 동작이 바뀌지 않는다. 현재 UA 는 Client Hints 를 보내지 않아 그 바운스를 타지 않기 때문이다. Client Hints 를 켜려면 이게 먼저 있어야 한다
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
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.
Situation
Client Hints 도입 차단
Sec-CH-UA전송 시 airbridge 딥링크의 쿠키 바운스 발동fetch 경로의 쿠키 보관 없음
Task
한 링크 안에서 쿠키 유지
Action
요청 스코프 쿠키 저장소 추가
CookieStore구현, 저장 위치는 ThreadLocalRequestScopedCookieStore·PageFetchHttpClientConfig·HttpPageFetcher검증
Result
운영 동작 변화 없음
후속
연관 이슈