CommunityToolkit/WindowsCommunityToolkit

Smoke Test Pipeline Metrics should compare against last release sizes

Open

#4113 aperta il 15 lug 2021

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)C# (1403 fork)batch import
CI/pipeline 🔬help wantedimprovements :sparkles:optimization ☄testing :building_construction:

Metriche repository

Star
 (5708 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

@azchohfi Hmm, was just messing with the DownloadPipelineArtifact wondering if we published it as an Artifact if we could use the specific flag to somehow grab the latest pipeline artifact from the main branch? Not sure if we can get that specific with the project guid? runVersion latestFromBranch maybe? 🤔 That looks promising. I can try it out later once I get the base script running.

Ref: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops

Originally posted by @michael-hawker in https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3600#issuecomment-743438497

  • The current script should save it's results to a file for that pipeline in DevOps
  • Before the script runs the data for the last release branch (or main to start) should be fetched
  • The script needs to take that data file as a potential input
  • If it has input, it needs to also compare each project against the last size for that project
  • If there's a change above ~15kb(TBD?), a new dependency, or a new binary, it should post a comment to the PR with a message/details of change

Guida contributor