FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add a feature flag to use a bundle compressed using Zstandard when setting up the default tools by henrymercer · Pull Request #2502 · github/codeql-action · GitHub

Add a feature flag to use a bundle compressed using Zstandard when setting up the default tools - #2502

Merged
henrymercer merged 16 commits into
mainfrom
henrymercer/zstd-experiment
Sep 27, 2024
Merged

Add a feature flag to use a bundle compressed using Zstandard when setting up the default tools#2502
henrymercer merged 16 commits into
mainfrom
henrymercer/zstd-experiment

Conversation

Copy link
Copy Markdown
Contributor

This PR adds a feature flag to download a CodeQL Bundle compressed using Zstandard when setting up the default tools.

If we determine that tar is new enough, we will download the zstd-compressed bundle.

We add a fallback mechanism: if setting up the zstd-compressed bundle fails, we will fall back to the gzip-compressed bundle.

We add PR checks to validate both setting up a zstd-compressed bundle when the feature flag is enabled, and the fallback mechanism.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

henrymercer requested a review from a team as a code owner September 23, 2024 22:08
Comment thread src/setup-codeql.ts Outdated

aeisenberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

NlightNFotis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

henrymercer merged commit 2617ff2 into main Sep 27, 2024
henrymercer deleted the henrymercer/zstd-experiment branch September 27, 2024 13:48
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL