-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbt deps
hanging for hours
#3177
Comments
@walshie4 Thanks for opening, and for sharing the debug logs! While it's impossible to know exactly what that request hung for hours, the fix here feels pretty straightforward. We should specify a reasonable timeout within Then within the Is this a fix you'd be interested in contributing? :) |
Sure thing, was hoping it would be something this simple. 🙌 |
@jtcohen6 wondering if this has been implemented or not as I'd be interested in picking it up. 😄 |
@TeddyCr Not yet implemented! If you want it, you got it :) |
@jtcohen6 perfect, I'll tackle that one! |
@jtcohen6 I have implemented the changes based on your feedback above. Any recommendation to test the implementantion? My initial thought was to implement a unit test in |
That makes a lot of sense to me! There's a bunch of deps-related unit tests over in |
Resolved by #3275 |
Describe the bug
In our dbt hourly job we run
dbt deps
to prepare the environment. Recently one of these calls ran for 20+ hours without exiting causing us to have to cancel the job and all queued behind it.debug log
Steps To Reproduce
In as much detail as possible, please provide steps to reproduce the issue. Sample data that triggers the issue, example model code, etc is all very helpful here.
Expected behavior
dbt deps
would exit with success or failure within a few minutes at most.Screenshots and log output
See log in collapse section above
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
dbt cloud
The output of
python --version
:unsure, dbt cloud
Additional context
Add any other context about the problem here.
This is running in dbt Cloud
The text was updated successfully, but these errors were encountered: