-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(notifications): throw notification on runtime errors, move predeploy checks to update in deploy modal #3172
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
…loy checks to update in deploy modal
Greptile OverviewGreptile SummaryThis PR shifts client-side pre-deploy validation for redeploy/update into the Deploy modal’s Update action (instead of gating opening the modal), and refactors terminal runtime-error notifications into a shared helper while also emitting notifications when Key behavior changes:
Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant UI as DeployModal
participant WS as WorkflowStore
participant PC as PreDeployChecks
participant API as Deploy API
participant TS as TerminalConsoleStore
participant NS as NotificationStore
UI->>WS: getState() blocks/edges/loops/parallels
UI->>PC: runPreDeployChecks(liveBlocks,...)
alt checks fail
UI-->>UI: setDeployError() and return
else checks pass
UI->>API: deployMutation.mutateAsync(workflowId)
API-->>UI: deploy result (warnings/success)
end
TS->>TS: updateConsole(blockId, update, executionId?)
opt update is object and has error
TS->>TS: find matching entry by blockId+executionId
TS->>NS: addNotification(error, workflowId?, message)
end
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 2 comments
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@greptile |
|
@cursor review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 1 comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Summary
Type of Change
Testing
Tested manually
Checklist