Server Action files getting corrupted when modified

I also just tried creating a new server action. It works if you create it and save, but if you modify the query, it gets corrupted again by clearing out your selected columns and adding Select all.