Help with model running indefinitely when build as part of a pipeline

The problem I’m having

I have a problem when I run a dbt model: if I run it alone, the model (materialized as a table) is built in 10 min. But if I run the construction of a set of models and the downstream models (for example, if I have a trusted_zone folder containing a few models and I run: dbt run -s trusted_zone+), the same model (then a downstream model) is running indefinitely.

I don’t understand what the difference is between running the dbt model alone and building the same model as a downstream model.

I should point out that I’ve configured dbt with 1 thread to make sure this isn’t a concurrency problem.

Do you have any idea ?

The context of why I’m trying to do this

  • dbt 1.8
  • Postgres 14
  • Mac OS 14

What I’ve already tried

Running the model alone, running it manually.