- Pin CLI version to @continuedev/cli@1.4.30 (known working version)
- Use correct syntax: cn --config 'org/assistant' instead of --org/--config
- Use file-based prompt with @filename syntax for better handling
- Add --allow Bash flag to enable shell commands in reviews
- Increase timeout to 240 seconds (4 minutes) for complex reviews
- Remove timeout from version check to avoid false failures
These changes match the working implementation in bdougie/contributor.info
- Add 10 second timeout for CLI version check
- Add 120 second timeout for main CLI execution
- Prevents workflows from timing out (10 minute GitHub Actions limit)
- Ensures graceful failure with fallback messages if CLI hangs
- Replace all 'exit 1' statements with warnings and skip flags
- Add SKIP_CLI environment variable to control CLI execution
- Create fallback reviews immediately when prerequisites fail
- Wrap CLI execution in conditional checks
- Ensure workflows always complete successfully with informative messages
This prevents the 'Process completed with exit code 1' error and ensures
the workflows fail gracefully with helpful feedback instead of crashing.
- Update Continue CLI from pinned v1.4.25 to latest version
- Add explicit validation for CONTINUE_API_KEY environment variable
- Improve error handling with fallback reviews when CLI fails
- Add better debugging output including CLI version check
- Capture CLI errors to separate log file for troubleshooting
- Ensure workflows fail gracefully with informative messages
This should resolve the repeated service initialization failures
and provide clearer feedback when configuration issues occur.
- Add draft PR check to both general-review and detailed-review actions
- Add deduplication logic to filter identical comments (same path + position + body)
- Include triggered-by message in detailed review body when initiated from comment
- Remove redundant separate triggered-by comment