Repository navigation
Conversation
Member
|
리뷰 결과 이 PR은 머지하지 않고 클로즈합니다 — #702에서 동일 이슈(#698)의 수정이 이미 dev에 머지되어 있습니다 (5633c90). dev의 구현은 이 PR과 같은 문제를 더 완전하게 해결합니다:
보고해 주신 근본 원인 진단(주석 속 템플릿 중복 집계 → 이슈 #698은 dev 기준으로 해결 상태입니다 (main 반영은 release 흐름 대기). |
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.
요약
#698 대응입니다.
express-bus-booking의 KOBUS 시간표 파서가 응답 HTML 주석 안의 예비 행 템플릿(fnSatsChc(deprTime, ...)같이 인용부호 없는 자리표시자 호출)까지 실제 운행편으로 집계하면서, 실제 운행편 수의 2배를 반환하고departure_time=null,raw_args=[]인 가짜 항목을 만들던 문제를 수정합니다. 가짜 항목을 선택해 선점 단계로 진행하면seat_stage_fields에서IndexError: list index out of range가 발생했습니다.변경 내용
search()에서fnSatsChc(...)를 찾기 전에 HTML 주석(<!-- ... -->)을 먼저 제거합니다.a[12],a[13]참조)에 필요한 최소 개수를 함께 방어합니다.테스트
express-bus-booking/tests/test_kobus_parser.py추가: 실제 행 2개 + 주석 속 자리표시자 템플릿 + 주석 속 완전한 인수 호출을 포함한 fixture로 검증합니다. 수정 전 코드에서는 2건 모두 실패, 수정 후 통과함을 확인했습니다.sync:cli-skills --check,generate:skill-stubs --check,npm run lint통과.npm run test의 실패 1건(store longevity mirror workflow uses an import-safe module entrypoint)은 clean dev 브랜치에서도 동일하게 실패하는 기존 문제로, 이 PR과 무관합니다.