Commit Graph

6 Commits

Author SHA1 Message Date
Claude
9014acfb36 Upgrade to Claude Sonnet 4.5 model
- 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
2025-11-14 14:44:21 +00:00
Claude
183d49dd6a Improve code resilience, error handling, and logging
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)
2025-11-14 14:30:56 +00:00
claude-code-review[bot]
47ead35362 Add built files 2025-02-10 22:26:54 +00:00
github-actions[bot]
acd58d30ee Add built files 2025-02-10 22:09:31 +00:00
github-actions[bot]
e6777037d5 Add built files 2025-02-10 21:57:17 +00:00
pacnpal
bd3279eb92 Include built dist directory 2024-12-10 18:56:19 -05:00