Skip to content

ci(root): AI 리뷰 자동 커밋 메시지 한 줄로 통일 - #7

Merged
wantkdd merged 4 commits into
developfrom
ci/review-commit-convention
Aug 9, 2026
Merged

ci(root): AI 리뷰 자동 커밋 메시지 한 줄로 통일#7
wantkdd merged 4 commits into
developfrom
ci/review-commit-convention

Conversation

@wantkdd

@wantkdd wantkdd commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

작업내용

  • AI 리뷰 문서 자동 커밋 메시지를 한 줄 컨벤션으로 변경
  • 자동 생성 커밋 식별 marker는 같은 한 줄에 유지
  • 이전 base 코드가 긴 메시지 자동 커밋을 만들지 않도록 이번 PR에서만 문서 동기화를 artifact-only로 전환

포함된 영역

  • FE
  • BE
  • AI
  • docs
  • infra
  • 직접 작성

예측 (작업 초기 PR 생성 시 작성)

  • 예상 소요: CI 약 1분
  • 막힐 것 같은 곳: 자동 커밋 식별 marker 호환성
  • 전문 밖 영역 중 걱정되는 것: 없음

결과 (머지 전 작성)

  • 실제 소요:
  • 실제로 막힌 곳:
  • 배운 것:

리뷰 요청

  • 생성 메시지가 docs(docs): 설명 한 줄 형식을 지키는지
  • doc-only 재실행 감지가 기존과 동일한지

메모

  • 로컬 AI 리뷰 도구 테스트 47개 통과
  • 다음 PR에서 AI_REVIEW_PUSH_TOKEN 연결을 복구하고 문서 동기화를 실환경 검증

@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
whylog Ready Ready Preview Aug 9, 2026 2:27pm

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WhyLog AI 자동 줄 단위 리뷰입니다.

Comment thread .github/workflows/ci.yml
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
AI_REVIEW_PUSH_TOKEN: ${{ secrets.AI_REVIEW_PUSH_TOKEN }}
AI_REVIEW_PUSH_TOKEN: ""

@github-actions github-actions Bot Aug 9, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

현재 실행에서 재검출되지 않음(자동 추정). 사람이 실제 반영 여부를 확인하세요.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

WhyLog AI 리뷰

결과: ✅ 차단 항목 없음 · 모델: Google gemini-3.6-flash

AI 리뷰 자동 커밋 메시지 규격을 한 줄로 통일하고 줄 단위 리뷰 댓글 생성 방식을 개별 댓글 요청으로 변경한 작업입니다. 전반적인 테스트와 로직이 잘 보완되어 있으나, GitHub API 커밋 메시지의 개행 문자 처리 관련 개선 사항이 있습니다.

인라인: 신규 1 · 갱신 0 · 재검출 안 됨 1 · 요약 대체 0
PR 리뷰 문서: docs/pr-reviews/PR-7.md artifact만 생성했습니다.

차단

없음

제안

  1. GitHub API 커밋 메시지의 개행 문자(\n) 트림 처리 권장 (.github/scripts/review_publishing.py:1030)
    • 이유: GitHub REST API로 커밋 정보를 조회할 때 commit.message 문자열 끝에 개행 문자(\n)가 포함되어 들어올 수 있습니다. message_doc_commit_message(...)를 직접 등가 비교(!=)할 경우 개행 문자로 인해 감지 실패(None 반환)가 발생할 가능성이 있습니다.
    • 근거: CI 자동화 스크립트 예외 처리 규칙
    • 수정: message.strip() != _doc_commit_message(document_pr_number)와 같이 .strip()을 사용하여 개행 여부와 관계없이 안전하게 일치 여부를 검증하도록 수정하는 것을 권장합니다.

이 코멘트는 새 실행 때 갱신됩니다. 차단 항목은 사람이 타당성을 확인한 뒤 수정하세요.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WhyLog AI 자동 줄 단위 리뷰입니다.

Comment thread .github/scripts/review_publishing.py Outdated
or not isinstance(parents[0], Mapping)
):
return None
document_pr_number = int(Path(paths[0]).stem.removeprefix("PR-"))

@github-actions github-actions Bot Aug 9, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

새 커밋의 같은 위치에 최신 자동 리뷰를 다시 등록했습니다.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WhyLog AI 자동 줄 단위 리뷰입니다.

):
return None
document_pr_number = _pr_number_from_review_doc_path(paths[0])
if document_pr_number is None or message != _doc_commit_message(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WhyLog AI 리뷰

  1. 제안: GitHub API 커밋 메시지의 개행 문자(\n) 트림 처리 권장
    • 이유: GitHub REST API로 커밋 정보를 조회할 때 commit.message 문자열 끝에 개행 문자(\n)가 포함되어 들어올 수 있습니다. message_doc_commit_message(...)를 직접 등가 비교(!=)할 경우 개행 문자로 인해 감지 실패(None 반환)가 발생할 가능성이 있습니다.
    • 근거: CI 자동화 스크립트 예외 처리 규칙
    • 제안 수정: message.strip() != _doc_commit_message(document_pr_number)와 같이 .strip()을 사용하여 개행 여부와 관계없이 안전하게 일치 여부를 검증하도록 수정하는 것을 권장합니다.

@wantkdd
wantkdd merged commit ef7d48f into develop Aug 9, 2026
9 checks passed
@wantkdd
wantkdd deleted the ci/review-commit-convention branch August 9, 2026 14:29
@wantkdd wantkdd self-assigned this Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant