Skip to content

fix: initialize root logger so graph and batch logs appear - #15

Merged
dsiddharth2 merged 2 commits into
mainfrom
fix/logging-setup
May 8, 2026
Merged

fix: initialize root logger so graph and batch logs appear#15
dsiddharth2 merged 2 commits into
mainfrom
fix/logging-setup

Conversation

@dsiddharth2

Copy link
Copy Markdown
Owner

Summary

  • run_agent.py never called setup_logger("codehawk"), so child loggers like codehawk.batch_review and codehawk.graph had no handlers
  • All graph build logs and batch orchestration logs were silently swallowed
  • Adds one setup_logger("codehawk") call at startup so all child loggers propagate correctly

Test plan

  • Run pipeline and verify graph build logs (Graph build starting, Code graph built successfully) appear in output
  • Verify batch review logs (Pre-fetched PR data, File filtering) appear

…ppear

run_agent.py never called setup_logger, so child loggers like
codehawk.batch_review and codehawk.graph had no handlers and their
output was silently swallowed.
Agent now writes a summary field in findings.json covering architecture,
code flow, dependencies, test coverage, and overall assessment. This
summary is posted as the top section of the PR review comment to help
manual reviewers understand the PR at a glance.
@dsiddharth2
dsiddharth2 merged commit 5316cbb into main May 8, 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