DalgoT4D / prefect-proxy

GNU Affero General Public License v3.0
1 stars 7 forks source link

failures of dbt tests to be considered as warnings for the flow #62

Closed fatchat closed 1 year ago

fatchat commented 1 year ago

when a flow runs several dbt commands, it is marked as "failed" when any of them fail

change this to "warning" when the failing case is "dbt test"

fatchat commented 1 year ago

https://docs.prefect.io/2.11.3/concepts/flows/#final-state-determination

fatchat commented 1 year ago

DbtCoreOperation is derived from ShellOperation which provides a trigger method returning a ShellProcess

https://prefecthq.github.io/prefect-shell/commands/#prefect_shell.commands.ShellOperation.run

should we look at the return_code from this ShellProcess