Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a branch "Retrigger" action (Overview) wired to useBranchPushMutation with confirmation modal; mutation now invalidates both branchKeys.list and actionKeys.list. Also updates a workflow-run list item's layout to use flex with spacing. ChangesBranch retrigger and cache invalidation
Sequence DiagramsequenceDiagram
participant User
participant Overview
participant ConfirmationModal
participant useBranchPushMutation
participant queryClient
participant toast
User->>Overview: click "Retrigger" in branch actions
Overview->>ConfirmationModal: open confirmation
ConfirmationModal->>useBranchPushMutation: confirm -> call with {branchRef, projectRef}
useBranchPushMutation->>queryClient: invalidate branchKeys.list(projectRef)
useBranchPushMutation->>queryClient: invalidate actionKeys.list(projectRef)
useBranchPushMutation-->>ConfirmationModal: success -> close modal
useBranchPushMutation-->>toast: error -> show error toast
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a 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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx`:
- Line 160: Update the user-facing dialog text in WorkflowLogs.tsx that
currently reads "This will runs all steps again." to correct grammar; change the
string to "This will run all steps again." by locating the literal inside the
component (search for the exact phrase) and replace it accordingly so the dialog
displays the corrected sentence.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: bbd7d364-87e6-40ff-a75e-f788f9309bed
📒 Files selected for processing (2)
apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsxapps/studio/data/branches/branch-push-mutation.ts
🎭 Playwright Test ResultsDetails
Flaky testsFeatures › filter-bar.spec.ts › Filter Bar › Date Column Filters › date less than operator filters correctly Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/studio/components/interfaces/BranchManagement/Overview.tsx`:
- Around line 364-387: The Retrigger menu item (DropdownMenuItemTooltip) is
currently enabled for branches that are scheduled for deletion; update its
disabled logic to also check the branch's scheduled-for-deletion flag (the same
property used by PreviewBranchActions, e.g., isScheduledForDeletion or
branch.scheduledForDeletion) so it becomes disabled when true, and adjust the
tooltip.text to explain the branch is being removed (e.g., "Branch is scheduled
for removal and cannot be retriggered"). Also guard the onSelect/onClick
handlers to no-op when that flag is set (so setShowConfirmRetriggersModal is not
called for scheduled-for-deletion branches).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: bb7eaf0a-5156-4c5f-a389-93aa407e5459
📒 Files selected for processing (2)
apps/studio/components/interfaces/BranchManagement/Overview.tsxapps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx
💤 Files with no reviewable changes (1)
- apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx
Braintrust eval reportEvals in progress... ⌛ |
Problem
When workflow runs for branches fail due to stuck tasks, they can sit idle indefinitely. Users are unaware that they need to make a new commit to retrigger the workflow — leading to confusion, wasted time, and silent failures going unnoticed.
Solution
Provide a button that allows users to retrigger a workflow when it is not being removed.
How to test
Summary by CodeRabbit
New Features
Improvements