Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/benchmark-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,21 @@ jobs:
continue-on-error: true

- name: Install PowerShell
# ubuntu-latest already has pwsh on PATH (7.6.6 in
# /opt/microsoft/powershell/7). apt has no `powershell` package on
# 26.04, which is why run 40438097478 failed. Do not extract a
# tarball over that prefix: it downgrades the image binary and
# leaves the newer files in place.
run: |
set -euo pipefail
if command -v pwsh >/dev/null; then
pwsh -NoLogo -Command '$PSVersionTable.PSVersion.ToString()'
exit 0
fi
sudo apt-get update
sudo apt-get install -y powershell
command -v pwsh
pwsh -NoLogo -Command '$PSVersionTable.PSVersion.ToString()'
Comment on lines 71 to +74

Copy link
Copy Markdown

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 image ubuntu-26.04 20261012.163.1. packages.microsoft.com resolute was already configured, and apt-get install -y powershell exited with E: Unable to locate package powershell. The same command has failed every nightly run from 2026-10-22 through 2026-10-27.

actions/runner-images install-powershell.sh still installs from the GitHub linux tarball when is_ubuntu26, extracts into /opt/microsoft/powershell/7, and links /usr/bin/pwsh, because the apt package is absent. Readme 20261023.163.3 lists PowerShell 7.6.6. Image update 20261026.180.1 lists 7.6.9. command -v pwsh is true on that image, so this branch does not run today. A stub pwsh on PATH took exit 0 and never reached sudo.

This branch is still the only recovery path, and it cannot succeed while ubuntu-latest is 26.04. The comment on this step already says the package is absent. Delete the apt-get lines. A missing pwsh should 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.


- name: Export Benchmark JSONL
run: |
Expand Down
Loading