Repository navigation
Remove legacy event workflow support - #1017
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR removes event-driven workflows and restricts the system to cron-only scheduling. Event-trigger code, tests, schema fields, UI controls, and instrumentation hooks were deleted or tightened; APIs now reject or 404 non-cron workflows and cron logic is the single scheduling path. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
apps/web/src/components/workflows/WorkflowForm.tsx (1)
188-189: Stale comment: "Trigger Type Toggle" no longer applies.The comment on line 188 references a trigger type toggle that has been removed. Consider updating or removing this comment.
📝 Suggested fix
- {/* Trigger Type Toggle */} <div className="space-y-2"> + {/* Cron Schedule */} <Label htmlFor="wf-cron">Schedule (Cron Expression)</Label>🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/web/src/components/workflows/WorkflowForm.tsx` around lines 188 - 189, Remove or update the stale JSX comment "Trigger Type Toggle" inside the WorkflowForm component: locate the JSX block containing the div with className "space-y-2" and the existing comment string "Trigger Type Toggle" and either delete the comment or replace it with an accurate brief comment describing the current content of that block (or leave no comment if unnecessary) so comments match the current UI.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@apps/web/src/components/workflows/WorkflowForm.tsx`:
- Around line 188-189: Remove or update the stale JSX comment "Trigger Type
Toggle" inside the WorkflowForm component: locate the JSX block containing the
div with className "space-y-2" and the existing comment string "Trigger Type
Toggle" and either delete the comment or replace it with an accurate brief
comment describing the current content of that block (or leave no comment if
unnecessary) so comments match the current UI.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 02f1e52b-a99b-4b6a-976a-43837ba928f4
📒 Files selected for processing (13)
apps/web/src/app/api/workflows/[workflowId]/__tests__/route.test.tsapps/web/src/app/api/workflows/[workflowId]/route.tsapps/web/src/app/api/workflows/[workflowId]/run/__tests__/route.test.tsapps/web/src/app/api/workflows/[workflowId]/run/route.tsapps/web/src/app/api/workflows/__tests__/route.test.tsapps/web/src/app/api/workflows/route.tsapps/web/src/components/workflows/WorkflowForm.tsxapps/web/src/components/workflows/WorkflowList.tsxapps/web/src/components/workflows/WorkflowsDashboard.tsxapps/web/src/components/workflows/types.tsapps/web/src/instrumentation.tsapps/web/src/lib/workflows/__tests__/event-trigger.test.tsapps/web/src/lib/workflows/event-trigger.ts
💤 Files with no reviewable changes (2)
- apps/web/src/lib/workflows/tests/event-trigger.test.ts
- apps/web/src/lib/workflows/event-trigger.ts
Summary
Assumption
Verification
git diff --checkapps/web/node_modulesis missing, sovitestis not availableSummary by CodeRabbit
Release Notes
Breaking Changes
UI Improvements