graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

Fix missing trigger if there are both polling and once block handlers

Open pinglamb opened this issue 4 months ago • 0 comments

When the subgraph has both the kind: once and kind: polling block handlers, only one of them got triggered at the start block.

blockHandlers:
  - handler: handleOnce
    filter:
      kind: once
  - handler: handleBlock
    filter:
      kind: polling
      every: 10

It is because the block matching logic exits early when any one of the polling_intervals matches so the triggers only contain one of them.

pinglamb avatar Sep 11 '25 20:09 pinglamb