daytona
daytona copied to clipboard
Cleanup of a failed build deletes the original project config image
Describe the bug When running a build on a project config whose build config resolves to "no devcontainer config file found", the deletion step for the build ends up removing the Image property of the build, which is in this case an unedited Image property from the underlying project config because the build had failed. This is incorrect and only the image the builder create should be deleted.
Expected behavior We should separate the Image (and User) property from the Build struct into a new image+user combination that will be edited by the build process, leaving the original values untouched. This applies to both creation and deletion of the build.
Desktop (please complete the following information):
- Daytona Version: v0.26.1