Tasks that create a temporary folder cannot run in parallel because one task might delete the folder while the other still needs it.
Current workaround:
Before the task, create a dedicated temp folder under /tmp and set it as an environment variable:
mkdir -p /tmp/xyz && TMPDIR=/tmp/xyz kickstartDS tokens compile
Suggestion:
Use Node's fs.mkdtemp or fs.mkdtempDisposable API to reliably avoid conflicts
https://nodejs.org/api/fs.html#fspromisesmkdtempdisposableprefix-options
Tasks that create a temporary folder cannot run in parallel because one task might delete the folder while the other still needs it.
Current workaround:
Before the task, create a dedicated temp folder under /tmp and set it as an environment variable:
Suggestion:
Use Node's
fs.mkdtemporfs.mkdtempDisposableAPI to reliably avoid conflictshttps://nodejs.org/api/fs.html#fspromisesmkdtempdisposableprefix-options