Is WordPress “publish” atomic?

It is definitely not.

Publishing post is just a form submit and series of PHP function calls. When you close browser window that is treated according to PHP connection handling rules and settings. So if script terminates early the publishing process won’t be complete or rolled back to start either.

tech