Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ constants live in `helpers/consts.ts`.

`executeAndLinkItems` owns the per-input-item loop, `pairedItem` linking, and `continueOnFail()`.
Input iteration there and in `executeActor` has caused duplicate-run regressions before, so
change it carefully. Because `continueOnFail` lives there, `Apify.node.ts#execute` carries an
intentional `require-continue-on-fail` eslint-disable — leave it.
change it carefully.

### Node → resource → operation tree

`Apify.node.ts` is thin: properties from `Apify.properties.ts`, methods from `resources/index.ts`,
`execute` delegating to `resources/router.ts`. Both nodes set `usableAsTool: true`.
`execute` delegating to `resources/router.ts`. Only the action node sets `usableAsTool: true`.

Every level of `nodes/Apify/resources/` repeats the same shape:

Expand Down
1 change: 0 additions & 1 deletion nodes/Apify/Apify.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class Apify implements INodeType {
methods = methods;

// continueOnFail is handled inside executeAndLinkItems (see resources/genericFunctions.ts).
// eslint-disable-next-line @n8n/community-nodes/require-continue-on-fail
async execute(this: IExecuteFunctions) {
return await executeAndLinkItems.call(this, async function (this: IExecuteFunctions, itemIndex: number) {
return await resourceRouter.call(this, itemIndex);
Expand Down
1 change: 0 additions & 1 deletion nodes/Apify/ApifyTrigger.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export class ApifyTrigger implements INodeType {
description: 'The status of the Actor or task run that should trigger the workflow',
},
]),
usableAsTool: true,
};

webhookMethods = {
Expand Down
Loading
Loading