feat(fetch): --recent 모드에서 버전 비교로 불필요한 API 호출 생략#707
Merged
Conversation
CQL 검색에 expand=version 을 추가하여 각 페이지의 version.number 를 함께 조회하고, 로컬 page.v2.yaml 의 version.number 와 비교하여 동일하면 process_page_complete() (API 4회/페이지) 를 생략한다. 검증 결과: 100개 페이지 중 100개 skip, API 호출 400회 → 0회 절감. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
요약
&expand=version추가하여 각 페이지의version.number를 함께 조회page.v2.yaml의version.number와 비교하여 동일하면process_page_complete()생략변경 파일
bin/fetch/api_client.pyexpand=version추가, 반환 타입에version_number포함bin/fetch/processor.py_is_page_current()메서드 추가, 버전 일치 시 skip테스트 결과
needs update: local version 13 != API version 14)🤖 Generated with Claude Code