Update internal/worker/execution/setup.go to use centralized PathRegistry: Changes: - Add import for internal/config package - Update SetupJobDirectories to use config.FromEnv() for directory creation - Replace all os.MkdirAll calls with paths.EnsureDir() - pendingDir creation - jobDir creation - outputDir (running) creation Benefits: - Consistent directory creation via PathRegistry - Centralized path management for job execution directories - Better error handling for directory creation failures |
||
|---|---|---|
| .. | ||
| setup.go | ||
| snapshot.go | ||