[DP-471] DynamoDB 요약 태그를 content_tags에 소급 적용#69
Merged
Conversation
- _fetch_no_category_ids → _fetch_missing_content_tag_ids 로 변경 (category IS NULL → content_tags 없는 글, YouTube 제외) - sync_one()에 save_content_tags() 호출 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
sync_ai_metadata.py가save_ai_metadata()만 호출하고save_content_tags()를 호출하지 않아 content_tags 테이블에 태그가 쌓이지 않던 문제 수정category IS NULL→content_tags 없는 글 (YouTube 제외)로 변경 (기존 쿼리는 모든 글에 category가 채워진 현재 상태에서 대상 0개 반환)Changes
_fetch_no_category_ids→_fetch_missing_content_tag_ids로 함수명·쿼리 변경sync_one()에content_repo.save_content_tags()호출 추가Test plan
ruff check통과black --check통과pytest -q481 passed 확인DATABASE_URL=... python scripts/sync_ai_metadata.py실행 후 content_tags 행 수 증가 확인🤖 Generated with Claude Code