-
Notifications
You must be signed in to change notification settings - Fork 7
-
Notifications
You must be signed in to change notification settings - Fork 7
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-161] RPC server goes into infinitely compiling state when cancelling dbt deps
#71
Comments
dbt deps
dbt deps
I was able to reproduce this with
(I'm sure I'm slightly off for a few of the finer details) You can also watch me repro in this Loom :) |
@jtcohen6 Lol, the matching sweatshirt Loom 😆 Thanks so much for the reproduction and analysis! Learned a lot about internals from watching. I need to get my local dbt set up restored so that I can provide local repro for this sort of thing! |
We have a few issues regarding dbt not handling inturrupts well.. Spike has been made to investigate further: |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Background
In the Cloud IDE, when you cancel a
dbt deps
command, the rpc server enters a compiling state and never comes out in my testing (after 5+ minutes). This appears to be a bug with dbt core or the RPC server, rather than cloud getting out of sync with the rpc server. The cloud IDe sends a “kill” command when the cancel button is clicked. As the IDE polls onstatus
, it gets “compiling” back every time. So far, I have only been able to get this to happen withdeps
and no other commands.Reproduction steps
In dbt Cloud:
dbt deps
You can also watch me repro this in this Loom.
Expected behavior
I expect the server to go to compiling momentarily after cancelling, but to then finish compiling and enter either an error or ready state.
The text was updated successfully, but these errors were encountered: