Cyber GrandmaC

Are HTTP Actions atomic ?

Hi,
I'm looking at the docs for uploading files with HTTP Actions (https://docs.convex.dev/file-storage/upload-files#defining-the-upload-http-action). And I was wondering if queries and mutations ran from an HTTP Actions are atomic. For example if the "Step 2" in the exemple fails, will the "Step 1" cancel and the file deleted ? Or do I have to add precautions to avoid "dangling" files ?

Thanks for reading
Was this page helpful?