
New internal dev tools
Quick demo of some new internal facing developer workflow improvements.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Okay. Um a little pile of demos. Uh I can get this straight, please. Okay. Uh hopefully you can see my whole desktop here. Uh okay. So, uh first up is just a I guess internal PSA that we launched a tool um called merge lock here that can lock down merges domain. Um basically, if you have or get admin access to GitHub, um you can just say lock.
So, I'm going to wait. Locked out in about a second here. Um so, now main is locked, you can't merge. And unlock it's just that. Uh super simple. It's next to the tooling. We're going to probably build a bigger tool about just like shut everything down as far as deploys in a one hit so we can pause everything fast, but it's a little tool around that.
Uh the other one I wanted to show off is very developer focused. Um we are rolling out new a new linter and a new formatter. Um and the reason we're doing this or I'm doing this is it's going to make life a lot better. So, over here, this is main, so what we all live with now. I'm going to start a linter over here, and we can switch you cuz I was I think it's going to catch up.
Over here, I'm going to run yarn lint. And this is the next gen linter. This is ox lint and ox formatter. Uh so, it now gives little timers. Just wanted to have it be easier. Um you can see this guy's chewing. Don't be a jerk. There we go. Formatter was busy cuz this guy was eating the thread, but um formatter usually takes quite a bit less.
Um I'll run it one more time at the end here. Um but you can see formatting took way too long after that time, so maybe I have a bad demo. Uh I don't It would be a demo if it took too long. Um I'm actually going to go Oh, I know what happened. So, uh what's happening actually is there's thread contention in the machine.
I'm going to go back here. I'm just going to do it again. There's what I want to see, which is There's the format. So, the formatting takes 5 seconds versus prettier is about 20 seconds. Um the other one that I'll kick in here is oxylint, um which will take uh should take uh just a few more seconds.
It's actually already really slow. Um yeah, it actually has errors on it. Um All right, let me pull it in. There it is. Um so, that ox run for 20 23 seconds versus ESLint takes about 90 seconds. Um this is the actually the slow oxylint that I run fast, which is what we're going to put in IDEs and what we'll eventually have fully run.
Um go ahead and skip the TypeScript stuff. DTC format runs in 4 seconds. And there's oxylint in 8 seconds. And that's actually linting about 10 times more than we currently lint. So, it's actually running through the entire code base, whereas right now we actually only run the core lint on the VIA app code base. The rest is a little less.
Uh Think. So, that is coming. Uh the ask for devs. Um I'm going to put out a little PSA to ask everybody to install a new extension to your IDE to support ox the ox tools so that you'll have auto formatting showing up in your stuff. You put it in now, won't do anything and it's fine, but if we start rolling out this tooling, it will just work.
So, um that's coming shortly. Okay.