Skip to content

Copilot/perf binlog download pipeline artifact#5264

Merged
DrewScoggins merged 2 commits into
dotnet:mainfrom
DrewScoggins:copilot/perf-binlog-download-pipeline-artifact
Jul 20, 2026
Merged

Copilot/perf binlog download pipeline artifact#5264
DrewScoggins merged 2 commits into
dotnet:mainfrom
DrewScoggins:copilot/perf-binlog-download-pipeline-artifact

Conversation

@DrewScoggins

Copy link
Copy Markdown
Member

No description provided.

DrewScoggins and others added 2 commits July 20, 2026 11:20
The two inline binlog download steps in runtime-perf-job.yml still used
DownloadBuildArtifacts@0, which was missed by #5262. dotnet/runtime now
publishes these binlogs as Pipeline Artifacts (#128498), so migrate the
download side to DownloadPipelineArtifact@2, matching #5262's pattern
(drop downloadType/checkDownloadedFiles, downloadPath -> targetPath).
Paired with the runtime change giving these binlogs stable names.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6f47a24b-d0d8-4286-afcc-a1f3d96552c5
Migrate the last inline "Download iOS Sample App" step in runtime-perf-job.yml
off DownloadBuildArtifacts@0, completing the move to DownloadPipelineArtifact@2
for all downloads in the perf pipeline YAML (eng/common is Arcade-managed and
left as-is).

DownloadPipelineArtifact@2 places a named artifact's contents directly in
targetPath, without the <artifactName> subfolder that DownloadBuildArtifacts@0
created. The payload-staging globs in run_performance_job.py used "**" without
recursive=True, so they only matched one intermediate directory and would miss
the now-flattened .binlog/.zip files (fatal for the iOS sample app zip). Make
those three globs recursive; recursive=True also still matches the old nested
layout, so it is safe across the transition.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6f47a24b-d0d8-4286-afcc-a1f3d96552c5
Copilot AI review requested due to automatic review settings July 20, 2026 20:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the runtime performance pipeline to download build outputs as pipeline artifacts and adjusts the job payload-prep script to correctly locate downloaded binlog/zip files when they’re nested in artifact folder structures.

Changes:

  • Switch Android/iOS artifact download steps from DownloadBuildArtifacts@0 to DownloadPipelineArtifact@2 (using targetPath).
  • Fix Python artifact file discovery by enabling recursive glob() for **/*.binlog and **/*.zip patterns.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
scripts/run_performance_job.py Ensures glob("**/...") searches recursively so downloaded binlogs/zips are found and moved to stable names.
eng/pipelines/templates/runtime-perf-job.yml Migrates Android/iOS downloads to DownloadPipelineArtifact@2 and aligns inputs with pipeline-artifact semantics.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DrewScoggins
DrewScoggins requested a review from LoopedBard3 July 20, 2026 20:35
@DrewScoggins
DrewScoggins merged commit 3c1fc10 into dotnet:main Jul 20, 2026
74 of 75 checks passed
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.

3 participants