Files created using the sandbox SDK in a devbox have a temporary lifespan.
Lifespan: Files created in a devbox typically last for the duration of your devbox session, which has a limited time period (often 2-6 hours, depending on the specific platform configuration).
After deadline period: When the deadline/time limit expires:
The devbox instance is terminated
All files and data stored within the devbox are deleted
The environment essentially disappears completely
Reconnection attempts: If you try to reconnect to a devbox using its ID after the deadline period:
You'll receive an error message indicating that the devbox no longer exists
You won't be able to access any of your previous files or work
You'd need to create a new devbox instance and start fresh
To preserve your work from a devbox, you should:
Download important files before the session ends
Commit and push changes to external repositories
Use persistent storage options if they're available with your specific sandbox SDK