
Pull requests + model history cleanup (launched)
The launch of pull requests in Omni, including flexibility across dbt schemas and warehouses; also a preview of some touch-ups to model history, like viewing schema model changes
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
well I I'll go next because I was actually going to demo some of Jared's work uh on his behalf um so he hasn't just been making gradients for your avatars also been helping get the web hook GitHub integration over the line so let me see how I can share um everybody's seen the start of this but uh so we have styled the git settings page and this is all Jared right here um so we're really getting ready to release and this obviously couldn't release in the previous state so thanks Jared for taking care of this I'm not going to walk everybody through the uh git setup because we've already done that but we also made some improvements or enhancements to the general flow so so
I have already linked git to this um model and I'm going to give it a create a new Branch uh and you can see there's no changes in this Branch so there's actually no ability to create a poll request or merge your changes but um as soon as we come in and you know make a change to here save that to the branch now we have an option to either merge or create a poll request I'm going to demo the poll request flow um new tab we come out to GitHub we'll create our poll requests uh that actually sent a web hook so now we know that the PLL request is open we don't have any way of actually updating the browser without a refresh
but the next action that you take in the the browser you'll see that we're aware that there is an open poll request associated with uh this branch and we currently have no local changes because we are in sync um we'll just make another change and save that to the branch now we have a new state to update poll request and can go ahead and update that because there's a change it wants a message uh for the commit message we've now pushed that change well not quite yet oh now we've pushed that change up to uh GitHub Rome is covering my screen there we go um you can see we've actually got two commits the latest commit is in the diff if I jump back in
merge my poll request uh we all know that you know when you merge the PLL request now that's in Maine so um don't need to go look at GitHub anymore but um this was from The Last Action once again this browser session doesn't actually know that that that's happened but if I exit the branch now we see that we've um promoted the the change from there and also if I were to go into the branch list uh that branch that I created for this demo got deleted uh or soft deleted as part of the merge and then uh so that's the full end to endend of of the the git integration that we're doing we're uh testing that internally on Omni uh the Omni app
so please try out don't bypass the pull request workflow every time um and let's get some internal usage so that we can uh release to the public and then I also wanted to show another thing that I did which kind of dovetails nicely with this so there's been quite a bit of uh confusion around the history page so taking various passes to try and improve that experience um what I just showed by the way is all merged in main this is in my local only but uh over the course of developing the the git integration I also started collecting um messages on version history history entries and so you can see that we're writing some automatic messages uh we also capture um like when you
write a commit message uh when you're updating the branch like we just showed and so now I'm actually showing um the the message that you added sometimes like I say these are autocreated you can see I've been testing out the web hook stuff uh and then I also made a fix so the web hook doesn't have a user we all worked um to create this whole actor idea so that we can have service accounts logging into stuff um and so I've added that we're now not just displaying if a real user uh did the took the action in that that made the change to the model but I'm also showing the web hook uh oh hold on I was showing this oh oh these ones
I wasn't collecting it yet uh but in these latest versions you'll see that the US in this case was the web hook service and then one other uh enhancement that I made in uh the model history in this branch is um people were getting confused I think by seeing not being able to reset their current the their version in the history and they were often selecting a version entry that's outside of their current model layer so for example right now we're looking at the shared model but they were selecting a schema uh model change and they couldn't reset it and they were going what's going on so um I've added this toggle I'm actually going to work with um Jared to to decide if we
want a toggle or like check boxes for the various layers that might be showing up but now you can decide whether or not you want to include version entries from other layers and we're defaulting to not showing these other versions entries um in my shared model I haven't refreshed schema much so but hopefully everybody saw now we show the schema model now we don't or the the schema version uh and um you know it's not really meaningful inside of the model only view so in that case I actually hide the toggle all together and that's uh three demos all wrapped into one that's looking so nice random small question when we merge from a poqu into in demain do we treat that like a squash
merge like not going to get each individual commit in the version history or do we see that all um it it depends on if you squash merge or in get that's awesome that's amazing wait no or I think he for Omni it's a squash merge always right Omni is always a squash merge I thought you were asking about GitHub but from from GitHub too that we could see individual commits if they come over as commits kind of thing I believe if you merge without squashing the it'll give you all the scen well the the unsquash merge to main will still be a single commit into main will it not it'll just be a merge commit um yeah well or yeah the it on the git
side it's just get so yeah if you do a merge commit it'll be the commits from your branch that you made and the merge commit on Omni side it's always a squat in that there's a single change where we promoted your branch as one thing cool cool that's awesome that's great yeah it looks it looks amazing though I'm so stoked and to be clear just clarifying that like the the commits that you do see and get are only what when you click the update this Branch um button so it's not every single save in omy