GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — fix(executor): preserve actors for actorless tool calls by TheodoreSpeaks · Pull Request #7230 · simstudioai/sim Conversation
Contributor
Summary
Type of Change
Testing
Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Greptile SummaryThe PR moves legacy actorless-execution compatibility into the trusted executor principal and removes separate execution-actor inputs from application use cases.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/internal/principals/executor.ts | Binds the execution context user as a compatibility actor only when the trusted executor origin has no Sim-user subject. |
| apps/sim/lib/auth/internal-delegation.ts | Adds validated compatibility-actor binding while rejecting empty actors and delegations that already have a user subject. |
| packages/auth/src/principal.ts | Extends workflow delegation context with a deployment-only compatibility actor and resolves real principal subjects first. |
| apps/sim/lib/credentials/application/authorization.ts | Centralizes credential execution-user resolution through the principal-bound compatibility policy. |
| apps/sim/lib/custom-tools/application/use-cases.ts | Applies principal-derived execution-user scoping consistently to custom-tool reads, listings, updates, and deletes. |
| apps/sim/lib/knowledge/application/billing.ts | Uses the principal-bound execution actor for Knowledge personal-resource and usage attribution paths. |
| apps/sim/lib/mcp/application/authorization.ts | Removes caller-supplied execution identity and resolves MCP credential ownership from the principal. |
| apps/sim/lib/workspace-files/application/share-workspace-file.ts | Preserves actorless deployment sharing behavior through the principal-bound execution actor. |
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Workflow execution context] --> B[Trusted executor adapter]
B --> C{Principal has Sim user subject?}
C -->|Yes| D[Use authenticated subject]
C -->|No, deployed execution| E[Bind compatibility actor]
D --> F[Principal-based workspace authorization]
E --> F
F --> G[Application operation]
G --> H[Personal resource lookup using execution user]
G --> I[Audit identity using principal]
Reviews (2): Last reviewed commit: "fix(auth): bind legacy execution actors ..." | Re-trigger Greptile
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
All reported issues were addressed across 38 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
5798075 to
53c24fc
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
53c24fc6
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.