From eefb943f7e5f85e6e26fff781c173475ecfe9f4f Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 10 Oct 2024 19:24:32 +0100 Subject: [PATCH 1/2] Don't use Zstandard bundles on Windows In testing, gzip performs better than Zstandard on Windows. --- .github/workflows/__zstd-bundle-fallback.yml | 2 -- .github/workflows/__zstd-bundle.yml | 2 -- lib/setup-codeql.js | 5 ++++- lib/setup-codeql.js.map | 2 +- pr-checks/checks/zstd-bundle-fallback.yml | 1 - pr-checks/checks/zstd-bundle.yml | 1 - src/setup-codeql.ts | 2 ++ 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/__zstd-bundle-fallback.yml b/.github/workflows/__zstd-bundle-fallback.yml index a37ebe1251..d2ea62b521 100644 --- a/.github/workflows/__zstd-bundle-fallback.yml +++ b/.github/workflows/__zstd-bundle-fallback.yml @@ -29,8 +29,6 @@ jobs: include: - os: macos-latest version: linked - - os: windows-latest - version: linked - os: ubuntu-latest version: linked name: Zstandard bundle fallback diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index a15d6330d4..42402b3394 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -29,8 +29,6 @@ jobs: include: - os: macos-latest version: linked - - os: windows-latest - version: linked - os: ubuntu-latest version: linked name: Zstandard bundle diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index b897e2e11e..4bec55bdc4 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -553,7 +553,10 @@ function sanitizeUrlForStatusReport(url) { : "sanitized-value"; } async function useZstdBundle(cliVersion, features, tarSupportsZstd) { - return (tarSupportsZstd && + return ( + // In testing, gzip performs better than zstd on Windows. + process.platform !== "win32" && + tarSupportsZstd && semver.gte(cliVersion, feature_flags_1.CODEQL_VERSION_ZSTD_BUNDLE) && !!(await features.getValue(feature_flags_1.Feature.ZstdBundle))); } diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index 155e57ed03..4f8a988efe 100644 --- a/lib/setup-codeql.js.map +++ b/lib/setup-codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-codeql.js","sourceRoot":"","sources":["../src/setup-codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,8DAYC;AA+ED,gEASC;AAED,0CAcC;AAiED,0CA6NC;AAMD,wEAeC;AA+ID,kDAQC;AA2CD,8CA8DC;AAjuBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA8E;AAC9E,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAKyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAoD;AAEpD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAEY,QAAA,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE,MAAM,2BAA2B,GAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAEnE,SAAS,wBAAwB,CAAC,OAAgB;IAChD,OAAO,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1C,CAAC;AAED,SAAS,mBAAmB,CAAC,OAAgB;IAC3C,MAAM,SAAS,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAEpD,IAAI,QAAgB,CAAC;IACrB,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACjC,QAAQ,GAAG,OAAO,CAAC;IACrB,CAAC;SAAM,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE,CAAC;QACxC,QAAQ,GAAG,SAAS,C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QACX,YAAY;QACZ,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAED,SAAS,0BAA0B,CAAC,GAAW;IAC7C,OAAO,CAAC,sBAAsB,EAAE,kCAAkC,CAAC,CAAC,IAAI,CACtE,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,sBAAsB,IAAI,qBAAqB,CAAC,CAC1E;QACC,CAAC,CAAC,GAAG;QACL,CAAC,CAAC,iBAAiB,CAAC;AACxB,CAAC;AAED,KAAK,UAAU,aAAa,CAC1B,UAAkB,EAClB,QAA2B,EAC3B,eAAwB;IAExB,OAAO;IACL,yDAAyD;IACzD,OAAO,CAAC,QAAQ,KAAK,OAAO;QAC5B,eAAe;QACf,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,0CAA0B,CAAC;QAClD,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,UAAU,CAAC,CAAC,CAChD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/pr-checks/checks/zstd-bundle-fallback.yml b/pr-checks/checks/zstd-bundle-fallback.yml index 40549b377b..2a43b9f503 100644 --- a/pr-checks/checks/zstd-bundle-fallback.yml +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -4,7 +4,6 @@ versions: - linked operatingSystems: - macos - - windows - ubuntu env: CODEQL_ACTION_ZSTD_BUNDLE: true diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index b8608a954f..ba11c308f8 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -4,7 +4,6 @@ versions: - linked operatingSystems: - macos - - windows - ubuntu env: CODEQL_ACTION_ZSTD_BUNDLE: true diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index fdd44edd51..e9dafe24bd 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -823,6 +823,8 @@ async function useZstdBundle( tarSupportsZstd: boolean, ): Promise { return ( + // In testing, gzip performs better than zstd on Windows. + process.platform !== "win32" && tarSupportsZstd && semver.gte(cliVersion, CODEQL_VERSION_ZSTD_BUNDLE) && !!(await features.getValue(Feature.ZstdBundle)) From 5b6984ee4d8d4337aa84b946951459213dd36daf Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 10 Oct 2024 19:40:37 +0100 Subject: [PATCH 2/2] Assert that Windows downloads gzip --- .github/workflows/__zstd-bundle.yml | 8 ++++++-- pr-checks/checks/zstd-bundle.yml | 7 +++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index 42402b3394..7438a6aa3d 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -31,6 +31,8 @@ jobs: version: linked - os: ubuntu-latest version: linked + - os: windows-latest + version: linked name: Zstandard bundle permissions: contents: read @@ -107,9 +109,11 @@ jobs: const toolsUrl = downloadTelemetryNotifications[0].properties.attributes.toolsUrl; console.log(`Found tools URL: ${toolsUrl}`); - if (!toolsUrl.endsWith('.tar.zst')) { + const expectedExtension = process.env['RUNNER_OS'] === 'Windows' ? '.tar.gz' : '.tar.zst'; + + if (!toolsUrl.endsWith(expectedExtension)) { core.setFailed( - `Expected the tools URL to be a .tar.zst file, but found ${toolsUrl}.` + `Expected the tools URL to be a ${expectedExtension} file, but found ${toolsUrl}.` ); } env: diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index ba11c308f8..a751b18bcb 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -5,6 +5,7 @@ versions: operatingSystems: - macos - ubuntu + - windows env: CODEQL_ACTION_ZSTD_BUNDLE: true steps: @@ -58,8 +59,10 @@ steps: const toolsUrl = downloadTelemetryNotifications[0].properties.attributes.toolsUrl; console.log(`Found tools URL: ${toolsUrl}`); - if (!toolsUrl.endsWith('.tar.zst')) { + const expectedExtension = process.env['RUNNER_OS'] === 'Windows' ? '.tar.gz' : '.tar.zst'; + + if (!toolsUrl.endsWith(expectedExtension)) { core.setFailed( - `Expected the tools URL to be a .tar.zst file, but found ${toolsUrl}.` + `Expected the tools URL to be a ${expectedExtension} file, but found ${toolsUrl}.` ); }