Oh, I am right there with you. I don’t want to write tests because they’re tedious, so I backfill with the AI at least starting me off on it. It’s a lot easier for me to fix something (even if it turns into a complete rewrite) than to start from a blank file.
One option is 3D printing a mold to fill with silicone sealant. If this is a part that fails regularly, the mold may be worth it. You then have a pretty broad array of food safe sealants you could use and don’t have to worry about your 3d printed part harboring bacteria.