Skip to content

fix(report): filter invalid repositories before commit log collection (#632)#633

Merged
Kewton merged 1 commit intodevelopfrom
fix/632-repo-filter
Apr 5, 2026
Merged

fix(report): filter invalid repositories before commit log collection (#632)#633
Kewton merged 1 commit intodevelopfrom
fix/632-repo-filter

Conversation

@Kewton
Copy link
Copy Markdown
Owner

@Kewton Kewton commented Apr 5, 2026

Summary

  • daily-summary-generator.ts でリポジトリ取得後に3段階フィルタを追加
    • enabled === true のリポジトリのみ
    • path が存在するディレクトリであること
    • path 配下に .git が存在すること(gitリポジトリ確認)
  • 無効リポジトリ(親ディレクトリ、存在しないパス、disabled)がコミットログ収集から除外される
  • 5テストケース追加(フィルタリングの各条件)

Closes #632

Test plan

  • npx tsc --noEmit — PASS
  • npm run lint — PASS
  • npm run test:unit — PASS
  • npm run build — PASS

🤖 Generated with Claude Code

Exclude disabled, non-existent, and non-git repositories from
collectRepositoryCommitLogs to prevent git log failures during
daily report generation.

Resolves #632

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Kewton Kewton merged commit 9308b79 into develop Apr 5, 2026
5 checks passed
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