Repository navigation
헤드리스 경로의 LLM 후보 홉 실패 로그 추가 - #129
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
TeamPiKi/ops#5 ## 한눈에 ### 헤드리스 경로가 고른 페이지를 실패 때도 기록 - 헤드리스 경로는 브라우저가 거쳐 간 페이지 여럿 중 하나를 골라 LLM 에 넘김 - **이전:** 추출이 실패하면 요청 URL 만 로그에 남음 - 어느 페이지를 골랐는지 알 수 없음 - 추출이 실패한 경우에만 고른 페이지의 경로·status·분량을 한 줄로 기록 - 성공 경로의 로그와 동작은 그대로 ## 무엇을 ### 기록 항목 | 항목 | 값 | 가르려는 판정 | |---|---|---| | `code` | 실패 code | 상품 아님·빈 문서·이상값 구분 | | `hop` | 고른 홉 순번·전체 홉 수 | 마지막 홉 선택 여부 | | `status` | 고른 홉의 status | 차단 status 우회 여부 | | `source` | `dom` 또는 `body` | 렌더 결과·서버 원문 구분 | | `html` | 가지친 뒤 분량 | 챌린지 셸·상품 상세 구분 | | `hopUrl` | `safeLogString` 의 host·path | 상품 경로 착지 여부 | ### 가르려는 판정 - 헤드리스 승격 뒤 LLM 이 상품 아님으로 닫는 실패의 재발 - **원인:** 차단 페이지가 신호를 피해 후보로 남았는지 확인 불가 - **원인:** 상품 홉을 두고 다른 홉을 골랐는지 확인 불가 - 작고 상품 경로가 아닌 홉이면 차단 판정 보강 대상 - 크고 상품 경로인 홉이면 후보 선택·LLM 입력 쪽 결함 대상 ### 범위 - `HeadlessProductLinkExtractor.java:83` 의 고른 후보 추출만 감쌈 - `ProductSnapshotException` 을 잡아 기록한 뒤 그대로 다시 던짐 - 반환값·분기·예외·재시도 변경 없음 - 메트릭 추가 없음 - title 은 페이지 본문이라 기록하지 않음 - 기존 테스트 중 이 로그 문자열을 단언하는 테스트 없음 ### 확인 - `./gradlew test --tests '*Headless*' --tests '*Fallback*' --tests '*TestConvention*'` 통과
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Author
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
Closed
1 task done
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.
TeamPiKi/ops#5
한눈에
헤드리스 경로가 고른 페이지를 실패 때도 기록
무엇을
기록 항목
codehopstatussourcedom또는bodyhtmlhopUrlsafeLogString의 host·path가르려는 판정
범위
HeadlessProductLinkExtractor.java:83의 고른 후보 추출만 감쌈ProductSnapshotException을 잡아 기록한 뒤 그대로 다시 던짐확인
./gradlew test --tests '*Headless*' --tests '*Fallback*' --tests '*TestConvention*'통과