Skip to content

CoreClr build should restore all components up-front #54921

Open

Description

@ViktorHofer

The "build native test components" step failed to restore components after the entire CoreClr product was built: https://dev.azure.com/dnceng/public/_build/results?buildId=1211659&view=logs&jobId=55b384d0-d6b0-5894-fd8a-d754d713246e&j=388cb898-bfbc-5d7d-00fc-4978afab125f&t=618e4245-b55d-5aa1-bf6d-da73532744e4.

Restoring all CoreClr build components up-front allows NuGet to either fail early or not at all. Also it enables NuGet to optimize the restore as it can batch requests together.

cc @trylek @jkoritzinsky @hoyosjs

Activity

  1. ghost added
    untriaged
    on Jun 29, 2021
  2. removed
    untriaged
    on Jun 29, 2021
  3. added this to the 7.0.0 milestone on Jun 29, 2021
  4. hoyosjs commented on Jun 29, 2021

    @hoyosjs
    Member

    This will probably be included in the grouping and restores. That being said, it's unlikely this will be the same restore entry as the main managed build.

  5. ViktorHofer commented on Jun 29, 2021

    @ViktorHofer
    MemberAuthor

    Why can't this be part of the overall restore?

  6. hoyosjs commented on Jun 29, 2021

    @hoyosjs
    Member

    We could, I am just warry of having two entry points - one for build-tests and one from the proj itself. There's an initiative to consolidate tests, once that happens I'd be less warry. Right now we do batching maneuvers to fight msbuild issues scaling to the obnoxious number of tests we have. Once that is in, we could easily have a traversal project and then it would be easy to batch restore.

  7. ViktorHofer commented on Jun 29, 2021

    @ViktorHofer
    MemberAuthor

    Sounds good. But apart from the runtime tests there are other components that don't restore up-front which shouldn't be blocked by the runtime tests grouping initiative.

  8. hoyosjs commented on Jul 11, 2021

    @hoyosjs
    Member

    @ViktorHofer do you know which ones?

  9. modified the milestones: 7.0.0, 8.0.0 on Aug 10, 2022
  10. modified the milestones: 8.0.0, 9.0.0 on Sep 5, 2023
  11. modified the milestones: 9.0.0, 10.0.0 on Aug 22, 2024
  12. modified the milestones: 10.0.0, Future on Aug 4, 2025
  13. added and removed
    area-Infrastructure-coreclr
    on Apr 13, 2026
  14. dotnet-policy-service commented on Apr 13, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions