Skip to content

[Ubuntu] Report cached tools in software report for Arm64 images - #14440

Open
v-davit-ioramashvili wants to merge 1 commit into
actions:mainfrom
v-davit-ioramashvili:fix/14093-arm-cached-tools-docs
Open

[Ubuntu] Report cached tools in software report for Arm64 images#14440
v-davit-ioramashvili wants to merge 1 commit into
actions:mainfrom
v-davit-ioramashvili:fix/14093-arm-cached-tools-docs

Conversation

@v-davit-ioramashvili

Copy link
Copy Markdown
Contributor

Description

Bug fixing.

The software report generator skipped the entire "Cached Tools" section on Arm64 images, so the Arm64 readmes list no cached tools even though the toolcache is populated there. Users reading the readme conclude nothing is cached and report it as a runner bug.

Reporting is now driven by what is actually present in the toolcache instead of hardcoded image/architecture conditions, and Get-Toolcache*Versions returns an empty list for a missing folder instead of failing under $ErrorActionPreference = "Stop". Tools with no cached versions are omitted, and the section header is emitted only when at least one tool is present.

Note: this also removes the skip for Ubuntu 26.04 x64, which will now report its cached tools (Go, Node.js, PyPy).

Related issue:

#14093

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

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.

1 participant