Skip to content

Support parallel runs #63

Description

@lmestel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions