Skip to content

How to track down intermittent DagsterSubprocessError from dbt manifest reads? 🤯 #22661

Answered by rexledesma
somiandras asked this question in Q&A
Discussion options

You must be logged in to vote

From https://docs.dagster.io/integrations/dbt/reference#loading-dbt-models-from-a-dbt-project:

When deploying your Dagster project to production, we recommend generating the manifest at build time to avoid the overhead of recompiling your dbt project every time your Dagster code is executed. A manifest.json should be precompiled and included in the Python package for your Dagster code.

Creating the manifest at runtime in production is known to cause issues and is not recommended. This is often caused by the following code and should be avoided.

You seem to be creating your manifest at runtime in production, since you have DAGSTER_DBT_PARSE_PROJECT_ON_LOAD set to True. Our recommendation…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@somiandras
Comment options

Answer selected by rexledesma
Comment options

You must be logged in to vote
1 reply
@rexledesma
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: troubleshooting Related to debugging and error messages integration: dbt Related to dagster-dbt
3 participants