Server Action files getting corrupted when modified

Could you make sure that your database schema in the database manager is well updated? Just run from the context menu "Refresh Full Schema" when the tables node is selected of your database.

Let us know if it is all fixed after that.