Commit graph

15 commits

Author SHA1 Message Date
Brian 'bdougie' Douglas
a4f3db0804 fix: Match working CLI syntax from contributor.info repo
- 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
2025-08-29 11:57:44 -07:00
Brian 'bdougie' Douglas
6c8c6ca9d9 fix: Add timeout to CLI commands to prevent workflow hanging
- 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
2025-08-29 11:51:58 -07:00
Brian 'bdougie' Douglas
a5de88907c fix: Prevent workflow failures by removing exit codes and improving error handling
- 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.
2025-08-29 11:19:52 -07:00
Brian 'bdougie' Douglas
9b5508de4a fix: improve Continue review workflows error handling and CLI version
- 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.
2025-08-28 10:52:56 -07:00
Tomasz Stefaniak
5361d5e33b fix: update sha 2025-08-15 14:26:22 -07:00
Tomasz Stefaniak
64bda6b2b3 fix: prevent review actions from running on draft PRs and deduplicate comments
- 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
2025-08-15 14:25:26 -07:00
Tomasz Stefaniak
c7afc6674d chore: update SHA 2025-08-15 14:17:04 -07:00
Tomasz Stefaniak
f7c1140064 fix: deduplicate comments 2025-08-15 14:16:46 -07:00
Tomasz Stefaniak
fb3f37ff3d chore: update SHA 2025-08-15 14:06:50 -07:00
Tomasz Stefaniak
381ef1c2d1 fix: do not run on draft PRs 2025-08-15 14:05:00 -07:00
Tomasz Stefaniak
23d9260536 improv: add re-review instructions 2025-08-15 10:09:04 -07:00
Tomasz Stefaniak
d3b9fc7c51 fix: formatting 2025-08-15 09:55:19 -07:00
Tomasz Stefaniak
6f58e3c202 improv: use commit sha 2025-08-15 09:52:29 -07:00
Tomasz Stefaniak
17fe39cc4f fix: prompt 2025-08-15 09:44:28 -07:00
Tomasz Stefaniak
0e001d585d improv: organization 2025-08-15 09:40:42 -07:00