kestra-io / plugin-dbt

Apache License 2.0
8 stars 4 forks source link

Task crash when DBT Cloud job returns "No nodes selected!" #105

Open aballiet opened 3 months ago

aballiet commented 3 months ago

Expected Behavior

Task should parse successfully status of the job as Success from dbt Cloud

Actual Behaviour

Fails with following logs :

image

Steps To Reproduce

Create a dbt job which will not run any models as there is no selection, case when running dbt list --select state:modified+ for example and no model has been modified

Environment Information

Example flow

No response

aballiet commented 3 months ago

I am willing to provide a PR 👍

anna-geller commented 2 months ago

PR is welcome 🙏

anna-geller commented 2 months ago

@aballiet are you working on a PR?