Skip to content

Enable prebuilt detection #8678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 19, 2023
Merged

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Apr 18, 2023

  • Baseline a few dependencies until msbuild targets net8.0, or an arcade fix comes in
  • Add SBRP dependencies (with subscription) and source build tags

- Baseline a few dependencies until msbuild targets net8.0, or an arcade fix comes in
- Add SBRP dependencies (with subscription) and source build tags

Update SBRP
@@ -1,5 +1,22 @@
<UsageData>
<IgnorePatterns>
<UsagePattern IdentityGlob="*/*" />
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*/*" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was expecting the net7 targeting pack to be reported as a prebuilt. Do you know why it isn't?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of this?

"dotnet": "7.0.203",

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sure, the 7.0 SDK is carrying the targeting pack it needs. Thanks for pointing that out.

@mmitche
Copy link
Member Author

mmitche commented Apr 19, 2023

I'm going to change this PR to simply baseline anything built in 7.0

@mmitche
Copy link
Member Author

mmitche commented Apr 19, 2023

@MichaelSimons Revised the fix to baseline all 7.0*

@mmitche mmitche enabled auto-merge (squash) April 19, 2023 19:53
@mmitche mmitche requested a review from MichaelSimons April 19, 2023 19:53
@mmitche mmitche merged commit d634ea0 into dotnet:main Apr 19, 2023
Comment on lines +35 to +38
<UsagePattern IdentityGlob="Microsoft.Build.Tasks.Git/*1.1.0-beta-20206-02*" />
<UsagePattern IdentityGlob="Microsoft.SourceLink.AzureRepos.Git/*1.1.0-beta-20206-02*" />
<UsagePattern IdentityGlob="Microsoft.SourceLink.Common/*1.1.0-beta-20206-02*" />
<UsagePattern IdentityGlob="Microsoft.SourceLink.GitHub/*1.1.0-beta-20206-02*" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmitche Aren't those too specific?
We are seeing errors complaining on those in the arcade update PR (https://github.com/dotnet/msbuild/pull/8658/checks?check_run_id=12897668061):

.packages/microsoft.dotnet.arcade.sdk/6.0.0-beta.23219.1/tools/SourceBuild/AfterSourceBuild.proj(65,5): error : (NETCORE_ENGINEERING_TELEMETRY=AfterSourceBuild) 4 new packages used not in baseline! See report at /__w/1/s/artifacts/source-build/self/prebuilt-report/baseline-comparison.xml for more information. Package IDs are:
Microsoft.Build.Tasks.Git.1.1.0-beta-21423-02
Microsoft.SourceLink.AzureRepos.Git.1.1.0-beta-21423-02
Microsoft.SourceLink.Common.1.1.0-beta-21423-02
Microsoft.SourceLink.GitHub.1.1.0-beta-21423-02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants