Cloud environment builds are completing successfully, but the snapshot fails to save:
# Couldn't save the build snapshot
The environment built, but Cursor couldn't save a snapshot of it. This is usually temporary and the next scheduled build retries automatically. If it keeps happening, contact support.
Hey @mgyarmathy-pgahq, thanks for the report and the build IDs, they helped a lot.
Both builds finished setup, but saving the snapshot failed because files in the environment were still changing while the snapshot was being captured. It isn’t happening on most of your other environments, and these two environments do occasionally save, so it looks tied to something specific in their setup.
Could you share the install and start commands (or the environment.json) for the environment in your screenshot, and for any other environment where you’ve seen this message? In particular: does the install step start Docker, docker compose, image pulls, or any other background process that may still be running when install finishes?
In the meantime, if install starts anything in the background, try making sure it has fully finished (or is stopped) before the install step exits, and move long-running services to the start step instead. Then trigger a new build and let us know if the snapshot saves.
If you aren’t comfortable sharing those details here, you may want to reach out to [email protected].
Support was able to resolve the issue, so we can close this thread:
Hi Michael,
Thanks for confirming you’re using Docker-in-Docker. Our engineers were able to reproduce the failure: running Docker inside the environment leaves behind some special marker files that our snapshot step wasn’t handling correctly. That’s why builds that include were failing right after the install step completed.
The team worked on this over the weekend and started rolling out a fix this morning. We’re now monitoring builds for your environments to confirm snapshots are saving successfully again. I’ll follow up as soon as we’ve verified it on our end. If you see a successful build before then, feel free to let me know. In the meantime, agents will continue to start from each environment’s last successful build.