Uh oh!
There was an error while loading. Please reload this page.
fix(workflows): await execution log finalization - #6309
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview A Tests mock Reviewed by Cursor Bugbot for commit 5805929. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThe PR makes non-streaming workflow execution await post-execution logging finalization while preserving ownership transfer to successful streaming callers.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/workflows/executor/execute-workflow.ts | Adds explicit logging-ownership tracking and awaits post-execution work on every path where ownership is not transferred. |
| apps/sim/lib/workflows/executor/execute-workflow.test.ts | Covers delayed success and rejection settlement plus successful and failed streaming ownership behavior. |
| .agents/skills/ship/SKILL.md | Adds the existing tool-request boundary check to the parallel ship audit list. |
| .claude/commands/ship.md | Keeps the Claude ship command’s audit list synchronized. |
| .cursor/commands/ship.md | Keeps the Cursor ship command’s audit list synchronized. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Execute workflow core] --> B{Execution succeeded?}
B -- No --> C[Log and rethrow execution error]
B -- Yes --> D[Handle pause state]
D --> E{Streaming caller owns completion?}
E -- Yes --> F[Return result with LoggingSession]
E -- No --> G[Return ordinary result]
C --> H[Await post-execution logging]
G --> H
F --> I[Streaming layer completes or fails LoggingSession]
Reviews (2): Last reviewed commit: "chore(ship): resolve staging drift" | Re-trigger Greptile
TheodoreSpeaks
commented
Aug 6, 2026
TheodoreSpeaks
commented
Aug 6, 2026
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 5805929. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Type of Change
Testing
Checklist