Skip to content

[tsp-client] tsp-client cannot run in parallel #8352

@chunyu3

Description

@chunyu3

tsp-client will delete sparse-spec after copying the spec files to TempTypeSpecFiles. But sparse-spec is a common shared temp directory, when we run tsp-client in parallel, one tsp-client process may delete sparse-spec before other tsp-client finish copying their spec files. As a result the second tsp-client process will fail because of lack of spec files.

Expected:
tsp-client can run in parallel.

Possible solution:
We can create sparse-spec directory for each SDK generation separately, not the use the common one

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions