Skip to content
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

Refactor artifacts size tests #42447

Merged
merged 6 commits into from
Jul 30, 2024

Conversation

ellahathaway
Copy link
Member

@ellahathaway ellahathaway commented Jul 29, 2024

Fixes dotnet/source-build#4528 and dotnet/source-build#4475

This PR accomplishes the following items:

  • Track size differences only for zero-sized artifacts instead of all artifacts.
  • Add an exclusion baseline to exclude known zero-sized artifacts and specify the source artifact for the exclusion.
  • Provide the ability to add new exclusions to the updated exclusion baseline.
  • Run the artifact size tests as part of the VMR source-build tests instead of the SDK content tests.

Test runs (internal Microsoft links):

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Jul 29, 2024
@ellahathaway ellahathaway marked this pull request as ready for review July 29, 2024 21:57
@ellahathaway ellahathaway requested review from a team as code owners July 29, 2024 21:57
@ellahathaway ellahathaway force-pushed the artifact-size-refactor branch from 5909a48 to 0462ce7 Compare July 29, 2024 23:05
eng/pipelines/templates/jobs/vmr-build.yml Outdated Show resolved Hide resolved
# 'folder/' is equivalent to 'folder/**. It matches 'folder/', 'folder/abc', and 'folder/abc/def/'

metadata/workloads/x.y.z/userlocal|sdk
packs/runtime.banana-rid.Microsoft.DotNet.ILCompiler/x.y.z/sdk/nonportable.txt|sdk
Copy link
Member

Choose a reason for hiding this comment

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

This file strikes me as odd. I wonder why we ship it?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure. Filed dotnet/source-build#4533 in response.

@ellahathaway
Copy link
Member Author

@dotnet/source-build-internal - Can I get help merging this? The two pending checks were cancelled due to pool issues.... I'm not sure why they're showing as in progress.

@MichaelSimons MichaelSimons merged commit 10803ec into dotnet:main Jul 30, 2024
31 of 37 checks passed
@ellahathaway ellahathaway deleted the artifact-size-refactor branch July 30, 2024 21:33
baronfel pushed a commit to baronfel/sdk that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce Developer Time Spent on Artifact Size Tests
3 participants