dotnet / dotnet/project-system

Differences between PR build and local/official build

Open
#9,148 0 comments 0 reactions 0 assignees View on GitHub
Area-Infrastructure Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

We are moving to Central Feed Service so we defined a new feed containing all the packages we consume. The feed contains upstream sources where the actual packages are. Whenever someone who has permission to write to the feed builds the project, feed can update the packages from upstream based on the versions used. So when setting up the feed, I got all the packages we use populated in the feed while building on command line. The same setup also worked for our official pipeline.

But for our PR build pipeline, it started throwing error with missing packages. Most of the packages missing seemed to be related to netstandard.library and dependencies. I couldn't figure out what is referencing it or how it is consumed in official/local build that it doesn't need to download it. For PR build it tries to download from nuget feed. All the missing packages are from Nuget so we were downloading them earlier without actually knowing so behavior hasn't changed.

We should investigate why there are additional packages being downloaded for PR build only.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.