Skip to content

Trimming tests should restore upfront instead of after the product build #54920

Open
@ViktorHofer

Description

@ViktorHofer

See https://dev.azure.com/dnceng/public/_build/results?buildId=1211661&view=logs&jobId=9bd06b96-2bdb-52e1-9716-7806e46fa22b&j=9bd06b96-2bdb-52e1-9716-7806e46fa22b&t=a3f0b638-9032-505e-73db-bdcb5f500afb which was failing during restore but after the product build.

By moving to an up-front restore of the (generated) trimming test project, restore is bundled together with the rest of the product restore and NuGet can either fail early or succeed. Also restoring everything in one go makes the overall restore much more efficient. Failing late in the build makes both a poor local developer experience and wastes resources on CI.

cc @joperezr @safern @eerhardt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions