DBT assets launched with --exclude tag:unit-test cause jobs to fail silently when using the EqualExperts/dbt_unit_testing DBT package.
- Install the DBT dependencies:
uv run dbt deps --project-dir dbt_project - Launch the Dagster webserver locally:
uv run dagster dev - Navigate to the Hello World job in your browser:
http://localhost:3000/locations/dagster_dbt_bug/jobs/hello_world_job - Materialize the job.
- Observe that the
my_dbt_assetsstep produces this log line:
op ‘my_dbt_assets’ did not yield or return expected outputs {‘hello_world_test_hello_world’}. - Observe that the
downstream_assetwas skipped. - Observe that the job is marked as successful despite the downstream asset being skipped.