Log loaded pattern files for debugging #64

Closed
opened 2026-05-11 06:35:44 +00:00 by rodin · 0 comments
Owner

When patterns-repo is configured, the bot should log which files were actually loaded.

Currently only logs total bytes at Debug level:

slog.Debug("loaded patterns", "repo", *patternsRepo, "bytes", len(patterns))

Would be helpful to log:

  • The file paths loaded from each repo
  • Count of files per repo
  • Any files skipped (non-markdown/txt)

This helps debug issues like misconfigured patterns-files paths.

When `patterns-repo` is configured, the bot should log which files were actually loaded. Currently only logs total bytes at Debug level: ``` slog.Debug("loaded patterns", "repo", *patternsRepo, "bytes", len(patterns)) ``` Would be helpful to log: - The file paths loaded from each repo - Count of files per repo - Any files skipped (non-markdown/txt) This helps debug issues like misconfigured `patterns-files` paths.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rodin/review-bot#64