GeezerVison is showing github.com — Hotfix Zstd breaking due to version change in runners by lvpx · Pull Request #1353 · actions/toolkit
Conversation
lvpx
commented
Feb 20, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Currently zstd check is dependent on the text output of the zstd --version to include zstd command line interface. This text changed to *** Zstandard CLI (64-bit) v1.5.4, by Yann Collet *** breaking the check and @actions/cache always falling back to gzip compression.
Implementation
- Set to use
gzip if the version output string is empty which should be the case if zstd is not installed.
- Introduced
--quiet flag to zstd so moving on the zstd --version should output machine readable version parsable via SemVer instead of text.
- Removed code that checks for version less than 1.3.2 as it was not working. Now we default to using zstd without
--long as that is what currently happens.
Next Steps
Will have another PR that fixes use of zstd with --long as intended. This release should unblock zstd usage.
Issues
Fixes #1341
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…rking. Defaulting to zstd without long as that is what is always happening currently.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Checks are failing. Please fix the unit tests.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
|
core.debug(`Checking ${app} ${additionalArgs.join(' ')}`)
|
|
|
try {
|
|
|
await exec.exec(`${app} --version`, [], {
|
|
|
await exec.exec(`${app}`, additionalArgs, {
|
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.
Thanks again @pdotl!
Just saw this while looking at the PR. '${app}' seems a bit redundant. The first argument should be a string and app is already one. Maybe you can fix that when you address the zstd --long issue. It would be a bit much to open a separate PR for it 😅
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
bishal-pdMSFT and lvpx reacted with thumbs up emoji
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.
Sure @cdce8p will take this up in the next PR.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Looks fine to remove --long check entirely. --quiet would supress warnings but not clear how that would help in semver readable text
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
--quiet would supress warnings but not clear how that would help in semver readable text
Found this in the documentation for zstd
V, --version: display version number and exit. Advanced : -vV also displays supported formats. -vvV also displays POSIX support. -q will only display the version number, suitable for machine reading.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Derrick-MUGISHA
pushed a commit
to Derrick-MUGISHA/toolkit
that referenced
this pull request
Oct 12, 2026
Hotfix Zstd breaking due to version change in runners
Reviewers
3 more reviewers
cdce8p
cdce8p left review comments
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|