fix(ci): fix toolchain version probe — correct packages path and PKG_TO_TOOL names#222
Merged
fix(ci): fix toolchain version probe — correct packages path and PKG_TO_TOOL names#222
Conversation
added 2 commits
March 22, 2026 17:21
omerb97
approved these changes
Mar 22, 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.
Summary
.gdn/i/(doesn't exist) instead of$RUNNER_TEMP/../_msdo/packages/nuget/PKG_TO_TOOLmap with actual Guardian NuGet package names (Microsoft.Guardian.TrivyRedist_linux_amd64, etc.) discovered from run logsnode_modules/eslint/package.json(npm install path)raise SystemExitguard (was failing the job) with a graceful skip viasteps.collect.outputs.skip_commit— job passes, last known-goodtoolchain-versions.jsonis preservedRoot cause
The packages directory assumption was based on the old
.gdn/i/{type}/layout. MSDO CLI actually installs to$RUNNER_TEMP/../_msdo/packages/nuget/with Guardian-prefixed package names. Confirmed from run #23405537434.Confirmed package names (from run logs)
Microsoft.Guardian.BanditRedist_linux_amd64Microsoft.CodeAnalysis.BinSkimMicrosoft.Guardian.CheckovRedist_linux_amd64Azure.Templates.Analyzer.CommandLine.linux-x64Microsoft.Guardian.TerrascanRedist_linux_amd64Microsoft.Guardian.TrivyRedist_linux_amd64node_modules/eslint/package.jsonTest plan
gh workflow run toolchain-version-probe.ymltoolchain-versions.jsoncommitted with all 7 tools resolved0.69.3(confirming pinned version visibility for breach monitor)