SIGN IN SIGN UP
n8n-io / n8n UNCLAIMED

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

0 0 22 TypeScript

fix(instance-ai): Pass user and sharingOptions to execution query

The execution adapter was passing `accessibleWorkflowIds` to
`findManyByRangeQuery`, but that field is not part of
`ExecutionSummaries.RangeQuery`. Without `user`/`sharingOptions`, the
query builder fell into `WHERE 1 = 0`, returning zero results every
time — causing the agent to loop on "Checking executions" without
finding anything.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
M
Mutasem Aldmour committed
9e8b75386b5c525757d6c95f29624c5d1d229dc0
Parent: 0aad1dc