YAML Serialization Back-end Migration

Friday Demos · May 29, 2026 · 3:33

Transcript

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

  1. Okay, I'll share my screen next but we'll ask Kathy to sort of voice over. This is a little bit more of a PSA and I'll ask Kathy to kind of jump in here after I say this one thing. So right now one of the things that kind of happens is we have like to kind of like load the model in like a ton of places and like essentially Kathy's been sort of like working in the background on trying to like change where we sort of do that processing.

  2. So really trying to kind of move it all to the back end. And there's sort of like two layers that kind of happen right now. And this is a very dumb explanation of it. Kathy can definitely give you a much better one. But the customer facing kind of explanation here is really that we're trying to make things faster across the application.

  3. And so moving the where this is processed will in theory really help with that. As a part of that change though because like the kind of code can be serialized slightly differently between the back end and the front end. We actually have a little bit of a model comparison tool that is is pretty simple. Really it's just adding like compare YAML to it.

  4. And it really is meant to be an internal tool. So like if I go back to the first place page over here, you'll see that we do have a little bit of like ugly styling. But what this tool should actually help us do is identify the places where we need to go and make sure that like the parsing isn't too off because I think teams that are currently hooked up to GitHub if we were to just roll this out today, yes performance would be faster.

  5. But for those teams that are connected to GitHub, you might feel like an out of sync error. And the other sort of problem that would also occur is kind of like a little bit of like strange or unnatural syntax. I guess Kathy, I'll throw it to you to kind of explain a little bit more around like the back end side of this and like yeah.

  6. Like give a smarter explanation. Okay, thanks. Yeah, um, yeah, it's is just PSA of internal tool that we're going to use just in order to try to transition from what we currently have right now, which is we're doing YAML serialization and deserialization on the front end and the node process, which can be kind of slow and can also cause event loop lag, and so we want to move that to the back end.

  7. We want to do it carefully so that we try not to change any of the ways in which the YAML is serialized, which can just um, cause, you know, differences that you don't expect. And so we're just trying to go kind of through all the models and make sure that they line up as closely as we can.

  8. You can see like right now there's some issues with line wrapping and some quotation marks that differ between the two. So just trying to like, yeah, that one's a good one. And knock those out in an effort to move this to the back end while also maintaining the way this YAML looks so that we can get a better performance and kind of try to get around some of these uh, yeah, event loop problems that sometimes Um, and what I will say is, you know, we'll we'll try to give you notice if there are things we can't get perfect.

  9. You know, some of the way that this is parsed on the front end, it's probably just not going to be possible to replicate one for one when we move all this to the back end. So we'll make sure to give teams a heads-up if there if there's anything to kind of expect on your side. That's it. Okay.