-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PGO artifacts are vertical visibility by default except for dotnet-sdk-pgo-* #46063
base: main
Are you sure you want to change the base?
Conversation
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, who consumes these?
They're consumed by dotnet-optimization to generate the next set of PGO data to feed back into dotnet/runtime. |
@@ -95,6 +95,8 @@ | |||
<BuildArgs>$(BuildArgs) /p:SourceBuiltAssetManifestsDir=$(RepoAssetManifestsDir)</BuildArgs> | |||
<BuildArgs Condition="'$(OfficialBuildId)' != ''">$(BuildArgs) /p:OfficialBuildId=$(OfficialBuildId)</BuildArgs> | |||
<BuildArgs Condition="'$(ForceDryRunSigning)' != ''">$(BuildArgs) /p:ForceDryRunSigning=$(ForceDryRunSigning)</BuildArgs> | |||
<!-- PGO assets by default are "Vertical" visibilty. Each repo will enable the specific artifacts it must publish externally --> | |||
<BuildArgs Condition="'$(PgoInstrument)' == 'true'">$(BuildArgs) /p:DefaultArtifactVisibility=Vertical</BuildArgs> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ViktorHofer @jkoritzinsky Is your thinking that default artifact visibility is something that the VMR will be responsible for passing, rather than runtime setting this under certain conditions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the default visibility should be a property of the VMR for PGO as we need to tell every repo (not just runtime) that its assets are Vertical-only.
For other scenarios (like filtering out RID-agnostic packages if we wanted to get rid of the concept of a main vertical entirely) I could see runtime controlling the default rules itself.
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
All of the |
8fdfa88
to
59cca10
Compare
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
I think I saw this error in #45932 as well but am not 100% sure. |
I just fixed that error in the PGO leg there earlier today. |
Looking at CI, there's 3 remaining issues:
|
The Artifact extension point handles symbol packages automatically for source-build, and it automatically gets support for new features like Artifact Visibility (required for dotnet/sdk#46063)
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
Blocked on #46021
Contributes to dotnet/source-build#4648