Repository navigation
ci(bench): install PowerShell from the pinned 7.5.4 tarball #466
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
ci(bench): use the image pwsh instead of a 7.5.4 overlay
ubuntu-26.04 already has pwsh 7.6.6 on PATH. Extracting 7.5.4 into /opt/microsoft/powershell/7 replaced that binary and left the newer files behind. Install PowerShell only when command -v pwsh fails. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
- Loading branch information
commit 3e0d0fef32472498c8ada8c7ee2738b3ae2e2261
There are no files selected for viewing
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
Oops, something went wrong.
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.
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.
These lines are the failure from schedule run 40438097478 (job 121971584242). That job ran on
ubuntu-latest, which was imageubuntu-26.0420261012.163.1.packages.microsoft.comresolute was already configured, andapt-get install -y powershellexited withE: Unable to locate package powershell. The same command has failed every nightly run from 2026-10-22 through 2026-10-27.actions/runner-imagesinstall-powershell.shstill installs from the GitHub linux tarball whenis_ubuntu26, extracts into/opt/microsoft/powershell/7, and links/usr/bin/pwsh, because the apt package is absent. Readme20261023.163.3lists PowerShell 7.6.6. Image update20261026.180.1lists 7.6.9.command -v pwshis true on that image, so this branch does not run today. A stubpwshonPATHtookexit 0and never reachedsudo.This branch is still the only recovery path, and it cannot succeed while
ubuntu-latestis 26.04. The comment on this step already says the package is absent. Delete theapt-getlines. A missingpwshshould fail the step. An install fallback belongs in an empty directory, with a pinned digest, and not on the 7.5.4 tarball this branch just removed.