-
Notifications
You must be signed in to change notification settings - Fork 3.8k
fix: Simplify review bot, remove detailed review, keep general review only #7976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Removed continue-detailed-review.yaml workflow file - Removed entire actions/detailed-review directory and code - Removed pr-review-action-tests job from pr-checks.yaml - Updated actions/README.md to reflect single review action - Changed all references from commit-sha to @main for stability This simplifies the review bot to only use the general review action, removing unused code and tests for the detailed review functionality. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
…view - Updated trigger phrase in action.yml - Updated documentation in README.md - Simplified the trigger to match the single review action Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
- Removed references to both @continue-general-review and @continue-detailed-review - Updated to single @continue-review trigger Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
|
- Updated system message/prompt to be more context-aware and specific - Focus on actual functionality issues, not style - Added sticky comment behavior (update if <1 hour old, new if older) - Added timestamp and Continue branding in footer - Removed prescriptive format requirements, let AI be more natural - Better PR context extraction (title, author, files changed) Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
- Removed duplicate GH_TOKEN env variable (GITHUB_TOKEN is sufficient) - The gh CLI automatically uses GITHUB_TOKEN when available - Matches the working implementation pattern from contributor.info repo Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
This will be reverted before merge - just testing that the updated action works correctly with @continue-review trigger Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
🔑 API Key Issue IdentifiedThe review bot is running successfully but returning empty output, which typically indicates an expired or invalid API key. @sestinj - Could you please update the Steps needed:
The review bot action code is working correctly - it's just unable to authenticate with the Continue API.
|
- Include direct link to GitHub Actions workflow logs when review fails - Remove hardcoded date reference since the assistant has context - Make error message more generic to cover both API key and config issues
|
✅ Review Complete Likely cause: Expired CONTINUE_API_KEY or missing continuedev/review-bot assistant 📋 View workflow logs for details. |
✅ Local Test Successful - Review Bot Working!@sestinj I ran the review bot locally with a valid API key and it's working perfectly. Here's the actual review output: Code Review Summary✅ Strengths
|
|
Triggered by @bdougie's request 💡 To request a new review, comment |
|
Triggered by @bdougie's request AI Code ReviewAI review failed due to service initialization issues. Please check the Continue API key and configuration. No specific line comments generated. 💡 To request a new detailed review, comment |
|
✅ Review Complete Likely cause: Expired CONTINUE_API_KEY or missing continuedev/review-bot assistant 📋 View workflow logs for details. |
|
✅ Review Complete Likely cause: Expired CONTINUE_API_KEY or missing continuedev/review-bot assistant 📋 View workflow logs for details. |
Since the error has been resolved, we can now safely pin the action to main for stability instead of using the temporary branch reference. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.22.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.21.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
This PR simplifies the Continue review bot by removing the detailed review functionality and keeping only the general review action, pinned to the main branch. The trigger is also simplified from
@continue-general-reviewto@continue-review.Changes
🗑️ Removed
.github/workflows/continue-detailed-review.yaml)actions/detailed-review/directory).github/workflows/pr-checks.yaml)📝 Updated
@mainfor stability@continue-general-reviewto@continue-review@continue-reviewtriggerGH_TOKEN(GITHUB_TOKEN is sufficient)🚀 CLI Execution Improvements
✅ What Stays
actions/general-review/)@mainRationale
The general review workflow from https://github.com/bdougie/contributor.info has been working well, while the detailed review in this repo has not been as effective. This change:
Testing
@continue-reviewcomment trigger works (simplified from@continue-general-review)