- Add Claude Sonnet 4.5 and Node 20 badges
- Document technical details: model config, retry logic, timeouts
- Add Limitations section covering diff size, timeouts, and costs
- Add comprehensive Troubleshooting section with common issues
- Add FAQ section answering common user questions
- Expand Setup with environment protection guidance
- Update Table of Contents with new sections
- Clarify feature list with retry and rate limit handling
- Add auto-review input parameter (defaults to true for backward compatibility)
- Skip code review when auto-review is set to false
- Update README with usage examples for disabling auto-review
- Support conditional reviews based on labels or other criteria
- Update Claude model from 3.5 to 4.5 (reflects actual implementation)
- Add badges and visual improvements
- Add "Why Use This Action?" section explaining benefits
- Enhance Features section with detailed descriptions and icons
- Add Table of Contents for better navigation
- Improve Setup section with detailed prerequisites and configuration steps
- Expand Development section with project structure and testing guidelines
- Enhance Support section with helpful resources and links
- Add Acknowledgments section crediting tools and libraries used
- Fix references to dist/index.js in development documentation
- Improve overall formatting and organization
- Update model from deprecated claude-3-5-sonnet-20241022 to claude-sonnet-4-5
- Claude 3.5 Sonnet was deprecated in November 2025
- Claude Sonnet 4.5 offers better performance, especially for coding tasks
- Rebuild dist/index.js with updated model
Major improvements:
- Add comprehensive logging with @actions/core (info, warning, error, debug)
- Implement retry logic with exponential backoff for all network operations
- Add timeout handling for API calls (2 minute default)
- Improve error handling with specific messages and context
- Add input validation for API keys and PR numbers
- Implement rate limit handling (429 responses)
- Add diff size limits to prevent API token overflow
- Fix flawed markdown escape logic in review posting
- Add progress indicators with core.startGroup/endGroup
- Mask sensitive data (API keys) in logs
- Add unhandled rejection and exception handlers
- Improve git operation error handling and output capture
- Add JSDoc comments for all functions
- Fix npm security vulnerabilities
The action is now much more resilient to:
- Network failures and transient errors
- API rate limiting
- Large diffs
- Timeout issues
- Invalid inputs
Logging improvements provide better visibility into:
- Operation progress and timing
- Retry attempts
- Error context and debugging information
- Resource usage (diff size, review length)