Uh oh!
There was an error while loading. Please reload this page.
fix(executor): restore delegated workflow execution - #6539
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryHigh Risk Overview Workflow authorization now lets an active executor delegation read any workflow in the same workspace, not only the workflow id embedded in the token—aligned with loading child workflow definitions. Agent / provider tool path gains safer handling when models echo Executor-delegation protected tools mint tokens from Reviewed by Cursor Bugbot for commit c7ef54c. Bugbot is set up for automated code reviews on this repo. Configure here. |
TheodoreSpeaks
commented
Aug 11, 2026
@cursor review |
TheodoreSpeaks
commented
Aug 11, 2026
Greptile SummaryThe PR restores delegated execution across nested workflows and agent tools while preserving trusted execution identity and secret provenance.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/providers/utils.ts | Safely resolves model-exposed environment references and fixes the previously reported merge-result typing issue. |
| apps/sim/executor/handlers/workflow/workflow-handler.ts | Preserves canonical delegation identity for regular children and establishes source-owned identity for custom-block executions. |
| apps/sim/tools/index.ts | Uses trusted execution scope for protected tools and overwrites model-supplied custom-block context fields. |
| apps/sim/executor/utils/resolved-secret-trace-registry.ts | Adds scoped placeholder rebinding with collision detection and per-tool provenance tracking. |
| apps/sim/lib/workflows/application/authorization.ts | Permits delegated workflow reads across workflows while retaining workspace and canonical-origin checks. |
Reviews (3): Last reviewed commit: "fix(providers): keep tool parameters typ..." | Re-trigger Greptile
Uh oh!
There was an error while loading. Please reload this page.
TheodoreSpeaks
commented
Aug 11, 2026
TheodoreSpeaks
commented
Aug 11, 2026
@cursor review |
Uh oh!
There was an error while loading. Please reload this page.
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 c7ef54c. Configure here.
Summary
Type of Change
Testing
Checklist