Skip to content

Add a Flag to Prevent Test/Retroactive Events from Firing on Activate Hook #19123

@s0s0physm

Description

@s0s0physm

The issue:

Some sources currently emit test/retroactive events during the activate hook. This goes against the expected convention that these events should only be emitted during the deploy hook. The Vbout and Visitor Queue sources listed below are affected by this since they emit during the activate hook.

What needs to be done:

Add a flag that prevents sources from emitting test/retroactive events when a source or trigger component is deployed.

Expected behavior

These sources should be updated to follow the deploy-hook pattern and avoid firing these events during the activate hook.

Sources that need to be fixed:

components\vbout\sources\common\base.mjs
components\visitor_queue\sources\new-lead\new-lead.mjs

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions