Fix UV benchmark pipeline: Linux PATH, venv dot-source params, and install pattern#1148
Draft
Copilot wants to merge 2 commits intousers/pahallis/run-benchfrom
Draft
Fix UV benchmark pipeline: Linux PATH, venv dot-source params, and install pattern#1148Copilot wants to merge 2 commits intousers/pahallis/run-benchfrom
Copilot wants to merge 2 commits intousers/pahallis/run-benchfrom
Conversation
…e, use uv tool install Co-authored-by: hallipr <1291634+hallipr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Use UV for faster builds in Azure benchmark pipeline
Fix UV benchmark pipeline: Linux PATH, venv dot-source params, and install pattern
Mar 5, 2026
This was referenced Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three bugs in the UV-based benchmark pipeline prevented it from running successfully on Linux CI agents.
Bugs fixed
install-uv.yml— Linux PATH never updated:$HOME/.local/binprepend step was conditioned onDarwinonly; the CI pool is Linux, souvwas installed but not on PATH. Condition expanded toor(Linux, Darwin).Invoke-CopilotBenchmarks.ps1— broken venv dot-source: Script dot-sourcedCreate-Venv.ps1/Activate-Venv.ps1passing-RepoRoot, which neither script'sparam()block declares → immediate runtime error. Removed the dead dot-source calls and unused$repoRootvariable.Invoke-CopilotBenchmarks.ps1— wrong UV install/run pattern:uv pip installrequires an active venv or--system;uv run 'msbench-cli'doesn't invoke an installed CLI tool. Replaced with the correct UV-native pattern:✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.