-
Notifications
You must be signed in to change notification settings - Fork 5.3k
fix: parallelize code quality workflow and fix Claude action for scheduled runs #5539
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
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Claude finished @wtfsayo's task —— View job ElizaOS PR Review - Daily Code Quality Workflow FixReview Checklist:
Overall Assessment: IMPORTANT - Well-implemented workflow improvement with proper security considerationsThis PR successfully addresses the failing Daily Code Quality Analysis workflow by parallelizing analysis jobs and fixing the Claude action for scheduled runs. The implementation follows GitHub Actions best practices and addresses the core issues identified. ✅ STRENGTHS1. Security Review - PASSED
2. Workflow Architecture - EXCELLENT
3. ElizaOS Compliance - STRONG
4. Analysis Coverage - COMPREHENSIVE
|
- Fix 'Unsupported event type: schedule' error by conditioning Claude action on workflow_dispatch - Add informative message when Claude analysis is skipped during scheduled runs - Maintain Claude Opus 4 model specification for comprehensive analysis - Preserve all existing functionality while fixing the scheduled run issue
5d246c2
to
b523ca7
Compare
Description
This PR fixes the failing Daily Code Quality Analysis workflow by addressing the Claude action's incompatibility with scheduled events.
Problem
The workflow was failing with error:
Unsupported event type: schedule
because theanthropics/claude-code-action@beta
action doesn't support scheduled workflow runs.Solution
workflow_dispatch
events, not scheduled runsChanges
Modified the Claude Analysis condition from:
to:
Added a new step that runs during scheduled executions to inform users about the skipped Claude analysis
Model Configuration
The workflow continues to use Claude Opus 4 (
claude-opus-4-20250514
) for comprehensive code quality analysis when run manually, while other Claude workflows in the repo use the default Claude Sonnet 4 model.Testing
Fixes: https://github.com/elizaOS/eliza/actions/runs/16220940884/job/45801051384