추출 계약의 요청 필드를 authorized 하나로 정리 - #52
Merged
Merged
Conversation
- headlessFirst(어느 플랫폼을 처음부터 브라우저로 보낼지)는 최적화 힌트였고, 불완전 승격이 들어온 뒤로는 정책 없이도 같은 결과에 도달해 값을 넣을 유인이 사라졌다. 필드를 걷어낸다 - 대신 authorized 를 받는다: 이 대상이 플랫폼의 명시적 허락을 받았는가. 추출 경로는 이 값과 무관하게 같고, true 일 때 열리는 것은 렌더 서비스의 우회 수단(지문 보정·프록시)뿐이다 - 브라우저를 여는 것 자체에는 허락이 필요 없다는 것을 계약에 명시한다 - 신원을 밝히고 우리 IP 로 가며 막히면 막힌 대로 보고하므로, 허락은 그 선을 넘을 때만 필요하다 - 생략·null 은 false 로 정규화되는 fail-safe (구버전 호출자의 요청이 안전한 쪽으로만 어긋난다)
|
Important Review available on request
Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus 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 |
This was referenced Aug 16, 2026
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
headlessFirst(어느 플랫폼을 처음부터 브라우저로 보낼지)와headlessAllowed(브라우저를 써도 되나) 두 필드를 받고 있었다. 앞은 최적화 힌트, 뒤는 계약이라 성격이 다른데 이름이 같은 계열이라 섞여 읽혔다.headlessFirst는 정책 없이도 같은 결과에 도달해 값을 넣을 유인이 사라졌고,headlessAllowed는 "브라우저를 여는 것 자체에 허락이 필요한가"라는 잘못된 전제를 담고 있었다.Action
authorized하나로 받는다: 이 대상이 플랫폼의 명시적 허락을 받았는가.authorized가 여는 것은 렌더 서비스의 우회 수단(지문 보정·프록시)뿐이다.Result
연관 이슈