Commit graph

2 commits

Author SHA1 Message Date
Peter Steinberger
520c3ea443 Update Claude cleanup script to delete error comments
- Error comments are now deleted instead of collapsed
- Only successful reviews and status comments are collapsed
- This keeps the PR comments cleaner by removing failed attempts
2025-06-28 15:22:05 +02:00
Peter Steinberger
c24749458c Fix Claude bot creating multiple PR comments
- Add automatic cleanup of old Claude comments after each review
- Create reusable cleanup script that intelligently handles different comment types
- Keep only the most recent successful review visible
- Collapse (not delete) old reviews, errors, and status messages
- Add manual cleanup workflow that can be triggered or run on schedule
- Preserve comment history while keeping PRs readable

This solves the issue where Claude creates new comments instead of updating
existing ones, since the anthropics/claude-code-action@beta doesn't support
comment updates natively.
2025-06-28 15:22:05 +02:00