-
Notifications
You must be signed in to change notification settings - Fork 16.5k
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
refactor(core): Improve UX on permission errors (no-changelog) #13795
Conversation
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
fd835a8
to
c5d3773
Compare
c5d3773
to
a688e95
Compare
packages/cli/src/workflow-helpers.ts
Outdated
error: NodeApiError | NodeOperationError | WorkflowOperationError, | ||
node: INode, | ||
error: ExecutionError, | ||
node: INode | undefined, |
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.
Do we know in which cases we can have a node-less error?
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.
when SubworkflowPolicyChecker.check
throws
8f39efb
to
40d9c33
Compare
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.
🙏🏻
packages/cli/src/executions/__tests__/execution.service.test.ts
Outdated
Show resolved
Hide resolved
@Service() | ||
export class PermissionChecker { | ||
export class CredentialsPermissionChecker { |
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.
I like this name better 👍🏻
Co-authored-by: Iván Ovejero <[email protected]>
|
n8n
|
Project |
n8n
|
Branch Review |
master
|
Run status |
|
Run duration | 04m 41s |
Commit |
|
Committer | कारतोफ्फेलस्क्रिप्ट™ |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
5
|
|
0
|
|
441
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Summary
This PR improves the execution permission errors UX by
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)