고아 페이지 해소가 발행 속도를 따라잡도록 처리량 조정 - #23
Merged
Merged
Conversation
스케줄 실행은 워크플로 파일을 기본 브랜치에서 읽으므로, 작업 브랜치에만 있으면 매일 도는 실행에 반영되지 않습니다. - blog-run: 발행 직후 역방향 내부 링크 단계 (블로그 3개 각각) 진단 → 링크 순서. 산출물 2개를 커밋 목록에 추가 - inbound-links: 주간 → 매일, 처리량 10 → 25건 스케줄 실행이 실제로 쓰는 `inputs.limit || 'N'` 기본값도 함께 수정 cron 변경은 inbound-links 하나뿐이며 주간→매일 상향입니다.
Kevinlee7250
marked this pull request as ready for review
August 24, 2026 04: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.
진단
도구(
inbound_linker)는 2026-08-21부터 정상 동작했습니다. 그런데 고아는 165건 → 172건으로 오히려 늘었습니다. 링크가 안 걸린 게 아니라 처리량이 모자랐습니다.내부 링크는 글을 쓸 때 "새 글 → 기존 글" 한 방향으로만 걸립니다. 그래서 모든 새 글은 아무도 가리키지 않는 고아로 태어납니다. 배치를 아무리 빨리 돌려도 발행이 계속되는 한 새 고아는 계속 생깁니다.
실제 데이터에서도 그대로 보입니다 — 고아 상위 5건이 전부 최근 발행분이고, 바깥으로 나가는 링크(
outbound)는 2~5개씩 정상적으로 있습니다.변경
1. 발행 직후 역방향 링크 (
blog-run, 블로그 3개 각각)진단(
internal_link_audit)을 먼저 돌려 방금 올린 글을 고아 목록에 넣고,inbound_linker --limit 5 --apply로 링크를 겁니다.순서가 중요합니다 — 진단을 건너뛰면 새 글이 목록에 없어 그 글만 계속 고아로 남습니다. 발행을 막을 이유는 없으므로 실패해도 경고만 남깁니다. 산출물(
internal_links·inbound_links)을 커밋 목록에 추가했습니다. 빠뜨리면 다음 실행이 낡은 고아 목록을 읽습니다.2. 밀린 물량은 매일 배치로 (
inbound-links, 주간 → 매일, 10 → 25건)스케줄 실행에는
inputs가 없어inputs.limit || 'N'의 N이 실제 값입니다. 입력란default만 고치고 이쪽을 놓치면 조용히 옛 처리량으로 돌아가므로 둘을 맞추고 테스트로 고정했습니다.기대치에 대해
같은 측정에서 색인 검사 20건 중 고아 9건과 링크 있는 글 11건이 똑같이 미색인이었습니다. 내부 링크를 만든다고 색인이 풀린다는 근거는 아직 없습니다 — 표본이 전부 미색인이라 인과를 판정할 수 없습니다.
사이트 구조상 정당한 개선으로 보고 진행하며, 색인 해결책으로 광고하지 않습니다.
안전장치 (기존
inbound_linker에 이미 있는 것)--apply가 있어야 반영MAX_ADDED_PER_SOURCE = 3)MIN_RELEVANCE = 2, 억지 링크 금지)검증
병합 후 확인할 것
inbound_links.json의orphansRemaining이 실제로 줄어드는지blog-run로그에 "역방향 내부 링크" 단계가 성공으로 남는지internal_links.json의 고아 목록에서 빠지는지🤖 Generated with Claude Code
https://claude.ai/code/session_01RgLYqM9puPW1aqHTccbX69
Generated by Claude Code