kestra-io / plugin-dbt

Apache License 2.0
8 stars 4 forks source link

Add task to peform job status check decoupled from trigger dbt cloud job #62

Closed aballiet closed 1 year ago

aballiet commented 1 year ago

Feature description

Add an dbt task to check until job completed given a jobId.

See discussion here

This would help reduce risks of failures / task resubmit generating an extra job when running long syncs.

Details:

Currently if Kestra worker fails at fetching the status when wait=True on this current plugin resubmitted task will trigger a new job instead of using the existing one

I am willing to do a PR 👍