발행 스케줄 설정화 + 보류 사유 노출 - #56
Merged
Merged
Conversation
팩트체크 게이트는 pending_reason을 채우지만, 보류 목록 저장 항목이 필드 화이트리스트라 사유가 실려 가지 않았습니다. 게이트는 도는데 검토자에게는 평범한 검토 대기와 구분되지 않았습니다. save_pending_posts가 pendingReason·factCheck를 함께 싣고, 대시보드 검토 카드가 사유를 배너로 띄웁니다. 저장 경로와 화면 사용처를 각각 지우면 실패하는 테스트 3건을 붙였습니다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RgLYqM9puPW1aqHTccbX69
발행량이 워크플로에 박혀 있었습니다. 연중일 % 3으로 당번 하나만 골라 블로그당 3일에 1편이었고, 바꾸려면 매번 워크플로를 고쳐야 했습니다. publish_schedule.json이 원본이 되고, 블로그마다 켜짐 여부·하루 편수·요일을 따로 정합니다. 기본값은 세 블로그 모두 매일 1편입니다. 설정을 못 읽으면 기본값으로 진행합니다 — 초록불인데 글이 안 올라오는 상태를 막습니다. 수동 발행은 계획에 묶이지 않습니다. workflow_dispatch의 blog_id· posts_per_run과 manual-publish 워크플로는 그대로라, 급할 때 설정을 건드리지 않고 바로 올릴 수 있습니다. 대시보드 '발행 스케줄' 패널에서 블로그별 편수를 바꾸면 기능 스위치와 같은 방식으로 저장소의 원본 파일을 고칩니다. 참고: 과거 하루 9건 발행 때 색인률이 0이었고 지금도 20편 중 1편만 색인됩니다. 편수를 늘린 만큼 색인 상태를 함께 봐야 하며, 이제 되돌리는 데 워크플로 수정이 필요 없습니다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RgLYqM9puPW1aqHTccbX69
Kevinlee7250
marked this pull request as ready for review
August 29, 2026 06:21
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
두 가지 변경이 들어 있습니다.
1. 발행 스케줄을 설정으로 분리 (블로그별 하루 1편)
발행량이 워크플로에 박혀 있었습니다.
rotation잡이 연중일 % 3으로 당번 하나만 골라 블로그당 3일에 1편이었고, 바꾸려면 매번 워크플로를 고쳐야 했습니다.blog-automation/publish_schedule.json— 새 원본. 블로그별enabled/postsPerDay(0~5) /days(매일 또는 요일)blog-automation/publish_schedule.py— 계획 산출. 설정을 못 읽으면 **기본값(블로그별 1편/일)**으로 진행합니다. 조용히 멈추면 초록불인데 글이 안 올라오는 상태가 됩니다blog-run.yml—rotation이 계획을 산출해blog1/2/3편수를 출력하고, 각 잡이!= '0'일 때만 돌며POSTS_PER_RUN으로 그 편수를 씁니다수동 발행은 계획에 묶이지 않습니다.
workflow_dispatch의blog_id·posts_per_run과manual-publish.yml은 그대로라, 급할 때 설정을 건드리지 않고 바로 올릴 수 있습니다. 이 독립성은 테스트로 고정했습니다.대시보드 — '발행 스케줄' 패널에서 블로그별 편수를 선택하면 기능 스위치와 같은 방식(Contents API + PAT)으로 저장소의 원본 파일을 고칩니다. 오늘 예정 편수도 함께 표시합니다.
2. 보류 사유가 검토 화면까지 도달하게 함
팩트체크 게이트는
pending_reason을 채우지만, 보류 목록 저장 항목이 필드 화이트리스트라 사유가 실려 가지 않았습니다. 게이트는 도는데 검토자에게는 평범한 검토 대기와 구분되지 않았습니다.save_pending_posts가pendingReason·factCheck를 함께 싣고, 검토 카드가 사유를 배너로 띄웁니다.확인
1222 passed, 2 skipped전체 발행량이 1건/일 → 3건/일로 늘어납니다. 과거 9건/일로 돌던 시기에 구글 스팸 정책의 "대규모 콘텐츠 남용" 패턴으로 진단돼 크롤 예산이 깎였고, 2026-08-29 기준으로도 색인 상태는 20편 중 1편입니다. 늘린 만큼 색인률을 함께 지켜보길 권합니다 — 되돌릴 때는 이제 워크플로 수정 없이 대시보드에서 편수만 낮추면 됩니다.
🤖 Generated with Claude Code
https://claude.ai/code/session_01RgLYqM9puPW1aqHTccbX69