dbt-labs / dbt-rpc

A server that can compile and run queries in the context of a dbt project. Additionally, it provides methods that can be used to list and terminate running processes.
https://docs.getdbt.com/reference/commands/rpc
Apache License 2.0
19 stars 7 forks source link

Fix execution of "defer" command #148

Closed gshank closed 1 year ago

gshank commented 1 year ago

Remove "defer_to_manifest" method from RPCTask and add it to RemoteRPCCLI. Add the "favor_state" parameter.

In addition a couple of errors had crept in because some changes were made when the boundary between 1.5 and main was fuzzy, so we needed to do some fixup there.

gshank commented 1 year ago

The tests were failing and now they're not. So I'm not sure we need to add a new test, since this may very well be the last pull request on this product. Also, I took a look at the way the tests work, and it's difficult to get additional information out. If you have better knowledge about that, feel free.