Hello, there!
I think it would be a great feature if dbt build command had a “rollback” option. This would basically revert any changes made during dbt run step if a fail happens during dbt test step. Let me know what your thoughts are and if there is something like this already being worked on.