Skip to content

Guarantee the build task is run before sensors [ExecutionMode.WATCHER] #1959

@pankajkoti

Description

@pankajkoti

Ensure that the dbt build root task always runs before watcher/sensor tasks begin consuming XCom events. This guarantees that watcher tasks don’t start waiting on events from an uninitialized run.

Explore the following potential ideas to achieve this:

  1. Airflow priority weight is set on the build task.
  2. Trigger rules (always?) configured to enforce execution order.

related: #1950

Acceptance Criteria:

  • The root dbt build task always runs before sensor tasks

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions