Connection refresh error improvements, including dbt

Buck Ryan · Friday Demos · March 1, 2024 · 2:23

Better handling of connection testing and refreshing to make sure we're sharing better warnings and clear notes on the dbt connection as well.

Try it yourselfThe full week on docsadministrationmodeling

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I've got a DBT sort of thing to demo okay hopefully I'm sharing the right screen are you seeing Omni yes cool so um thank you this little uh box here that shows when the last schema refresh is getting an upgrade the original goal uh and what it's doing is if DBT fails it's now telling you about this whereas before you would hit refresh schema and you would have no idea if DPT succeeded or not um we would just kind of monitor for issues and get Al alerted on them Brian would tell me and then I would go try to fix it and now you can see that here and it'll do its best to tell you what specifically went wrong so in this case the

  2. public key has not been added it gives you a link to go to DBT to the section to fix it um this example says that the branch you provided does not exist click here to fix it um while doing this there's a extra benefit to all of this which is uh now if you click refresh schema I intentionally put like a 10-second DeLay So this takes a while uh but if you refresh a page or if a different user came to this page they'll see that it's refreshing um so it'll sort of persist Beyond whereas before you clicked it it would show you that it was refreshing but if you refresh the page that would be gone and you wouldn't really know what would happen

  3. um and then a final thing that's happening here is that while this is refreshing we're now this is in progress It's about to be ready um adding this heartbeat heartbeat mechanism so that as it's running in the back end we're keeping track of we're sort of telling the database hey this is still running and that way we'll know if uh if a deployment caused this to fail and stop running um we would see that the heartbeat hasn't updated and we can uh Mark that job as uh as failed um so yeah that's kind of all of it I'm trying to stop but it's not stopping