Skip to content

Fix path and cleanup issue in template building#12

Merged
jamesmurdza merged 4 commits intojamesmurdza:masterfrom
synacktraa:fix/template-building
Sep 24, 2025
Merged

Fix path and cleanup issue in template building#12
jamesmurdza merged 4 commits intojamesmurdza:masterfrom
synacktraa:fix/template-building

Conversation

@synacktraa
Copy link
Collaborator

Summary

  • Fix Daytona snapshot recreation conflicts by deleting existing snapshots first
  • Fix E2B dockerfile pattern conflicts and improve path handling
  • Enhance error messages to include full command details for better debugging

Changes

  • Daytona Provider: Added snapshot cleanup before creation to prevent
    conflicts, improved error isolation
  • E2B Provider: Resolved directory paths to absolute, fixed temp dockerfile
    naming to avoid search pattern conflicts
  • Template Utils: Enhanced executeCommand error messages to include full
    command with arguments

- Delete existing snapshots before creating new ones to avoid name conflicts
- Resolve directory to absolute path using resolve()
- Update temp dockerfile pattern from UUID.Dockerfile to Dockerfile.UUID
- Prevent conflicts with *.Dockerfile search pattern
@jamesmurdza jamesmurdza merged commit f6c653e into jamesmurdza:master Sep 24, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants