Skip to content

MicroBuild does not concurrently send files to ESRP on Mac & Linux #4793

Closed
dotnet/arcade
#15626
@ellahathaway

Description

@ellahathaway

Description of the Problem

MicroBuild, the tool responsible for sending files to ESRP for signing, exhibits different behaviors on Windows vs Mac and Linux. On Windows, MicroBuild ships multiple files at a time on multiple threads. On Mac and Linux, MicroBuild send a single file on a single thread to ESRP. This creates timeout issues on Mac & Linux and increases build time significantly. It is the difference between sending one file per thread using a single thread versus sending 50 files per thread using 50 threads.

Current Solution/Status

The MicroBuild team is investigating a fix. Meanwhile, it is possible to increase the thread count for the MicroBuild task. See this section of code (internal Microsoft link)

Although this adjustment won't match the concurrency level of Windows (50 threads each sending one file vs. 50 threads each sending 50 files), it should help reduce build times on Mac and Linux.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions