-
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
[CT-1849] [Bug] Unhandled exception in dbt deps with a bad/truncated download #6653
Comments
Thanks @barberscott! We already wrap this in retry logic: dbt-core/core/dbt/deps/base.py Lines 114 to 129 in 99f27de
I think the relevant detail here is that Lines 608 to 620 in 99f27de
And this is an A more thorough approach would see if there are any other exceptions that might crop up along the way there (from |
We haven't seen other exception types in the wild. Let's apply the narrower fix for now: adding |
Is this a new bug in dbt-core?
Current Behavior
During a github outage,
dbt deps
failed presumably as a result of codeload.github.com sending us a truncated download of a package gzip. We appear not to handle a failure in the gzip decompress and deps fails overall instead of retrying the download.Expected Behavior
Deps would retry the download per its normal retry behavior and not crash/throw unexpectedly.
Steps To Reproduce
Intermittent -- not reproducible on demand.
Relevant log output
The text was updated successfully, but these errors were encountered: