From e7309d2b5cc55019db2b319a14be118f1ff55dce Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 18:38:49 +0100 Subject: [PATCH 01/15] Add feature flag for using zstd bundle --- lib/feature-flags.js | 8 ++++++++ lib/feature-flags.js.map | 2 +- src/feature-flags.ts | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 6f172d3e47..774490fdce 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -51,6 +51,7 @@ var Feature; Feature["DisableKotlinAnalysisEnabled"] = "disable_kotlin_analysis_enabled"; Feature["ExportDiagnosticsEnabled"] = "export_diagnostics_enabled"; Feature["QaTelemetryEnabled"] = "qa_telemetry_enabled"; + Feature["ZstdBundle"] = "zstd_bundle"; })(Feature || (exports.Feature = Feature = {})); exports.featureConfig = { [Feature.CleanupTrapCaches]: { @@ -93,6 +94,13 @@ exports.featureConfig = { legacyApi: true, minimumVersion: undefined, }, + [Feature.ZstdBundle]: { + defaultValue: false, + envVar: "CODEQL_ACTION_ZSTD_BUNDLE", + // We haven't yet installed CodeQL when we check this feature flag, so we need to implement the + // version check separately. + minimumVersion: undefined, + }, }; exports.FEATURE_FLAGS_FILE_NAME = "cached-feature-flags.json"; /** diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 06803ff20f..8ba2db4b19 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,QAAA,uCAAuC,GAAG,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;YACF,KAAK,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,Q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AAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,QAAQ,EAAE,iBAAiB;aAC5B,CACF,CAAC;YACF,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAqC,CAAC;YACnE,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,uFAAuF,CACxF,CAAC;YACF,KAAK,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/src/feature-flags.ts b/src/feature-flags.ts index e84743ee86..abddd7c895 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -47,6 +47,7 @@ export enum Feature { DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled", ExportDiagnosticsEnabled = "export_diagnostics_enabled", QaTelemetryEnabled = "qa_telemetry_enabled", + ZstdBundle = "zstd_bundle", } export const featureConfig: Record< @@ -120,6 +121,13 @@ export const featureConfig: Record< legacyApi: true, minimumVersion: undefined, }, + [Feature.ZstdBundle]: { + defaultValue: false, + envVar: "CODEQL_ACTION_ZSTD_BUNDLE", + // We haven't yet installed CodeQL when we check this feature flag, so we need to implement the + // version check separately. + minimumVersion: undefined, + }, }; /** From ac3fca3e9f1a4235a5e0100661068e5dd42ae6fc Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 19:00:30 +0100 Subject: [PATCH 02/15] Use zstd bundle by default when feature flag enabled --- lib/codeql.js | 4 ++-- lib/codeql.js.map | 2 +- lib/codeql.test.js | 20 ++++++++++---------- lib/codeql.test.js.map | 2 +- lib/feature-flags.js | 5 +++++ lib/feature-flags.js.map | 2 +- lib/init-action.js | 2 +- lib/init-action.js.map | 2 +- lib/init.js | 4 ++-- lib/init.js.map | 2 +- lib/setup-codeql.js | 23 ++++++++++++++--------- lib/setup-codeql.js.map | 2 +- lib/setup-codeql.test.js | 10 +++++----- lib/setup-codeql.test.js.map | 2 +- lib/upload-lib.js | 2 +- lib/upload-lib.js.map | 2 +- src/codeql.test.ts | 20 ++++++++++++++++++++ src/codeql.ts | 2 ++ src/feature-flags.ts | 10 ++++++++++ src/init-action.ts | 1 + src/init.ts | 4 +++- src/setup-codeql.test.ts | 6 ++++++ src/setup-codeql.ts | 31 +++++++++++++++++++++++++------ src/upload-lib.ts | 1 + 24 files changed, 116 insertions(+), 45 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index a9b56af836..69d098bb66 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -122,9 +122,9 @@ const CODEQL_VERSION_CACHE_CLEANUP = "2.17.1"; * version requirement. Must be set to true outside tests. * @returns a { CodeQL, toolsVersion } object. */ -async function setupCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, logger, checkVersion) { +async function setupCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, checkVersion) { try { - const { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion, } = await setupCodeql.setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, logger); + const { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion, } = await setupCodeql.setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger); logger.debug(`Bundle download status report: ${JSON.stringify(toolsDownloadStatusReport)}`); let codeqlCmd = path.join(codeqlFolder, "codeql", "codeql"); if (process.platform === "win32") { diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 62ba046398..a06babf1d7 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2VA,kCAwDC;AAKD,8BAKC;AAyBD,8BAwDC;AAQD,0CAMC;AAOD,kDAIC;AAUD,0CAymBC;AAqDD,0CAeC;AAwHD,8EASC;AAED,4FAYC;AAOD,gFAEC;AAt1CD,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,8CAAgC;AAChC,+CAAiC;AAEjC,iDAIwB;AAExB,6CAGsB;AAEtB,uCAAmC;AACnC,+CAAuC;AACvC,mDAKyB;AAGzB,4DAA8C;AAC9C,qDAAyE;AACzE,mDAA8D;AAC9D,6CAA+B;AAC/B,iCAAiE;AAqOjE;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD;;;;;;;GAOG;AACH,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,2BAA2B,GAAG,QAAQ,CAAC;AAE7C;;GAEG;AACH,MAAM,qC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AAC,EAAE,CAAC;AACT,CAAC;AAED;;;;;;GAMG;AACH,SAAS,sCAAsC;IAC7C,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;IAC/D,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG;QACjC,GAAG,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC;QAC/B,wBAAwB;QACxB,+BAA+B;KAChC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;AAED,KAAK,UAAU,yBAAyB,CAAC,MAAc;IACrD,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,YAAY,CAAC,CAAC;IAEpD,OAAO,UAAU;QACf,CAAC,MAAM,MAAM,CAAC,eAAe,CAC3B,6BAAY,CAAC,gDAAgD,CAC9D,CAAC;QACF,CAAC,CAAC,CAAC,mCAAmC,UAAU,EAAE,CAAC;QACnD,CAAC,CAAC,EAAE,CAAC;AACT,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 9046889258..043d7838e3 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -60,7 +60,7 @@ async function installIntoToolcache({ apiDetails = testing_utils_1.SAMPLE_DOTCOM const url = (0, testing_utils_1.mockBundleDownloadApi)({ apiDetails, isPinned, tagName }); await codeql.setupCodeQL(cliVersion !== undefined ? undefined : url, apiDetails, tmpDir, util.GitHubVariant.GHES, cliVersion !== undefined ? { cliVersion, tagName } - : testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + : testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); } function mockReleaseApi({ apiDetails = testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, assetNames, tagName, }) { return (0, nock_1.default)(apiDetails.apiURL) @@ -97,7 +97,7 @@ function mockApiDetails(apiDetails) { tagName: `codeql-bundle-${version}`, isPinned: false, }); - const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.assert(toolcache.find("CodeQL", `0.0.0-${version}`)); t.is(result.toolsVersion, `0.0.0-${version}`); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Download); @@ -113,7 +113,7 @@ function mockApiDetails(apiDetails) { tagName: `codeql-bundle-v2.14.0`, isPinned: false, }); - const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.is(toolcache.findAllVersions("CodeQL").length, 1); t.assert(toolcache.find("CodeQL", `2.14.0`)); t.is(result.toolsVersion, `2.14.0`); @@ -132,7 +132,7 @@ function mockApiDetails(apiDetails) { const url = (0, testing_utils_1.mockBundleDownloadApi)({ tagName: "codeql-bundle-20200610", }); - const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.assert(toolcache.find("CodeQL", "0.0.0-20200610")); t.deepEqual(result.toolsVersion, "0.0.0-20200610"); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Download); @@ -158,7 +158,7 @@ for (const { tagName, expectedToolcacheVersion, } of EXPLICITLY_REQUESTED_BUNDLE const url = (0, testing_utils_1.mockBundleDownloadApi)({ tagName, }); - const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL(url, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.assert(toolcache.find("CodeQL", expectedToolcacheVersion)); t.deepEqual(result.toolsVersion, expectedToolcacheVersion); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Download); @@ -181,7 +181,7 @@ for (const toolcacheVersion of [ .withArgs("CodeQL", toolcacheVersion) .returns("path/to/cached/codeql"); sinon.stub(toolcache, "findAllVersions").returns([toolcacheVersion]); - const result = await codeql.setupCodeQL(undefined, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL(undefined, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.is(result.toolsVersion, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION.cliVersion); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Toolcache); t.is(result.toolsDownloadStatusReport?.downloadDurationMs, undefined); @@ -199,7 +199,7 @@ for (const toolcacheVersion of [ const result = await codeql.setupCodeQL(undefined, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.GHES, { cliVersion: defaults.cliVersion, tagName: defaults.bundleVersion, - }, (0, logging_1.getRunnerLogger)(true), false); + }, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.deepEqual(result.toolsVersion, "0.0.0-20200601"); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Toolcache); t.is(result.toolsDownloadStatusReport?.downloadDurationMs, undefined); @@ -221,7 +221,7 @@ for (const toolcacheVersion of [ const result = await codeql.setupCodeQL(undefined, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.GHES, { cliVersion: defaults.cliVersion, tagName: defaults.bundleVersion, - }, (0, logging_1.getRunnerLogger)(true), false); + }, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.deepEqual(result.toolsVersion, defaults.cliVersion); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Download); t.assert(Number.isInteger(result.toolsDownloadStatusReport?.downloadDurationMs)); @@ -240,7 +240,7 @@ for (const toolcacheVersion of [ (0, testing_utils_1.mockBundleDownloadApi)({ tagName: defaults.bundleVersion, }); - const result = await codeql.setupCodeQL("latest", testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL("latest", testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.deepEqual(result.toolsVersion, defaults.cliVersion); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Download); t.assert(Number.isInteger(result.toolsDownloadStatusReport?.downloadDurationMs)); @@ -262,7 +262,7 @@ for (const toolcacheVersion of [ platformSpecific: false, tagName: "codeql-bundle-20230203", }); - const result = await codeql.setupCodeQL("https://github.com/codeql-testing/codeql-cli-nightlies/releases/download/codeql-bundle-20230203/codeql-bundle.tar.gz", testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false); + const result = await codeql.setupCodeQL("https://github.com/codeql-testing/codeql-cli-nightlies/releases/download/codeql-bundle-20230203/codeql-bundle.tar.gz", testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, tmpDir, util.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true), false); t.is(result.toolsVersion, "0.0.0-20230203"); t.is(result.toolsSource, setup_codeql_1.ToolsSource.Download); t.true(Number.isInteger(result.toolsDownloadStatusReport?.downloadDurationMs)); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index 77640e47ee..da5a58613d 100644 --- a/lib/codeql.test.js.map +++ b/lib/codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAo/BA,8DAqBC;AAzgCD,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,6CAAsD;AACtD,iDAAmC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AAI,CAAC,CAAC,GAAW,EAAE,EAAE,CAC1C,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,CACzC,CAAC;IACF,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,4CAA4C,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,SAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5C,MAAM,IAAA,aAAG,EAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,WAAmB,CAAC,EACpB,MAAe;IAEf,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CACtC,UAAU,EACV,YAAY,CACoC,CAAC;IACnD,IAAI,cAAc,GAAyC,SAAS,CAAC;IACrE,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;QACpE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3C,OAAO,gBAAgB,CAAC;IAC1B,CAAC,CAAC,CAAC;IACH,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACzC,IAAI,cAAc,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 774490fdce..f502f875e1 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Features = exports.FEATURE_FLAGS_FILE_NAME = exports.featureConfig = exports.Feature = exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = void 0; +exports.useZstdBundle = useZstdBundle; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const semver = __importStar(require("semver")); @@ -348,4 +349,8 @@ class GitHubFeatureFlags { } } } +async function useZstdBundle(cliVersion, features) { + return (semver.gte(cliVersion, "2.19.0") && + !!(await features.getValue(Feature.ZstdBundle))); +} //# sourceMappingURL=feature-flags.js.map \ No newline at end of file diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 8ba2db4b19..dd65139202 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,4EAAiE,CAAA;IACjE,8DAAmD,CAAA;IACnD,yEAA8D,CAAA;IAC9D,2EAAgE,CAAA;IAChE,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;IAC3C,qCAA0B,CAAA;AAC5B,CAAC,EATW,OAAO,uBAAP,OAAO,QASlB;AAEY,QAAA,aAAa,GA8BtB;IACF,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;QAC3B,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,mCAAmC;QAC3C,cAAc,EAAE,SAAS;KAC1B;IACD,CAAC,OAAO,C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KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsfA,sCAQC;AA9fD,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,4EAAiE,CAAA;IACjE,8DAAmD,CAAA;IACnD,yEAA8D,CAAA;IAC9D,2EAAgE,CAAA;IAChE,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;IAC3C,qCAA0B,CAAA;AAC5B,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C,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAEM,KAAK,UAAU,aAAa,CACjC,UAAkB,EAClB,QAA2B;IAE3B,OAAO,CACL,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;QAChC,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAChD,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index fd8a207df4..0db6d8a1d8 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -159,7 +159,7 @@ async function run() { } const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(gitHubVersion.type); toolsFeatureFlagsValid = codeQLDefaultVersionInfo.toolsFeatureFlagsValid; - const initCodeQLResult = await (0, init_1.initCodeQL)((0, actions_util_1.getOptionalInput)("tools"), apiDetails, (0, actions_util_1.getTemporaryDirectory)(), gitHubVersion.type, codeQLDefaultVersionInfo, logger); + const initCodeQLResult = await (0, init_1.initCodeQL)((0, actions_util_1.getOptionalInput)("tools"), apiDetails, (0, actions_util_1.getTemporaryDirectory)(), gitHubVersion.type, codeQLDefaultVersionInfo, features, logger); codeql = initCodeQLResult.codeql; toolsDownloadStatusReport = initCodeQLResult.toolsDownloadStatusReport; toolsVersion = initCodeQLResult.toolsVersion; diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 7a55f02874..038e3b2439 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAOwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAwE;AACxE,mDAMyB;AACzB,+BAAwC;AACxC,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM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EACzB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,CACP,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,mBAAmB,CAAC,MAA0B,EAAE,MAAc;IAC3E,wBAAwB;IACxB,MAAM,mBAAmB,GAAG,MAAM,IAAA,qBAAe,EAAC,MAAM,CAAC,CAAC;IAC1D,IAAA,2BAAa,EACX,MAAM;IACN,sFAAsF;IACtF,kDAAkD;IAClD,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EACnB,IAAA,4BAAc,EACZ,iCAAiC,EACjC,wBAAwB,EACxB;QACE,UAAU,EAAE,mBAAmB;QAC/B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;A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B,EACxB;QACE,UAAU,EAAE,mBAAmB;QAC/B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index 091cf4a2c5..d978b0664f 100644 --- a/lib/init.js +++ b/lib/init.js @@ -40,9 +40,9 @@ const languages_1 = require("./languages"); const tools_features_1 = require("./tools-features"); const tracer_config_1 = require("./tracer-config"); const util = __importStar(require("./util")); -async function initCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, logger) { +async function initCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger) { logger.startGroup("Setup CodeQL tools"); - const { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion } = await (0, codeql_1.setupCodeQL)(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, logger, true); + const { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion } = await (0, codeql_1.setupCodeQL)(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, true); await codeql.printVersion(); logger.endGroup(); return { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion }; diff --git a/lib/init.js.map b/lib/init.js.map index b131be42b5..67099cb225 100644 --- a/lib/init.js.map +++ b/lib/init.js.map @@ -1 +1 @@ -{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,gCA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X,UAAU,EAAE,CAAC;gBACb,SAAS,EAAE,IAAI;aAChB,CAAC,CAAC;YAEH,MAAM,CAAC,IAAI,CACT,yCAAyC,MAAM,CAAC,UAAU,GAAG,CAC9D,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,KAAK,GAAG,mEACZ,IAAA,+BAAgB,EAAC,aAAa,CAAC;gBAC7B,CAAC,CAAC,sCAAsC,MAAM,CAAC,UAAU,IAAI;gBAC7D,CAAC,CAAC,kCAAkC,MAAM,CAAC,UAAU,IAAI;oBACvD,yEACN,iEAAiE,CAAC;YAElE,kGAAkG;YAClG,IAAI,IAAA,iCAAkB,GAAE,EAAE,CAAC;gBACzB,MAAM,IAAI,IAAI,CAAC,kBAAkB,CAC/B,GAAG,KAAK,4GAA4G;oBAClH,sEAAsE,IAAI,CAAC,eAAe,CACxF,CAAC,CACF,EAAE,CACN,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,GAAG,KAAK,sDAAsD;oBAC5D,+EAA+E;oBAC/E,yCAAyC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CACrE,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index 7c50359cbb..3485b42c31 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -48,6 +48,7 @@ const api = __importStar(require("./api-client")); // creation scripts. Ensure that any changes to the format of this file are compatible with both of // these dependents. const defaults = __importStar(require("./defaults.json")); +const feature_flags_1 = require("./feature-flags"); const tar = __importStar(require("./tar")); const util = __importStar(require("./util")); const util_1 = require("./util"); @@ -60,7 +61,11 @@ var ToolsSource; })(ToolsSource || (exports.ToolsSource = ToolsSource = {})); exports.CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; const CODEQL_BUNDLE_VERSION_ALIAS = ["linked", "latest"]; -function getCodeQLBundleName() { +function getCodeQLBundleExtension(useZstd) { + return useZstd ? ".tar.zst" : ".tar.gz"; +} +function getCodeQLBundleName(useZstd) { + const extension = getCodeQLBundleExtension(useZstd); let platform; if (process.platform === "win32") { platform = "win64"; @@ -72,9 +77,9 @@ function getCodeQLBundleName() { platform = "osx64"; } else { - return "codeql-bundle.tar.gz"; + return `codeql-bundle${extension}`; } - return `codeql-bundle-${platform}.tar.gz`; + return `codeql-bundle-${platform}${extension}`; } function getCodeQLActionRepository(logger) { if ((0, actions_util_1.isRunningLocalAction)()) { @@ -86,7 +91,7 @@ function getCodeQLActionRepository(logger) { } return util.getRequiredEnvParam("GITHUB_ACTION_REPOSITORY"); } -async function getCodeQLBundleDownloadURL(tagName, apiDetails, logger) { +async function getCodeQLBundleDownloadURL(tagName, apiDetails, useZstd, logger) { const codeQLActionRepository = getCodeQLActionRepository(logger); const potentialDownloadSources = [ // This GitHub instance, and this Action. @@ -101,7 +106,7 @@ async function getCodeQLBundleDownloadURL(tagName, apiDetails, logger) { const uniqueDownloadSources = potentialDownloadSources.filter((source, index, self) => { return !self.slice(0, index).some((other) => (0, fast_deep_equal_1.default)(source, other)); }); - const codeQLBundleName = getCodeQLBundleName(); + const codeQLBundleName = getCodeQLBundleName(useZstd); for (const downloadSource of uniqueDownloadSources) { const [apiURL, repository] = downloadSource; // If we've reached the final case, short-circuit the API check since we know the bundle exists and is public. @@ -193,7 +198,7 @@ async function findOverridingToolsInCache(humanReadableVersion, logger) { } return undefined; } -async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, logger) { +async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, features, logger) { if (toolsInput && !CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput) && !toolsInput.startsWith("http")) { @@ -335,7 +340,7 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } } if (!url) { - url = await getCodeQLBundleDownloadURL(tagName, apiDetails, logger); + url = await getCodeQLBundleDownloadURL(tagName, apiDetails, cliVersion !== undefined && (await (0, feature_flags_1.useZstdBundle)(cliVersion, features)), logger); } if (cliVersion) { logger.info(`Using CodeQL CLI version ${cliVersion} sourced from ${url}.`); @@ -471,8 +476,8 @@ function getCanonicalToolcacheVersion(cliVersion, bundleVersion, logger) { * * @returns the path to the extracted bundle, and the version of the tools */ -async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, logger) { - const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, logger); +async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger) { + const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, features, logger); let codeqlFolder; let toolsVersion = source.toolsVersion; let toolsDownloadStatusReport; diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index f31a7acf16..d62f6734f3 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,8DAYC;AA8ED,gEASC;AAED,0CAcC;AAiED,0CAqNC;AAMD,wEAeC;AAqID,kDAQC;AAyCD,8CAqDC;AAzrBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAG5C,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,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,sB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AAC,cAAc,IAAI,GAAG,CAAC,CAAC;QACtC,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,KAAK,YAAY,CAAC,MAAM,UAAU,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,OAAO,CAAC,sBAAsB,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;IACtD,CAAC;AACH,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"} \ No newline at end of file +{"version":3,"file":"setup-codeql.js","sourceRoot":"","sources":["../src/setup-codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,8DAYC;AA+ED,gEASC;AAED,0CAcC;AAiED,0CA2NC;AAMD,wEAeC;AAqID,kDAQC;AAyCD,8CAuDC;AA5sBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAIyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,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;AAE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CAAC;IACrC,IAAI,CAAC;QACH,MAAM,YAAY,GAAG,MAAM,IAAA,aAAG,EAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACtD,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC9B,MAAM,CAAC,OAAO,CACZ,sBAAsB,IAAI,6BAA6B,IAAI,GAAG,CAC/D,CAAC;QACJ,CAAC;aAAM,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrC,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,GAAG,CAAC,CAAC;QACtC,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,KAAK,YAAY,CAAC,MAAM,UAAU,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,OAAO,CAAC,sBAAsB,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;IACtD,CAAC;AACH,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"} \ No newline at end of file diff --git a/lib/setup-codeql.test.js b/lib/setup-codeql.test.js index dbf5300c4b..20c44c58d1 100644 --- a/lib/setup-codeql.test.js +++ b/lib/setup-codeql.test.js @@ -79,7 +79,7 @@ ava_1.default.beforeEach(() => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); const tagName = "codeql-bundle-v1.2.3"; (0, testing_utils_1.mockBundleDownloadApi)({ tagName }); - const source = await setupCodeql.getCodeQLSource(`https://github.com/github/codeql-action/releases/download/${tagName}/codeql-bundle-linux64.tar.gz`, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, logging_1.getRunnerLogger)(true)); + const source = await setupCodeql.getCodeQLSource(`https://github.com/github/codeql-action/releases/download/${tagName}/codeql-bundle-linux64.tar.gz`, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); t.is(source.sourceType, "download"); t.is(source["cliVersion"], "1.2.3"); }); @@ -87,7 +87,7 @@ ava_1.default.beforeEach(() => { (0, ava_1.default)("getCodeQLSource correctly returns bundled CLI version when tools == linked", async (t) => { await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const source = await setupCodeql.getCodeQLSource("linked", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, logging_1.getRunnerLogger)(true)); + const source = await setupCodeql.getCodeQLSource("linked", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); t.is(source.sourceType, "download"); }); @@ -97,7 +97,7 @@ ava_1.default.beforeEach(() => { const logger = (0, testing_utils_1.getRecordingLogger)(loggedMessages); await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const source = await setupCodeql.getCodeQLSource("latest", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, logger); + const source = await setupCodeql.getCodeQLSource("latest", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([]), logger); // First, ensure that the CLI version is the linked version, so that backwards // compatibility is maintained. t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); @@ -125,7 +125,7 @@ ava_1.default.beforeEach(() => { }); await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const result = await setupCodeql.setupCodeQLBundle("linked", testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, "tmp/codeql_action_test/", util_1.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, logger); + const result = await setupCodeql.setupCodeQLBundle("linked", testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, "tmp/codeql_action_test/", util_1.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), logger); // Basic sanity check that the version we got back is indeed // the linked (default) CLI version. t.is(result.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); @@ -154,7 +154,7 @@ ava_1.default.beforeEach(() => { }); await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const result = await setupCodeql.setupCodeQLBundle(bundleUrl, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, "tmp/codeql_action_test/", util_1.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, logger); + const result = await setupCodeql.setupCodeQLBundle(bundleUrl, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, "tmp/codeql_action_test/", util_1.GitHubVariant.DOTCOM, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, (0, testing_utils_1.createFeatures)([]), logger); // Basic sanity check that the version we got back is indeed the version that the // bundle contains.. t.is(result.toolsVersion, expectedVersion); diff --git a/lib/setup-codeql.test.js.map b/lib/setup-codeql.test.js.map index ff4f97cd23..f1d28ba283 100644 --- a/lib/setup-codeql.test.js.map +++ b/lib/setup-codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-codeql.test.js","sourceRoot":"","sources":["../src/setup-codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA4C;AAC5C,4DAA8C;AAC9C,mDASyB;AACzB,iCAKgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,CAAC,CAAC,SAAS,CACT,WAAW,CAAC,mBAAmB,CAC7B,mDAAmD,CACpD,EACD,UAAU,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,mBAAmB,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9B,MAAM,KAAK,GAAG;QACZ,UAAU,EAAE,gBAAgB;QAC5B,YAAY,EAAE,kBAAkB;QAChC,cAAc,EAAE,cAAc;QAC9B,OAAO,EAAE,OAAO;QAChB,aAAa,EAAE,aAAa;QAC5B,cAAc,EAAE,cAAc;KAC/B,CAAC;IAEF,KAAK,MAAM,CAAC,OAAO,EAAE,eAAe,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/D,IAAI,CAAC;YACH,MAAM,aAAa,GAAG,WAAW,CAAC,eAAe,CAC/C,OAAO,EACP,IAAA,yBAAe,EAAC,IAAI,CAAC,CACtB,CAAC;YACF,CAAC,CAAC,SAAS,CAAC,aAAa,EA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IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,iBAAiB,CAChD,SAAS,EACT,yCAAyB,EACzB,yBAAyB,EACzB,oBAAa,CAAC,MAAM,EACpB,0CAA0B,EAC1B,MAAM,CACP,CAAC;QAEF,iFAAiF;QACjF,oBAAoB;QACpB,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;QAE3C,sEAAsE;QACtE,MAAM,gBAAgB,GAAW,gDAAgD,SAAS,GAAG,CAAC;QAC9F,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,GAAG,EAAE,EAAE,CACN,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YAC/B,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CACzC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"setup-codeql.test.js","sourceRoot":"","sources":["../src/setup-codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA4C;AAC5C,4DAA8C;AAC9C,mDAUyB;AACzB,iCAKgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,CAAC,CAAC,SAAS,CACT,WAAW,CAAC,mBAAmB,CAC7B,mDAAmD,CACpD,EACD,UAAU,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,mBAAmB,EAAE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C;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/upload-lib.js b/lib/upload-lib.js index a647c1ca22..b2e6b22b24 100644 --- a/lib/upload-lib.js +++ b/lib/upload-lib.js @@ -173,7 +173,7 @@ async function combineSarifFilesUsingCLI(sarifFiles, gitHubVersion, features, lo }; const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(gitHubVersion.type); const initCodeQLResult = await (0, init_1.initCodeQL)(undefined, // There is no tools input on the upload action - apiDetails, tempDir, gitHubVersion.type, codeQLDefaultVersionInfo, logger); + apiDetails, tempDir, gitHubVersion.type, codeQLDefaultVersionInfo, features, logger); codeQL = initCodeQLResult.codeql; } if (!(await codeQL.supportsFeature(tools_features_1.ToolsFeature.SarifMergeRunsFromEqualCategory))) { diff --git a/lib/upload-lib.js.map b/lib/upload-lib.js.map index 830ecef18c..b209fb9a6d 100644 --- a/lib/upload-lib.js.map +++ b/lib/upload-lib.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-lib.js","sourceRoot":"","sources":["../src/upload-lib.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HA,sGAkBC;AA6HD,oEAmBC;AA0FD,kDAcC;AA4CD,0DAuDC;AAID,oCAqDC;AAMD,kCAqFC;AAeD,8CA8EC;AAqED,wDAyBC;AAzzBD,uCAAyB;AACzB,2CAA6B;AAC7B,gDAAwB;AAExB,oDAAsC;AAEtC,wDAA+B;AAC/B,uDAAyC;AACzC,+CAAiC;AAEjC,4DAA8C;AAC9C,iDAAoE;AACpE,kDAAoC;AACpC,6CAA2E;AAC3E,qCAA6C;AAC7C,iDAA2C;AAC3C,+CAAuC;AAEvC,6DAA+C;AAC/C,iCAAoC;AAEpC,6CAAiE;AACjE,qDAAgD;AAChD,6CAA+B;AAC/B,iCAQgB;AAEhB,MAAM,eAAe,GACnB,oFAAoF,CAAC;AACvF,MAAM,eAAe,GACnB,mEAAmE,CAAC;AAEtE,m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,MAAM,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,GAAG,CACpE,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IACtD,CAAC;AACH,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,QAAQ,CAAC,GAAY;IAC5B,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,iBAAiB,EAAE,CAAC;AACzE,CAAC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,KAAK;IAChD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAJD,0DAIC"} \ No newline at end of file diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 3e89ad0857..5dc54a4512 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -68,6 +68,8 @@ async function installIntoToolcache({ cliVersion !== undefined ? { cliVersion, tagName } : SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -127,6 +129,8 @@ test("downloads and caches explicitly requested bundles that aren't in the toolc tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -156,6 +160,8 @@ test("caches semantically versioned bundles using their semantic version number" tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -189,6 +195,8 @@ test("downloads an explicitly requested bundle even if a different version is ca tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -233,6 +241,8 @@ for (const { tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -271,6 +281,8 @@ for (const toolcacheVersion of [ tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -301,6 +313,8 @@ test(`uses a cached bundle when no tools input is given on GHES`, async (t) => { cliVersion: defaults.cliVersion, tagName: defaults.bundleVersion, }, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -335,6 +349,8 @@ test(`downloads bundle if only an unpinned version is cached on GHES`, async (t) cliVersion: defaults.cliVersion, tagName: defaults.bundleVersion, }, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -368,6 +384,8 @@ test('downloads bundle if "latest" tools specified but not cached', async (t) => tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); @@ -404,6 +422,8 @@ test("bundle URL from another repo is cached as 0.0.0-bundleVersion", async (t) tmpDir, util.GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + + createFeatures([]), getRunnerLogger(true), false, ); diff --git a/src/codeql.ts b/src/codeql.ts index d40755bafd..06d96fbe2f 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -351,6 +351,7 @@ export async function setupCodeQL( tempDir: string, variant: util.GitHubVariant, defaultCliVersion: CodeQLDefaultVersionInfo, + features: FeatureEnablement, logger: Logger, checkVersion: boolean, ): Promise<{ @@ -371,6 +372,7 @@ export async function setupCodeQL( tempDir, variant, defaultCliVersion, + features, logger, ); diff --git a/src/feature-flags.ts b/src/feature-flags.ts index abddd7c895..aceb071049 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -499,3 +499,13 @@ class GitHubFeatureFlags { } } } + +export async function useZstdBundle( + cliVersion: string, + features: FeatureEnablement, +): Promise { + return ( + semver.gte(cliVersion, "2.19.0") && + !!(await features.getValue(Feature.ZstdBundle)) + ); +} diff --git a/src/init-action.ts b/src/init-action.ts index 91407a0c95..20de1f8008 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -308,6 +308,7 @@ async function run() { getTemporaryDirectory(), gitHubVersion.type, codeQLDefaultVersionInfo, + features, logger, ); codeql = initCodeQLResult.codeql; diff --git a/src/init.ts b/src/init.ts index 60d06e3a05..fd5823138a 100644 --- a/src/init.ts +++ b/src/init.ts @@ -8,7 +8,7 @@ import { getOptionalInput, isSelfHostedRunner } from "./actions-util"; import { GitHubApiCombinedDetails, GitHubApiDetails } from "./api-client"; import { CodeQL, setupCodeQL } from "./codeql"; import * as configUtils from "./config-utils"; -import { CodeQLDefaultVersionInfo } from "./feature-flags"; +import { CodeQLDefaultVersionInfo, FeatureEnablement } from "./feature-flags"; import { Language, isScannedLanguage } from "./languages"; import { Logger } from "./logging"; import { ToolsDownloadStatusReport, ToolsSource } from "./setup-codeql"; @@ -22,6 +22,7 @@ export async function initCodeQL( tempDir: string, variant: util.GitHubVariant, defaultCliVersion: CodeQLDefaultVersionInfo, + features: FeatureEnablement, logger: Logger, ): Promise<{ codeql: CodeQL; @@ -37,6 +38,7 @@ export async function initCodeQL( tempDir, variant, defaultCliVersion, + features, logger, true, ); diff --git a/src/setup-codeql.test.ts b/src/setup-codeql.test.ts index 31e9c3d4a9..b322e9a1b5 100644 --- a/src/setup-codeql.test.ts +++ b/src/setup-codeql.test.ts @@ -11,6 +11,7 @@ import { LoggedMessage, SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, + createFeatures, getRecordingLogger, mockBundleDownloadApi, setupActionsVars, @@ -89,6 +90,7 @@ test("getCodeQLSource sets CLI version for a semver tagged bundle", async (t) => SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, + createFeatures([]), getRunnerLogger(true), ); @@ -105,6 +107,7 @@ test("getCodeQLSource correctly returns bundled CLI version when tools == linked SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, + createFeatures([]), getRunnerLogger(true), ); @@ -124,6 +127,7 @@ test("getCodeQLSource correctly returns bundled CLI version when tools == latest SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, + createFeatures([]), logger, ); @@ -170,6 +174,7 @@ test("setupCodeQLBundle logs the CodeQL CLI version being used when asked to use "tmp/codeql_action_test/", GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + createFeatures([]), logger, ); @@ -218,6 +223,7 @@ test("setupCodeQLBundle logs the CodeQL CLI version being used when asked to dow "tmp/codeql_action_test/", GitHubVariant.DOTCOM, SAMPLE_DEFAULT_CLI_VERSION, + createFeatures([]), logger, ); diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index 157637da66..e0e8d59726 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -15,7 +15,11 @@ import * as api from "./api-client"; // creation scripts. Ensure that any changes to the format of this file are compatible with both of // these dependents. import * as defaults from "./defaults.json"; -import { CodeQLDefaultVersionInfo } from "./feature-flags"; +import { + CodeQLDefaultVersionInfo, + FeatureEnablement, + useZstdBundle, +} from "./feature-flags"; import { Logger } from "./logging"; import * as tar from "./tar"; import * as util from "./util"; @@ -32,7 +36,13 @@ export const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; const CODEQL_BUNDLE_VERSION_ALIAS: string[] = ["linked", "latest"]; -function getCodeQLBundleName(): string { +function getCodeQLBundleExtension(useZstd: boolean): string { + return useZstd ? ".tar.zst" : ".tar.gz"; +} + +function getCodeQLBundleName(useZstd: boolean): string { + const extension = getCodeQLBundleExtension(useZstd); + let platform: string; if (process.platform === "win32") { platform = "win64"; @@ -41,9 +51,9 @@ function getCodeQLBundleName(): string { } else if (process.platform === "darwin") { platform = "osx64"; } else { - return "codeql-bundle.tar.gz"; + return `codeql-bundle${extension}`; } - return `codeql-bundle-${platform}.tar.gz`; + return `codeql-bundle-${platform}${extension}`; } export function getCodeQLActionRepository(logger: Logger): string { @@ -63,6 +73,7 @@ export function getCodeQLActionRepository(logger: Logger): string { async function getCodeQLBundleDownloadURL( tagName: string, apiDetails: api.GitHubApiDetails, + useZstd: boolean, logger: Logger, ): Promise { const codeQLActionRepository = getCodeQLActionRepository(logger); @@ -81,7 +92,7 @@ async function getCodeQLBundleDownloadURL( return !self.slice(0, index).some((other) => deepEqual(source, other)); }, ); - const codeQLBundleName = getCodeQLBundleName(); + const codeQLBundleName = getCodeQLBundleName(useZstd); for (const downloadSource of uniqueDownloadSources) { const [apiURL, repository] = downloadSource; // If we've reached the final case, short-circuit the API check since we know the bundle exists and is public. @@ -231,6 +242,7 @@ export async function getCodeQLSource( defaultCliVersion: CodeQLDefaultVersionInfo, apiDetails: api.GitHubApiDetails, variant: util.GitHubVariant, + features: FeatureEnablement, logger: Logger, ): Promise { if ( @@ -424,7 +436,12 @@ export async function getCodeQLSource( } if (!url) { - url = await getCodeQLBundleDownloadURL(tagName!, apiDetails, logger); + url = await getCodeQLBundleDownloadURL( + tagName!, + apiDetails, + cliVersion !== undefined && (await useZstdBundle(cliVersion, features)), + logger, + ); } if (cliVersion) { @@ -648,6 +665,7 @@ export async function setupCodeQLBundle( tempDir: string, variant: util.GitHubVariant, defaultCliVersion: CodeQLDefaultVersionInfo, + features: FeatureEnablement, logger: Logger, ): Promise { const source = await getCodeQLSource( @@ -655,6 +673,7 @@ export async function setupCodeQLBundle( defaultCliVersion, apiDetails, variant, + features, logger, ); diff --git a/src/upload-lib.ts b/src/upload-lib.ts index bc48a815d5..cfe7280947 100644 --- a/src/upload-lib.ts +++ b/src/upload-lib.ts @@ -221,6 +221,7 @@ async function combineSarifFilesUsingCLI( tempDir, gitHubVersion.type, codeQLDefaultVersionInfo, + features, logger, ); From 990feb59a4e5685bcb837922d3f0e11eabe9bf39 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 19:05:09 +0100 Subject: [PATCH 03/15] Catch gotcha in PR check workflow generator --- pr-checks/sync.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pr-checks/sync.py b/pr-checks/sync.py index e9da5d0491..7887d3723c 100755 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -65,7 +65,10 @@ def writeHeader(checkStream): matrix = [] excludedOsesAndVersions = checkSpecification.get('excludeOsAndVersionCombination', []) for version in checkSpecification.get('versions', defaultTestVersions): - runnerImages = ["ubuntu-latest", "macos-latest", "windows-latest"] + if version == "latest": + raise ValueError('Did not recognize "version: latest". Did you mean "version: linked"?') + + runnerImages = ["ubuntu-latest", "macos-latest", "windows-latest"] operatingSystems = checkSpecification.get('operatingSystems', ["ubuntu", "macos", "windows"]) for operatingSystem in operatingSystems: From b1ca017eae5e74bf60662cd88dc003dc413033ba Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 19:02:22 +0100 Subject: [PATCH 04/15] Add PR check for zstd bundle --- .github/workflows/__zstd-bundle.yml | 70 +++++++++++++++++++++++++++++ pr-checks/checks/zstd-bundle.yml | 19 ++++++++ 2 files changed, 89 insertions(+) create mode 100644 .github/workflows/__zstd-bundle.yml create mode 100644 pr-checks/checks/zstd-bundle.yml diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml new file mode 100644 index 0000000000..68da421cd7 --- /dev/null +++ b/.github/workflows/__zstd-bundle.yml @@ -0,0 +1,70 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# to regenerate this file. + +name: PR Check - Zstandard bundle +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + branches: + - main + - releases/v* + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + schedule: + - cron: '0 5 * * *' + workflow_dispatch: {} +jobs: + zstd-bundle: + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + version: linked + name: Zstandard bundle + permissions: + contents: read + security-events: write + timeout-minutes: 45 + runs-on: ${{ matrix.os }} + steps: + - name: Setup Python on MacOS + uses: actions/setup-python@v5 + if: >- + runner.os == 'macOS' && ( + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') + with: + python-version: '3.11' + - name: Check out repository + uses: actions/checkout@v4 + - name: Prepare test + id: prepare-test + uses: ./.github/actions/prepare-test + with: + version: ${{ matrix.version }} + use-all-platform-bundle: 'false' + setup-kotlin: 'true' + - id: init + uses: ./../action/init + with: + # Swift is not supported on Ubuntu so we manually exclude it from the list here + languages: cpp,csharp,go,java,javascript,python,ruby + tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Build code + shell: bash + run: ./build.sh + - uses: ./../action/analyze + env: + CODEQL_ACTION_ZSTD_BUNDLE: true + CODEQL_ACTION_TEST_MODE: true diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml new file mode 100644 index 0000000000..87daea05b3 --- /dev/null +++ b/pr-checks/checks/zstd-bundle.yml @@ -0,0 +1,19 @@ +name: "Zstandard bundle" +description: "Tests using a CodeQL Bundle compressed using Zstandard" +versions: + - linked +operatingSystems: + - ubuntu +env: + CODEQL_ACTION_ZSTD_BUNDLE: true +steps: + - id: init + uses: ./../action/init + with: + # Swift is not supported on Ubuntu so we manually exclude it from the list here + languages: cpp,csharp,go,java,javascript,python,ruby + tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Build code + shell: bash + run: ./build.sh + - uses: ./../action/analyze From db98c27941bb7852211362e5b2eaf6add8695ab8 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 19:35:35 +0100 Subject: [PATCH 05/15] Gate zstd enablement on tar version --- lib/feature-flags.js | 5 ----- lib/feature-flags.js.map | 2 +- lib/setup-codeql.js | 8 +++++++- lib/setup-codeql.js.map | 2 +- src/feature-flags.ts | 10 ---------- src/setup-codeql.ts | 17 +++++++++++++++-- 6 files changed, 24 insertions(+), 20 deletions(-) diff --git a/lib/feature-flags.js b/lib/feature-flags.js index f502f875e1..774490fdce 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -24,7 +24,6 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Features = exports.FEATURE_FLAGS_FILE_NAME = exports.featureConfig = exports.Feature = exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = void 0; -exports.useZstdBundle = useZstdBundle; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const semver = __importStar(require("semver")); @@ -349,8 +348,4 @@ class GitHubFeatureFlags { } } } -async function useZstdBundle(cliVersion, features) { - return (semver.gte(cliVersion, "2.19.0") && - !!(await features.getValue(Feature.ZstdBundle))); -} //# sourceMappingURL=feature-flags.js.map \ No newline at end of file diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index dd65139202..8ba2db4b19 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsfA,sCAQC;AA9fD,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,4EAAiE,CAAA;IACjE,8DAAmD,CAAA;IACnD,yEAA8D,CAAA;IAC9D,2EAAgE,CAAA;IAChE,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;IAC3C,qCAA0B,CAAA;AAC5B,CAAC,EATW,OAAO,uBAAP,OAAO,QASlB;AAEY,QAAA,aAAa,GA8B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newline at end of file diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index 3485b42c31..81f1f0e628 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -340,7 +340,8 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } } if (!url) { - url = await getCodeQLBundleDownloadURL(tagName, apiDetails, cliVersion !== undefined && (await (0, feature_flags_1.useZstdBundle)(cliVersion, features)), logger); + url = await getCodeQLBundleDownloadURL(tagName, apiDetails, cliVersion !== undefined && + (await useZstdBundle(cliVersion, features, logger)), logger); } if (cliVersion) { logger.info(`Using CodeQL CLI version ${cliVersion} sourced from ${url}.`); @@ -530,4 +531,9 @@ function sanitizeUrlForStatusReport(url) { ? url : "sanitized-value"; } +async function useZstdBundle(cliVersion, features, logger) { + return (semver.gte(cliVersion, "2.19.0") && + !!(await features.getValue(feature_flags_1.Feature.ZstdBundle)) && + (await tar.isZstdAvailable(logger)).available); +} //# sourceMappingURL=setup-codeql.js.map \ No newline at end of file diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index d62f6734f3..15d293a49d 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,0CA2NC;AAMD,wEAeC;AAqID,kDAQC;AAyCD,8CAuDC;AA5sBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAIyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,IAAY,WAKX;AAL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AsB,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,MAAc;IAEd,OAAO,CACL,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;QAChC,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,UAAU,CAAC,CAAC;QAC/C,CAAC,MAAM,GAAG,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAC9C,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/src/feature-flags.ts b/src/feature-flags.ts index aceb071049..abddd7c895 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -499,13 +499,3 @@ class GitHubFeatureFlags { } } } - -export async function useZstdBundle( - cliVersion: string, - features: FeatureEnablement, -): Promise { - return ( - semver.gte(cliVersion, "2.19.0") && - !!(await features.getValue(Feature.ZstdBundle)) - ); -} diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index e0e8d59726..a64b275e22 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -17,8 +17,8 @@ import * as api from "./api-client"; import * as defaults from "./defaults.json"; import { CodeQLDefaultVersionInfo, + Feature, FeatureEnablement, - useZstdBundle, } from "./feature-flags"; import { Logger } from "./logging"; import * as tar from "./tar"; @@ -439,7 +439,8 @@ export async function getCodeQLSource( url = await getCodeQLBundleDownloadURL( tagName!, apiDetails, - cliVersion !== undefined && (await useZstdBundle(cliVersion, features)), + cliVersion !== undefined && + (await useZstdBundle(cliVersion, features, logger)), logger, ); } @@ -741,3 +742,15 @@ function sanitizeUrlForStatusReport(url: string): string { ? url : "sanitized-value"; } + +async function useZstdBundle( + cliVersion: string, + features: FeatureEnablement, + logger: Logger, +): Promise { + return ( + semver.gte(cliVersion, "2.19.0") && + !!(await features.getValue(Feature.ZstdBundle)) && + (await tar.isZstdAvailable(logger)).available + ); +} From a7a6a6951eabde6d2bfff296139ebbd60c0dbf78 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 20:19:33 +0100 Subject: [PATCH 06/15] Determine zstd availability earlier on to simplify log --- lib/codeql.js | 3 ++- lib/codeql.js.map | 2 +- lib/init-action.js | 13 +++++++------ lib/init-action.js.map | 2 +- lib/init.js | 10 ++++++++-- lib/init.js.map | 2 +- lib/setup-codeql.js | 19 ++++++++++++------ lib/setup-codeql.js.map | 2 +- lib/setup-codeql.test.js | 11 ++++++++--- lib/setup-codeql.test.js.map | 2 +- lib/tar.js.map | 2 +- src/codeql.ts | 4 ++++ src/init-action.ts | 17 +++++++++++------ src/init.ts | 37 ++++++++++++++++++++++++------------ src/setup-codeql.test.ts | 10 ++++++++++ src/setup-codeql.ts | 19 ++++++++++++++---- src/tar.ts | 7 ++++++- 17 files changed, 115 insertions(+), 47 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 69d098bb66..989b3c6041 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -124,7 +124,7 @@ const CODEQL_VERSION_CACHE_CLEANUP = "2.17.1"; */ async function setupCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, checkVersion) { try { - const { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion, } = await setupCodeql.setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger); + const { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion, zstdAvailability, } = await setupCodeql.setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger); logger.debug(`Bundle download status report: ${JSON.stringify(toolsDownloadStatusReport)}`); let codeqlCmd = path.join(codeqlFolder, "codeql", "codeql"); if (process.platform === "win32") { @@ -139,6 +139,7 @@ async function setupCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliV toolsDownloadStatusReport, toolsSource, toolsVersion, + zstdAvailability, }; } catch (e) { diff --git a/lib/codeql.js.map b/lib/codeql.js.map index a06babf1d7..42c0cd73a8 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2VA,kCA0DC;AAKD,8BAKC;AAyBD,8BAwDC;AAQD,0CAMC;AAOD,kDAIC;AAUD,0CAymBC;AAqDD,0CAeC;AAwHD,8EASC;AAED,4FAYC;AAOD,gFAEC;AAx1CD,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,8CAAgC;AAChC,+CAAiC;AAEjC,iDAIwB;AAExB,6CAGsB;AAEtB,uCAAmC;AACnC,+CAAuC;AACvC,mDAKyB;AAGzB,4DAA8C;AAC9C,qDAAyE;AACzE,mDAA8D;AAC9D,6CAA+B;AAC/B,iCAAiE;AAqOjE;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD;;;;;;;GAOG;AACH,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,2BAA2B,GAAG,QAAQ,CAAC;AAE7C;;GAEG;AACH,MAAM,qCAAqC,GAAG,KAAK,CAAC;AAEpD;;GAEG;AACH,MAAM,iCAAiC,GAAG,YAAY,CAAC;AAEvD,mEAAmE;AACnE,MAAM,+BAA+B,GAAG,YAAY,CAAC;AAErD;;;;;;GAMG;AAEH;;GAEG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAEhE;;GAEG;AACU,QAAA,gCAAgC,GAAG,QAAQ,CAAC;AAEzD;;GAEG;AACU,QAAA,kCAAkC,GAAG,QAAQ,CAAC;AAE3D;;GAEG;AACU,QA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A+B;KAChC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;AAED,KAAK,UAAU,yBAAyB,CAAC,MAAc;IACrD,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,YAAY,CAAC,CAAC;IAEpD,OAAO,UAAU;QACf,CAAC,MAAM,MAAM,CAAC,eAAe,CAC3B,6BAAY,CAAC,gDAAgD,CAC9D,CAAC;QACF,CAAC,CAAC,CAAC,mCAAmC,UAAU,EAAE,CAAC;QACnD,CAAC,CAAC,EAAE,CAAC;AACT,CAAC"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index 0db6d8a1d8..226e488842 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -40,7 +40,6 @@ const logging_1 = require("./logging"); const repository_1 = require("./repository"); const setup_codeql_1 = require("./setup-codeql"); const status_report_1 = require("./status-report"); -const tar_1 = require("./tar"); const tools_features_1 = require("./tools-features"); const trap_caching_1 = require("./trap-caching"); const util_1 = require("./util"); @@ -136,6 +135,7 @@ async function run() { let toolsFeatureFlagsValid; let toolsSource; let toolsVersion; + let zstdAvailability; const apiDetails = { auth: (0, actions_util_1.getRequiredInput)("token"), externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"), @@ -164,6 +164,7 @@ async function run() { toolsDownloadStatusReport = initCodeQLResult.toolsDownloadStatusReport; toolsVersion = initCodeQLResult.toolsVersion; toolsSource = initCodeQLResult.toolsSource; + zstdAvailability = initCodeQLResult.zstdAvailability; core.startGroup("Validating workflow"); if ((await (0, workflow_1.validateWorkflow)(codeql, logger)) === undefined) { logger.info("Detected no issues with the code scanning workflow."); @@ -209,7 +210,9 @@ async function run() { } try { (0, init_1.cleanupDatabaseClusterDirectory)(config, logger); - await logZstdAvailability(config, logger); + if (zstdAvailability) { + await recordZstdAvailability(config, zstdAvailability); + } // Log CodeQL download telemetry, if appropriate if (toolsDownloadStatusReport) { (0, diagnostics_1.addDiagnostic)(config, @@ -392,14 +395,12 @@ function getTrapCachingEnabled() { // On hosted runners, enable TRAP caching by default return true; } -async function logZstdAvailability(config, logger) { - // Log zstd availability - const zstdAvailableResult = await (0, tar_1.isZstdAvailable)(logger); +async function recordZstdAvailability(config, zstdAvailability) { (0, diagnostics_1.addDiagnostic)(config, // Arbitrarily choose the first language. We could also choose all languages, but that // increases the risk of misinterpreting the data. config.languages[0], (0, diagnostics_1.makeDiagnostic)("codeql-action/zstd-availability", "Zstandard availability", { - attributes: zstdAvailableResult, + attributes: zstdAvailability, visibility: { cliSummaryTable: false, statusPage: false, diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 038e3b2439..6ab881a6a1 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAOwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAAwE;AACxE,mDAMyB;AACzB,+BAAwC;AACxC,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,O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J,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,mBAAmB,CAAC,MAA0B,EAAE,MAAc;IAC3E,wBAAwB;IACxB,MAAM,mBAAmB,GAAG,MAAM,IAAA,qBAAe,EAAC,MAAM,CAAC,CAAC;IAC1D,IAAA,2BAAa,EACX,MAAM;IACN,sFAAsF;IACtF,kDAAkD;IAClD,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EACnB,IAAA,4BAAc,EACZ,iCAAiC,EACjC,wBAAwB,EACxB;QACE,UAAU,EAAE,mBAAmB;QAC/B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAOwB;AACx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B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index d978b0664f..63ec271c6f 100644 --- a/lib/init.js +++ b/lib/init.js @@ -42,10 +42,16 @@ const tracer_config_1 = require("./tracer-config"); const util = __importStar(require("./util")); async function initCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger) { logger.startGroup("Setup CodeQL tools"); - const { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion } = await (0, codeql_1.setupCodeQL)(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, true); + const { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion, zstdAvailability, } = await (0, codeql_1.setupCodeQL)(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, true); await codeql.printVersion(); logger.endGroup(); - return { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion }; + return { + codeql, + toolsDownloadStatusReport, + toolsSource, + toolsVersion, + zstdAvailability, + }; } async function initConfig(inputs, codeql) { const logger = inputs.logger; diff --git a/lib/init.js.map b/lib/init.js.map index 67099cb225..15ba42c496 100644 --- a/lib/init.js.map +++ b/lib/init.js.map @@ -1 +1 @@ -{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,gCA6BC;AAED,gCAgBC;AAED,0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IAAI,CAAC,kBAAkB,CAC/B,GAAG,KAAK,4GAA4G;oBAClH,sEAAsE,IAAI,CAAC,eAAe,CACxF,CAAC,CACF,EAAE,CACN,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,GAAG,KAAK,sDAAsD;oBAC5D,+EAA+E;oBAC/E,yCAAyC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CACrE,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,gCAyCC;AAED,gCAgBC;AAED,0BAkCC;AAED,0DAeC;AAMD,sDAkBC;AAED,0EAkDC;AA/MD,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AAEpD,iDAAsE;AAEtE,qCAA+C;AAC/C,4DAA8C;AAE9C,2CAA0D;AAI1D,qDAAgD;AAChD,mDAAwE;AACxE,6CAA+B;AAExB,KAAK,UAAU,UAAU,CAC9B,UAA8B,EAC9B,UAA4B,EAC5B,OAAe,EACf,OAA2B,EAC3B,iBAA2C,EAC3C,QAA2B,EAC3B,MAAc;IAQd,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACxC,MAAM,EACJ,MAAM,EACN,yBAAyB,EACzB,WAAW,EACX,YAAY,EACZ,gBAAgB,GACjB,GAAG,MAAM,IAAA,oBAAW,EACnB,UAAU,EACV,UAAU,EACV,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,QAAQ,EACR,MAAM,EACN,IAAI,CACL,CAAC;IACF,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;IAC5B,MAAM,CAAC,QAAQ,EAAE,CAAC;IAClB,OAAO;QACL,MAAM;QACN,yBAAyB;QACzB,WAAW;QACX,YAAY;QACZ,gBAAgB;KACjB,CAAC;AACJ,CAAC;AA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B,KAAK,EAAE,IAAI;gBACX,UAAU,EAAE,CAAC;gBACb,SAAS,EAAE,IAAI;aAChB,CAAC,CAAC;YAEH,MAAM,CAAC,IAAI,CACT,yCAAyC,MAAM,CAAC,UAAU,GAAG,CAC9D,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,KAAK,GAAG,mEACZ,IAAA,+BAAgB,EAAC,aAAa,CAAC;gBAC7B,CAAC,CAAC,sCAAsC,MAAM,CAAC,UAAU,IAAI;gBAC7D,CAAC,CAAC,kCAAkC,MAAM,CAAC,UAAU,IAAI;oBACvD,yEACN,iEAAiE,CAAC;YAElE,kGAAkG;YAClG,IAAI,IAAA,iCAAkB,GAAE,EAAE,CAAC;gBACzB,MAAM,IAAI,IAAI,CAAC,kBAAkB,CAC/B,GAAG,KAAK,4GAA4G;oBAClH,sEAAsE,IAAI,CAAC,eAAe,CACxF,CAAC,CACF,EAAE,CACN,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,GAAG,KAAK,sDAAsD;oBAC5D,+EAA+E;oBAC/E,yCAAyC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CACrE,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index 81f1f0e628..c5fb7398e8 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -198,7 +198,7 @@ async function findOverridingToolsInCache(humanReadableVersion, logger) { } return undefined; } -async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, features, logger) { +async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, zstdAvailability, features, logger) { if (toolsInput && !CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput) && !toolsInput.startsWith("http")) { @@ -341,7 +341,7 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } if (!url) { url = await getCodeQLBundleDownloadURL(tagName, apiDetails, cliVersion !== undefined && - (await useZstdBundle(cliVersion, features, logger)), logger); + (await useZstdBundle(cliVersion, features, zstdAvailability)), logger); } if (cliVersion) { logger.info(`Using CodeQL CLI version ${cliVersion} sourced from ${url}.`); @@ -478,7 +478,8 @@ function getCanonicalToolcacheVersion(cliVersion, bundleVersion, logger) { * @returns the path to the extracted bundle, and the version of the tools */ async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger) { - const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, features, logger); + const zstdAvailability = await tar.isZstdAvailable(logger); + const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, zstdAvailability, features, logger); let codeqlFolder; let toolsVersion = source.toolsVersion; let toolsDownloadStatusReport; @@ -506,7 +507,13 @@ async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defau default: util.assertNever(source); } - return { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion }; + return { + codeqlFolder, + toolsDownloadStatusReport, + toolsSource, + toolsVersion, + zstdAvailability, + }; } async function cleanUpGlob(glob, name, logger) { logger.debug(`Cleaning up ${name}.`); @@ -531,9 +538,9 @@ function sanitizeUrlForStatusReport(url) { ? url : "sanitized-value"; } -async function useZstdBundle(cliVersion, features, logger) { +async function useZstdBundle(cliVersion, features, zstdAvailability) { return (semver.gte(cliVersion, "2.19.0") && !!(await features.getValue(feature_flags_1.Feature.ZstdBundle)) && - (await tar.isZstdAvailable(logger)).available); + zstdAvailability.available); } //# sourceMappingURL=setup-codeql.js.map \ No newline at end of file diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index 15d293a49d..762ae2a7c7 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,8D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,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,MAAc;IAEd,OAAO,CACL,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;QAChC,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,UAAU,CAAC,CAAC;QAC/C,CAAC,MAAM,GAAG,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAC9C,CAAC;AACJ,CAAC"} \ No newline at end of file +{"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;AAqID,kDAQC;AA0CD,8CAgEC;AAxtBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAIyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,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;AA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CAAC,CAAC;QAC/C,gBAAgB,CAAC,SAAS,CAC3B,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/lib/setup-codeql.test.js b/lib/setup-codeql.test.js index 20c44c58d1..504cb9cb3f 100644 --- a/lib/setup-codeql.test.js +++ b/lib/setup-codeql.test.js @@ -79,7 +79,7 @@ ava_1.default.beforeEach(() => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); const tagName = "codeql-bundle-v1.2.3"; (0, testing_utils_1.mockBundleDownloadApi)({ tagName }); - const source = await setupCodeql.getCodeQLSource(`https://github.com/github/codeql-action/releases/download/${tagName}/codeql-bundle-linux64.tar.gz`, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); + const source = await setupCodeql.getCodeQLSource(`https://github.com/github/codeql-action/releases/download/${tagName}/codeql-bundle-linux64.tar.gz`, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, getStubZstdAvailability(), (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); t.is(source.sourceType, "download"); t.is(source["cliVersion"], "1.2.3"); }); @@ -87,7 +87,7 @@ ava_1.default.beforeEach(() => { (0, ava_1.default)("getCodeQLSource correctly returns bundled CLI version when tools == linked", async (t) => { await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const source = await setupCodeql.getCodeQLSource("linked", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); + const source = await setupCodeql.getCodeQLSource("linked", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, getStubZstdAvailability(), (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); t.is(source.sourceType, "download"); }); @@ -97,7 +97,7 @@ ava_1.default.beforeEach(() => { const logger = (0, testing_utils_1.getRecordingLogger)(loggedMessages); await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const source = await setupCodeql.getCodeQLSource("latest", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, (0, testing_utils_1.createFeatures)([]), logger); + const source = await setupCodeql.getCodeQLSource("latest", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, getStubZstdAvailability(), (0, testing_utils_1.createFeatures)([]), logger); // First, ensure that the CLI version is the linked version, so that backwards // compatibility is maintained. t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); @@ -164,4 +164,9 @@ ava_1.default.beforeEach(() => { msg.message.includes(expected_message))); }); }); +function getStubZstdAvailability() { + return { + available: false, + }; +} //# sourceMappingURL=setup-codeql.test.js.map \ No newline at end of file diff --git a/lib/setup-codeql.test.js.map b/lib/setup-codeql.test.js.map index f1d28ba283..f2378475da 100644 --- a/lib/setup-codeql.test.js.map +++ b/lib/setup-codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-codeql.test.js","sourceRoot":"","sources":["../src/setup-codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA4C;AAC5C,4DAA8C;AAC9C,mDAUyB;AACz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AClB,MAAM,CACP,CAAC;QAEF,iFAAiF;QACjF,oBAAoB;QACpB,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;QAE3C,sEAAsE;QACtE,MAAM,gBAAgB,GAAW,gDAAgD,SAAS,GAAG,CAAC;QAC9F,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,GAAG,EAAE,EAAE,CACN,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YAC/B,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CACzC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"setup-codeql.test.js","sourceRoot":"","sources":["../src/setup-codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA4C;AAC5C,4DAA8C;AAE9C,mDAUyB;AACzB,iCAKgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,CAAC,CAAC,SAAS,CACT,WAAW,CAAC,mBAAmB,CAC7B,mDAAmD,CACpD,EACD,UAAU,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,mBAAmB,EAAE,CAAC,CAAC,EAAE,EAAE;IAC9B,MAAM,KAAK,GAAG;QACZ,UAAU,EAAE,gBAAgB;QAC5B,YAAY,EAAE,kBAAkB;QAChC,cAAc,EAAE,cAAc;QAC9B,OAAO,EAAE,OAAO;QAChB,aAAa,EAAE,aAAa;QAC5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,CAAC"} \ No newline at end of file diff --git a/lib/tar.js.map b/lib/tar.js.map index 9a51b65e48..00473d99a1 100644 --- a/lib/tar.js.map +++ b/lib/tar.js.map @@ -1 +1 @@ -{"version":3,"file":"tar.js","sourceRoot":"","sources":["../src/tar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,0CA4BC;AAID,0BAeC;AAED,wDAKC;AAtGD,6DAA0D;AAC1D,+DAAiD;AACjD,uDAAmD;AAGnD,iCAAqC;AAErC,MAAM,4BAA4B,GAAG,OAAO,CAAC;AAC7C,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAO5C,KAAK,UAAU,aAAa;IAC1B,MAAM,GAAG,GAAG,MAAM,IAAA,sBAAS,EAAC,KAAK,CAAC,CAAC;IACnC,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,QAAQ,GAAG,MAAM,IAAI,uBAAU,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE;QACxD,SAAS,EAAE;YACT,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;gBACvB,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC5B,CAAC;SACF;KACF,CAAC,CAAC,IAAI,EAAE,CAAC;IACV,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAClD,CAAC;IACD,oEAAoE;IACpE,IAAI,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAC/B,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;QAC9D,CAAC;QAED,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,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U;iBACpB,CAAC;YACJ,KAAK,KAAK;gBACR,OAAO;oBACL,SAAS,EAAE,OAAO,IAAI,4BAA4B;oBAClD,OAAO,EAAE,UAAU;iBACpB,CAAC;YACJ;gBACE,IAAA,kBAAW,EAAC,IAAI,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,KAAK,CACV,oFAAoF;YAClF,6BAA6B,CAAC,EAAE,CACnC,CAAC;QACF,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAIM,KAAK,UAAU,OAAO,CAC3B,IAAY,EACZ,iBAAoC;IAEpC,QAAQ,iBAAiB,EAAE,CAAC;QAC1B,KAAK,MAAM;YACT,oEAAoE;YACpE,sEAAsE;YACtE,yCAAyC;YACzC,OAAO,MAAM,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC1C,KAAK,MAAM;YACT,gEAAgE;YAChE,sBAAsB;YACtB,OAAO,MAAM,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAY;IACjD,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/src/codeql.ts b/src/codeql.ts index 06d96fbe2f..bef7204294 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -28,6 +28,7 @@ import { import { Language } from "./languages"; import { Logger } from "./logging"; import * as setupCodeql from "./setup-codeql"; +import { ZstdAvailability } from "./tar"; import { ToolsFeature, isSupportedToolsFeature } from "./tools-features"; import { shouldEnableIndirectTracing } from "./tracer-config"; import * as util from "./util"; @@ -359,6 +360,7 @@ export async function setupCodeQL( toolsDownloadStatusReport?: setupCodeql.ToolsDownloadStatusReport; toolsSource: setupCodeql.ToolsSource; toolsVersion: string; + zstdAvailability: ZstdAvailability; }> { try { const { @@ -366,6 +368,7 @@ export async function setupCodeQL( toolsDownloadStatusReport, toolsSource, toolsVersion, + zstdAvailability, } = await setupCodeql.setupCodeQLBundle( toolsInput, apiDetails, @@ -397,6 +400,7 @@ export async function setupCodeQL( toolsDownloadStatusReport, toolsSource, toolsVersion, + zstdAvailability, }; } catch (e) { throw new Error( diff --git a/src/init-action.ts b/src/init-action.ts index 20de1f8008..a787d43aaf 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -42,7 +42,7 @@ import { getActionsStatus, sendStatusReport, } from "./status-report"; -import { isZstdAvailable } from "./tar"; +import { ZstdAvailability } from "./tar"; import { ToolsFeature } from "./tools-features"; import { getTotalCacheSize } from "./trap-caching"; import { @@ -255,6 +255,7 @@ async function run() { let toolsFeatureFlagsValid: boolean | undefined; let toolsSource: ToolsSource; let toolsVersion: string; + let zstdAvailability: ZstdAvailability | undefined; const apiDetails = { auth: getRequiredInput("token"), @@ -315,6 +316,7 @@ async function run() { toolsDownloadStatusReport = initCodeQLResult.toolsDownloadStatusReport; toolsVersion = initCodeQLResult.toolsVersion; toolsSource = initCodeQLResult.toolsSource; + zstdAvailability = initCodeQLResult.zstdAvailability; core.startGroup("Validating workflow"); if ((await validateWorkflow(codeql, logger)) === undefined) { @@ -378,7 +380,9 @@ async function run() { try { cleanupDatabaseClusterDirectory(config, logger); - await logZstdAvailability(config, logger); + if (zstdAvailability) { + await recordZstdAvailability(config, zstdAvailability); + } // Log CodeQL download telemetry, if appropriate if (toolsDownloadStatusReport) { @@ -675,9 +679,10 @@ function getTrapCachingEnabled(): boolean { return true; } -async function logZstdAvailability(config: configUtils.Config, logger: Logger) { - // Log zstd availability - const zstdAvailableResult = await isZstdAvailable(logger); +async function recordZstdAvailability( + config: configUtils.Config, + zstdAvailability: ZstdAvailability, +) { addDiagnostic( config, // Arbitrarily choose the first language. We could also choose all languages, but that @@ -687,7 +692,7 @@ async function logZstdAvailability(config: configUtils.Config, logger: Logger) { "codeql-action/zstd-availability", "Zstandard availability", { - attributes: zstdAvailableResult, + attributes: zstdAvailability, visibility: { cliSummaryTable: false, statusPage: false, diff --git a/src/init.ts b/src/init.ts index fd5823138a..f266a8447e 100644 --- a/src/init.ts +++ b/src/init.ts @@ -12,6 +12,7 @@ import { CodeQLDefaultVersionInfo, FeatureEnablement } from "./feature-flags"; import { Language, isScannedLanguage } from "./languages"; import { Logger } from "./logging"; import { ToolsDownloadStatusReport, ToolsSource } from "./setup-codeql"; +import { ZstdAvailability } from "./tar"; import { ToolsFeature } from "./tools-features"; import { TracerConfig, getCombinedTracerConfig } from "./tracer-config"; import * as util from "./util"; @@ -29,22 +30,34 @@ export async function initCodeQL( toolsDownloadStatusReport?: ToolsDownloadStatusReport; toolsSource: ToolsSource; toolsVersion: string; + zstdAvailability: ZstdAvailability; }> { logger.startGroup("Setup CodeQL tools"); - const { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion } = - await setupCodeQL( - toolsInput, - apiDetails, - tempDir, - variant, - defaultCliVersion, - features, - logger, - true, - ); + const { + codeql, + toolsDownloadStatusReport, + toolsSource, + toolsVersion, + zstdAvailability, + } = await setupCodeQL( + toolsInput, + apiDetails, + tempDir, + variant, + defaultCliVersion, + features, + logger, + true, + ); await codeql.printVersion(); logger.endGroup(); - return { codeql, toolsDownloadStatusReport, toolsSource, toolsVersion }; + return { + codeql, + toolsDownloadStatusReport, + toolsSource, + toolsVersion, + zstdAvailability, + }; } export async function initConfig( diff --git a/src/setup-codeql.test.ts b/src/setup-codeql.test.ts index b322e9a1b5..6093635bb3 100644 --- a/src/setup-codeql.test.ts +++ b/src/setup-codeql.test.ts @@ -6,6 +6,7 @@ import * as sinon from "sinon"; import * as actionsUtil from "./actions-util"; import { getRunnerLogger } from "./logging"; import * as setupCodeql from "./setup-codeql"; +import { ZstdAvailability } from "./tar"; import { LINKED_CLI_VERSION, LoggedMessage, @@ -90,6 +91,7 @@ test("getCodeQLSource sets CLI version for a semver tagged bundle", async (t) => SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, + getStubZstdAvailability(), createFeatures([]), getRunnerLogger(true), ); @@ -107,6 +109,7 @@ test("getCodeQLSource correctly returns bundled CLI version when tools == linked SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, + getStubZstdAvailability(), createFeatures([]), getRunnerLogger(true), ); @@ -127,6 +130,7 @@ test("getCodeQLSource correctly returns bundled CLI version when tools == latest SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, + getStubZstdAvailability(), createFeatures([]), logger, ); @@ -242,3 +246,9 @@ test("setupCodeQLBundle logs the CodeQL CLI version being used when asked to dow ); }); }); + +function getStubZstdAvailability(): ZstdAvailability { + return { + available: false, + }; +} diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index a64b275e22..e159de7704 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -242,6 +242,7 @@ export async function getCodeQLSource( defaultCliVersion: CodeQLDefaultVersionInfo, apiDetails: api.GitHubApiDetails, variant: util.GitHubVariant, + zstdAvailability: tar.ZstdAvailability, features: FeatureEnablement, logger: Logger, ): Promise { @@ -440,7 +441,7 @@ export async function getCodeQLSource( tagName!, apiDetails, cliVersion !== undefined && - (await useZstdBundle(cliVersion, features, logger)), + (await useZstdBundle(cliVersion, features, zstdAvailability)), logger, ); } @@ -653,6 +654,7 @@ export interface SetupCodeQLResult { toolsDownloadStatusReport?: ToolsDownloadStatusReport; toolsSource: ToolsSource; toolsVersion: string; + zstdAvailability: tar.ZstdAvailability; } /** @@ -669,11 +671,14 @@ export async function setupCodeQLBundle( features: FeatureEnablement, logger: Logger, ): Promise { + const zstdAvailability = await tar.isZstdAvailable(logger); + const source = await getCodeQLSource( toolsInput, defaultCliVersion, apiDetails, variant, + zstdAvailability, features, logger, ); @@ -714,7 +719,13 @@ export async function setupCodeQLBundle( default: util.assertNever(source); } - return { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion }; + return { + codeqlFolder, + toolsDownloadStatusReport, + toolsSource, + toolsVersion, + zstdAvailability, + }; } async function cleanUpGlob(glob: string, name: string, logger: Logger) { @@ -746,11 +757,11 @@ function sanitizeUrlForStatusReport(url: string): string { async function useZstdBundle( cliVersion: string, features: FeatureEnablement, - logger: Logger, + zstdAvailability: tar.ZstdAvailability, ): Promise { return ( semver.gte(cliVersion, "2.19.0") && !!(await features.getValue(Feature.ZstdBundle)) && - (await tar.isZstdAvailable(logger)).available + zstdAvailability.available ); } diff --git a/src/tar.ts b/src/tar.ts index 71349d7513..71d346ae36 100644 --- a/src/tar.ts +++ b/src/tar.ts @@ -46,9 +46,14 @@ async function getTarVersion(): Promise { } } +export interface ZstdAvailability { + available: boolean; + version?: TarVersion; +} + export async function isZstdAvailable( logger: Logger, -): Promise<{ available: boolean; version?: TarVersion }> { +): Promise { try { const tarVersion = await getTarVersion(); const { type, version } = tarVersion; From 662c71aa9ecdbf65aa9e19408ea15d90e172d496 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 21:28:32 +0100 Subject: [PATCH 07/15] Check telemetry in PR check to ensure .tar.zst downloaded --- .github/workflows/__zstd-bundle.yml | 44 +++++++++++++++++++++++++++ pr-checks/checks/zstd-bundle.yml | 46 ++++++++++++++++++++++++++++- 2 files changed, 89 insertions(+), 1 deletion(-) diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index 68da421cd7..fc895ca6d8 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -55,6 +55,9 @@ jobs: version: ${{ matrix.version }} use-all-platform-bundle: 'false' setup-kotlin: 'true' + - name: Remove CodeQL from toolcache + run: | + rm -rf $RUNNER_TOOL_CACHE/CodeQL - id: init uses: ./../action/init with: @@ -65,6 +68,47 @@ jobs: shell: bash run: ./build.sh - uses: ./../action/analyze + with: + output: ${{ runner.temp }}/results + upload-database: false + - name: Upload SARIF + uses: actions/upload-artifact@v3 + with: + name: zstd-bundle.sarif + path: ${{ runner.temp }}/results/cpp.sarif + retention-days: 7 + - name: Check diagnostic with expected tools URL appears in SARIF + uses: actions/github-script@v7 + env: + SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + with: + script: | + const fs = require('fs'); + + const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8')); + const run = sarif.runs[0]; + + const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications; + const downloadTelemetryNotifications = toolExecutionNotifications.filter(n => + n.descriptor.id === 'codeql-action/bundle-download-telemetry' + ); + if (downloadTelemetryNotifications.length !== 1) { + core.setFailed( + 'Expected exactly one reporting descriptor in the ' + + `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` + + `${downloadTelemetryNotifications.length}. All notification reporting descriptors: ` + + `${JSON.stringify(toolExecutionNotifications)}.` + ); + } + + const toolsUrl = downloadTelemetryNotifications[0].properties.attributes.toolsUrl; + console.log(`Found tools URL: ${toolsUrl}`); + + if (!toolsUrl.endsWith('.tar.zst')) { + core.setFailed( + `Expected the tools URL to be a .tar.zst file, but found ${toolsUrl}.` + ); + } env: CODEQL_ACTION_ZSTD_BUNDLE: true CODEQL_ACTION_TEST_MODE: true diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index 87daea05b3..a88a4a6d5e 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -1,5 +1,5 @@ name: "Zstandard bundle" -description: "Tests using a CodeQL Bundle compressed using Zstandard" +description: "Tests the feature flag that downloads a Zstandard-compressed CodeQL Bundle by default" versions: - linked operatingSystems: @@ -7,6 +7,9 @@ operatingSystems: env: CODEQL_ACTION_ZSTD_BUNDLE: true steps: + - name: Remove CodeQL from toolcache + run: | + rm -rf $RUNNER_TOOL_CACHE/CodeQL - id: init uses: ./../action/init with: @@ -17,3 +20,44 @@ steps: shell: bash run: ./build.sh - uses: ./../action/analyze + with: + output: ${{ runner.temp }}/results + upload-database: false + - name: Upload SARIF + uses: actions/upload-artifact@v3 + with: + name: zstd-bundle.sarif + path: ${{ runner.temp }}/results/cpp.sarif + retention-days: 7 + - name: Check diagnostic with expected tools URL appears in SARIF + uses: actions/github-script@v7 + env: + SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + with: + script: | + const fs = require('fs'); + + const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8')); + const run = sarif.runs[0]; + + const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications; + const downloadTelemetryNotifications = toolExecutionNotifications.filter(n => + n.descriptor.id === 'codeql-action/bundle-download-telemetry' + ); + if (downloadTelemetryNotifications.length !== 1) { + core.setFailed( + 'Expected exactly one reporting descriptor in the ' + + `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` + + `${downloadTelemetryNotifications.length}. All notification reporting descriptors: ` + + `${JSON.stringify(toolExecutionNotifications)}.` + ); + } + + const toolsUrl = downloadTelemetryNotifications[0].properties.attributes.toolsUrl; + console.log(`Found tools URL: ${toolsUrl}`); + + if (!toolsUrl.endsWith('.tar.zst')) { + core.setFailed( + `Expected the tools URL to be a .tar.zst file, but found ${toolsUrl}.` + ); + } From 4d015b8cba6339ef74b733c9353dda8d47966b6a Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 21:59:03 +0100 Subject: [PATCH 08/15] Fall back to gzip if zstd fails --- lib/setup-codeql.js | 27 +++++++++++----- lib/setup-codeql.js.map | 2 +- lib/setup-codeql.test.js | 11 ++----- lib/setup-codeql.test.js.map | 2 +- src/setup-codeql.test.ts | 13 ++------ src/setup-codeql.ts | 60 ++++++++++++++++++++++++++++++++---- 6 files changed, 82 insertions(+), 33 deletions(-) diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index c5fb7398e8..9ad1aa0210 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -198,7 +198,7 @@ async function findOverridingToolsInCache(humanReadableVersion, logger) { } return undefined; } -async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, zstdAvailability, features, logger) { +async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, tarSupportsZstd, features, logger) { if (toolsInput && !CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput) && !toolsInput.startsWith("http")) { @@ -341,7 +341,7 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian } if (!url) { url = await getCodeQLBundleDownloadURL(tagName, apiDetails, cliVersion !== undefined && - (await useZstdBundle(cliVersion, features, zstdAvailability)), logger); + (await useZstdBundle(cliVersion, features, tarSupportsZstd)), logger); } if (cliVersion) { logger.info(`Using CodeQL CLI version ${cliVersion} sourced from ${url}.`); @@ -479,7 +479,20 @@ function getCanonicalToolcacheVersion(cliVersion, bundleVersion, logger) { */ async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger) { const zstdAvailability = await tar.isZstdAvailable(logger); - const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, zstdAvailability, features, logger); + // If we think the installed version of tar supports zstd, try to use zstd, + // but be prepared to fall back to gzip in case we were wrong. + if (zstdAvailability.available) { + try { + return await setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, true); + } + catch (e) { + logger.warning(`Failed to set up CodeQL tools with zstd. Falling back to gzipped version. Error: ${util.getErrorMessage(e)}`); + } + } + return await setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, false); +} +async function setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, useTarIfAvailable) { + const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, useTarIfAvailable, features, logger); let codeqlFolder; let toolsVersion = source.toolsVersion; let toolsDownloadStatusReport; @@ -538,9 +551,9 @@ function sanitizeUrlForStatusReport(url) { ? url : "sanitized-value"; } -async function useZstdBundle(cliVersion, features, zstdAvailability) { - return (semver.gte(cliVersion, "2.19.0") && - !!(await features.getValue(feature_flags_1.Feature.ZstdBundle)) && - zstdAvailability.available); +async function useZstdBundle(cliVersion, features, tarSupportsZstd) { + return (tarSupportsZstd && + semver.gte(cliVersion, "2.19.0") && + !!(await features.getValue(feature_flags_1.Feature.ZstdBundle))); } //# sourceMappingURL=setup-codeql.js.map \ No newline at end of file diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index 762ae2a7c7..0ec1047beb 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;AAqID,kDAQC;AA0CD,8CAgEC;AAxtBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAIyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,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,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AED,KAAK,UAAU,aAAa,CAC1B,UAAkB,EAClB,QAA2B,EAC3B,eAAwB;IAExB,OAAO,CACL,eAAe;QACf,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;QAChC,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/lib/setup-codeql.test.js b/lib/setup-codeql.test.js index 504cb9cb3f..9b4b0fb056 100644 --- a/lib/setup-codeql.test.js +++ b/lib/setup-codeql.test.js @@ -79,7 +79,7 @@ ava_1.default.beforeEach(() => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); const tagName = "codeql-bundle-v1.2.3"; (0, testing_utils_1.mockBundleDownloadApi)({ tagName }); - const source = await setupCodeql.getCodeQLSource(`https://github.com/github/codeql-action/releases/download/${tagName}/codeql-bundle-linux64.tar.gz`, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, getStubZstdAvailability(), (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); + const source = await setupCodeql.getCodeQLSource(`https://github.com/github/codeql-action/releases/download/${tagName}/codeql-bundle-linux64.tar.gz`, testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, false, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); t.is(source.sourceType, "download"); t.is(source["cliVersion"], "1.2.3"); }); @@ -87,7 +87,7 @@ ava_1.default.beforeEach(() => { (0, ava_1.default)("getCodeQLSource correctly returns bundled CLI version when tools == linked", async (t) => { await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const source = await setupCodeql.getCodeQLSource("linked", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, getStubZstdAvailability(), (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); + const source = await setupCodeql.getCodeQLSource("linked", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, false, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); t.is(source.sourceType, "download"); }); @@ -97,7 +97,7 @@ ava_1.default.beforeEach(() => { const logger = (0, testing_utils_1.getRecordingLogger)(loggedMessages); await (0, util_1.withTmpDir)(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - const source = await setupCodeql.getCodeQLSource("latest", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, getStubZstdAvailability(), (0, testing_utils_1.createFeatures)([]), logger); + const source = await setupCodeql.getCodeQLSource("latest", testing_utils_1.SAMPLE_DEFAULT_CLI_VERSION, testing_utils_1.SAMPLE_DOTCOM_API_DETAILS, util_1.GitHubVariant.DOTCOM, false, (0, testing_utils_1.createFeatures)([]), logger); // First, ensure that the CLI version is the linked version, so that backwards // compatibility is maintained. t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion); @@ -164,9 +164,4 @@ ava_1.default.beforeEach(() => { msg.message.includes(expected_message))); }); }); -function getStubZstdAvailability() { - return { - available: false, - }; -} //# sourceMappingURL=setup-codeql.test.js.map \ No newline at end of file diff --git a/lib/setup-codeql.test.js.map b/lib/setup-codeql.test.js.map index f2378475da..62c7cdf82f 100644 --- a/lib/setup-codeql.test.js.map +++ b/lib/setup-codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-codeql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C,KAAK,EAAE,MAAM,EAAE,EAAE;QAChC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,iBAAiB,CAChD,SAAS,EACT,yCAAyB,EACzB,yBAAyB,EACzB,oBAAa,CAAC,MAAM,EACpB,0CAA0B,EAC1B,IAAA,8BAAc,EAAC,EAAE,CAAC,EAClB,MAAM,CACP,CAAC;QAEF,iFAAiF;QACjF,oBAAoB;QACpB,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;QAE3C,sEAAsE;QACtE,MAAM,gBAAgB,GAAW,gDAAgD,SAAS,GAAG,CAAC;QAC9F,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,GAAG,EAAE,EAAE,CACN,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YAC/B,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CACzC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAS,uBAAuB;IAC9B,OAAO;QACL,SAAS,EAAE,KAAK;KACjB,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"setup-codeql.test.js","sourceRoot":"","sources":["../src/setup-codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,uCAA4C;AAC5C,4DAA8C;AAC9C,mDAUyB;AACzB,iCAKgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE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F,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,GAAG,EAAE,EAAE,CACN,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YAC/B,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CACzC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/src/setup-codeql.test.ts b/src/setup-codeql.test.ts index 6093635bb3..3a51ea90f5 100644 --- a/src/setup-codeql.test.ts +++ b/src/setup-codeql.test.ts @@ -6,7 +6,6 @@ import * as sinon from "sinon"; import * as actionsUtil from "./actions-util"; import { getRunnerLogger } from "./logging"; import * as setupCodeql from "./setup-codeql"; -import { ZstdAvailability } from "./tar"; import { LINKED_CLI_VERSION, LoggedMessage, @@ -91,7 +90,7 @@ test("getCodeQLSource sets CLI version for a semver tagged bundle", async (t) => SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, - getStubZstdAvailability(), + false, createFeatures([]), getRunnerLogger(true), ); @@ -109,7 +108,7 @@ test("getCodeQLSource correctly returns bundled CLI version when tools == linked SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, - getStubZstdAvailability(), + false, createFeatures([]), getRunnerLogger(true), ); @@ -130,7 +129,7 @@ test("getCodeQLSource correctly returns bundled CLI version when tools == latest SAMPLE_DEFAULT_CLI_VERSION, SAMPLE_DOTCOM_API_DETAILS, GitHubVariant.DOTCOM, - getStubZstdAvailability(), + false, createFeatures([]), logger, ); @@ -246,9 +245,3 @@ test("setupCodeQLBundle logs the CodeQL CLI version being used when asked to dow ); }); }); - -function getStubZstdAvailability(): ZstdAvailability { - return { - available: false, - }; -} diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index e159de7704..22f5b2a5ac 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -242,7 +242,7 @@ export async function getCodeQLSource( defaultCliVersion: CodeQLDefaultVersionInfo, apiDetails: api.GitHubApiDetails, variant: util.GitHubVariant, - zstdAvailability: tar.ZstdAvailability, + tarSupportsZstd: boolean, features: FeatureEnablement, logger: Logger, ): Promise { @@ -441,7 +441,7 @@ export async function getCodeQLSource( tagName!, apiDetails, cliVersion !== undefined && - (await useZstdBundle(cliVersion, features, zstdAvailability)), + (await useZstdBundle(cliVersion, features, tarSupportsZstd)), logger, ); } @@ -673,12 +673,60 @@ export async function setupCodeQLBundle( ): Promise { const zstdAvailability = await tar.isZstdAvailable(logger); + // If we think the installed version of tar supports zstd, try to use zstd, + // but be prepared to fall back to gzip in case we were wrong. + if (zstdAvailability.available) { + try { + return await setupCodeQLBundleWithCompressionMethod( + toolsInput, + apiDetails, + tempDir, + variant, + defaultCliVersion, + features, + logger, + zstdAvailability, + true, + ); + } catch (e) { + logger.warning( + `Failed to set up CodeQL tools with zstd. Falling back to gzipped version. Error: ${util.getErrorMessage( + e, + )}`, + ); + } + } + + return await setupCodeQLBundleWithCompressionMethod( + toolsInput, + apiDetails, + tempDir, + variant, + defaultCliVersion, + features, + logger, + zstdAvailability, + false, + ); +} + +async function setupCodeQLBundleWithCompressionMethod( + toolsInput: string | undefined, + apiDetails: api.GitHubApiDetails, + tempDir: string, + variant: util.GitHubVariant, + defaultCliVersion: CodeQLDefaultVersionInfo, + features: FeatureEnablement, + logger: Logger, + zstdAvailability: tar.ZstdAvailability, + useTarIfAvailable: boolean, +) { const source = await getCodeQLSource( toolsInput, defaultCliVersion, apiDetails, variant, - zstdAvailability, + useTarIfAvailable, features, logger, ); @@ -757,11 +805,11 @@ function sanitizeUrlForStatusReport(url: string): string { async function useZstdBundle( cliVersion: string, features: FeatureEnablement, - zstdAvailability: tar.ZstdAvailability, + tarSupportsZstd: boolean, ): Promise { return ( + tarSupportsZstd && semver.gte(cliVersion, "2.19.0") && - !!(await features.getValue(Feature.ZstdBundle)) && - zstdAvailability.available + !!(await features.getValue(Feature.ZstdBundle)) ); } From 0abc1ec90bf9ff7b842578980c5501bb18f8c6f1 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 22:22:52 +0100 Subject: [PATCH 09/15] Capture reason if zstd fails unexpectedly --- .github/workflows/__zstd-bundle-fallback.yml | 125 +++++++++++++++++++ lib/setup-codeql.js | 12 +- lib/setup-codeql.js.map | 2 +- pr-checks/checks/zstd-bundle-fallback.yml | 74 +++++++++++ src/setup-codeql.ts | 16 ++- 5 files changed, 226 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/__zstd-bundle-fallback.yml create mode 100644 pr-checks/checks/zstd-bundle-fallback.yml diff --git a/.github/workflows/__zstd-bundle-fallback.yml b/.github/workflows/__zstd-bundle-fallback.yml new file mode 100644 index 0000000000..55f7f55a4c --- /dev/null +++ b/.github/workflows/__zstd-bundle-fallback.yml @@ -0,0 +1,125 @@ +# Warning: This file is generated automatically, and should not be modified. +# Instead, please modify the template in the pr-checks directory and run: +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) +# to regenerate this file. + +name: PR Check - Zstandard bundle fallback +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GO111MODULE: auto +on: + push: + branches: + - main + - releases/v* + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + schedule: + - cron: '0 5 * * *' + workflow_dispatch: {} +jobs: + zstd-bundle-fallback: + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + version: linked + name: Zstandard bundle fallback + permissions: + contents: read + security-events: write + timeout-minutes: 45 + runs-on: ${{ matrix.os }} + steps: + - name: Setup Python on MacOS + uses: actions/setup-python@v5 + if: >- + runner.os == 'macOS' && ( + + matrix.version == 'stable-v2.13.5' || + + matrix.version == 'stable-v2.14.6') + with: + python-version: '3.11' + - name: Check out repository + uses: actions/checkout@v4 + - name: Prepare test + id: prepare-test + uses: ./.github/actions/prepare-test + with: + version: ${{ matrix.version }} + use-all-platform-bundle: 'false' + setup-kotlin: 'true' + - name: Remove CodeQL from toolcache + run: | + rm -rf $RUNNER_TOOL_CACHE/CodeQL + - id: init + uses: ./../action/init + with: + # Swift is not supported on Ubuntu so we manually exclude it from the list here + languages: cpp,csharp,go,java,javascript,python,ruby + tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Build code + shell: bash + run: ./build.sh + - uses: ./../action/analyze + with: + output: ${{ runner.temp }}/results + upload-database: false + - name: Upload SARIF + uses: actions/upload-artifact@v3 + with: + name: zstd-bundle.sarif + path: ${{ runner.temp }}/results/cpp.sarif + retention-days: 7 + - name: Check expected diagnostics + uses: actions/github-script@v7 + env: + SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + with: + script: | + const fs = require('fs'); + + const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8')); + const run = sarif.runs[0]; + + const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications; + const downloadTelemetryNotifications = toolExecutionNotifications.filter(n => + n.descriptor.id === 'codeql-action/bundle-download-telemetry' + ); + if (downloadTelemetryNotifications.length !== 1) { + core.setFailed( + 'Expected exactly one reporting descriptor in the ' + + `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` + + `${downloadTelemetryNotifications.length}. All notification reporting descriptors: ` + + `${JSON.stringify(toolExecutionNotifications)}.` + ); + } + + const toolsUrl = downloadTelemetryNotifications[0].properties.attributes.toolsUrl; + console.log(`Found tools URL: ${toolsUrl}`); + + if (!toolsUrl.endsWith('.tar.gz')) { + core.setFailed( + `Expected the tools URL to be a .tar.gz file, but found '${toolsUrl}'.` + ); + } + + const zstdFailureReason = downloadTelemetryNotifications[0].properties.attributes.zstdFailureReason; + console.log(`Found zstd failure reason: ${zstdFailureReason}`); + + const expectedZstdFailureReason = 'Failing since CODEQL_ACTION_FORCE_ZSTD_FAILURE is true.'; + if (zstdFailureReason !== expectedZstdFailureReason) { + core.setFailed( + `Expected the zstd failure reason to be '${expectedZstdFailureReason}', but found '${zstdFailureReason}'.` + ); + } + env: + CODEQL_ACTION_ZSTD_BUNDLE: true + CODEQL_ACTION_FORCE_ZSTD_FAILURE: true + CODEQL_ACTION_TEST_MODE: true diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index 9ad1aa0210..5cd7b0a891 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -479,17 +479,27 @@ function getCanonicalToolcacheVersion(cliVersion, bundleVersion, logger) { */ async function setupCodeQLBundle(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger) { const zstdAvailability = await tar.isZstdAvailable(logger); + let zstdFailureReason; // If we think the installed version of tar supports zstd, try to use zstd, // but be prepared to fall back to gzip in case we were wrong. if (zstdAvailability.available) { try { + // To facilitate testing the fallback, fail here if a testing environment variable is set. + if (process.env.CODEQL_ACTION_FORCE_ZSTD_FAILURE === "true") { + throw new Error("Failing since CODEQL_ACTION_FORCE_ZSTD_FAILURE is true."); + } return await setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, true); } catch (e) { + zstdFailureReason = util.getErrorMessage(e) || "unknown error"; logger.warning(`Failed to set up CodeQL tools with zstd. Falling back to gzipped version. Error: ${util.getErrorMessage(e)}`); } } - return await setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, false); + const result = await setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, false); + if (result.toolsDownloadStatusReport && zstdFailureReason) { + result.toolsDownloadStatusReport.zstdFailureReason = zstdFailureReason; + } + return result; } async function setupCodeQLBundleWithCompressionMethod(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, zstdAvailability, useTarIfAvailable) { const source = await getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, variant, useTarIfAvailable, features, logger); diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index 0ec1047beb..7cd0aaa884 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;AAqID,kDAQC;AA0CD,8CA8CC;AAtsBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAIyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,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,CAAC;IACv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CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrC,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,GAAG,CAAC,CAAC;QACtC,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,KAAK,YAAY,CAAC,MAAM,UAAU,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,OAAO,CAAC,sBAAsB,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;IACtD,CAAC;AACH,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,CACL,eAAe;QACf,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;QAChC,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 new file mode 100644 index 0000000000..c3a88793f8 --- /dev/null +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -0,0 +1,74 @@ +name: "Zstandard bundle fallback" +description: "Tests the fallback for when downloading a Zstandard-compressed CodeQL Bundle fails" +versions: + - linked +operatingSystems: + - ubuntu +env: + CODEQL_ACTION_ZSTD_BUNDLE: true + CODEQL_ACTION_FORCE_ZSTD_FAILURE: true +steps: + - name: Remove CodeQL from toolcache + run: | + rm -rf $RUNNER_TOOL_CACHE/CodeQL + - id: init + uses: ./../action/init + with: + # Swift is not supported on Ubuntu so we manually exclude it from the list here + languages: cpp,csharp,go,java,javascript,python,ruby + tools: ${{ steps.prepare-test.outputs.tools-url }} + - name: Build code + shell: bash + run: ./build.sh + - uses: ./../action/analyze + with: + output: ${{ runner.temp }}/results + upload-database: false + - name: Upload SARIF + uses: actions/upload-artifact@v3 + with: + name: zstd-bundle.sarif + path: ${{ runner.temp }}/results/cpp.sarif + retention-days: 7 + - name: Check expected diagnostics + uses: actions/github-script@v7 + env: + SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + with: + script: | + const fs = require('fs'); + + const sarif = JSON.parse(fs.readFileSync(process.env['SARIF_PATH'], 'utf8')); + const run = sarif.runs[0]; + + const toolExecutionNotifications = run.invocations[0].toolExecutionNotifications; + const downloadTelemetryNotifications = toolExecutionNotifications.filter(n => + n.descriptor.id === 'codeql-action/bundle-download-telemetry' + ); + if (downloadTelemetryNotifications.length !== 1) { + core.setFailed( + 'Expected exactly one reporting descriptor in the ' + + `'runs[].invocations[].toolExecutionNotifications[]' SARIF property, but found ` + + `${downloadTelemetryNotifications.length}. All notification reporting descriptors: ` + + `${JSON.stringify(toolExecutionNotifications)}.` + ); + } + + const toolsUrl = downloadTelemetryNotifications[0].properties.attributes.toolsUrl; + console.log(`Found tools URL: ${toolsUrl}`); + + if (!toolsUrl.endsWith('.tar.gz')) { + core.setFailed( + `Expected the tools URL to be a .tar.gz file, but found '${toolsUrl}'.` + ); + } + + const zstdFailureReason = downloadTelemetryNotifications[0].properties.attributes.zstdFailureReason; + console.log(`Found zstd failure reason: ${zstdFailureReason}`); + + const expectedZstdFailureReason = 'Failing since CODEQL_ACTION_FORCE_ZSTD_FAILURE is true.'; + if (zstdFailureReason !== expectedZstdFailureReason) { + core.setFailed( + `Expected the zstd failure reason to be '${expectedZstdFailureReason}', but found '${zstdFailureReason}'.` + ); + } diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index 22f5b2a5ac..eeb0022076 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -486,6 +486,7 @@ export interface ToolsDownloadStatusReport { downloadDurationMs: number; extractionDurationMs: number; toolsUrl: string; + zstdFailureReason?: string; } // Exported using `export const` for testing purposes. Specifically, we want to @@ -655,6 +656,7 @@ export interface SetupCodeQLResult { toolsSource: ToolsSource; toolsVersion: string; zstdAvailability: tar.ZstdAvailability; + zstdFailureReason?: string; } /** @@ -672,11 +674,18 @@ export async function setupCodeQLBundle( logger: Logger, ): Promise { const zstdAvailability = await tar.isZstdAvailable(logger); + let zstdFailureReason: string | undefined; // If we think the installed version of tar supports zstd, try to use zstd, // but be prepared to fall back to gzip in case we were wrong. if (zstdAvailability.available) { try { + // To facilitate testing the fallback, fail here if a testing environment variable is set. + if (process.env.CODEQL_ACTION_FORCE_ZSTD_FAILURE === "true") { + throw new Error( + "Failing since CODEQL_ACTION_FORCE_ZSTD_FAILURE is true.", + ); + } return await setupCodeQLBundleWithCompressionMethod( toolsInput, apiDetails, @@ -689,6 +698,7 @@ export async function setupCodeQLBundle( true, ); } catch (e) { + zstdFailureReason = util.getErrorMessage(e) || "unknown error"; logger.warning( `Failed to set up CodeQL tools with zstd. Falling back to gzipped version. Error: ${util.getErrorMessage( e, @@ -697,7 +707,7 @@ export async function setupCodeQLBundle( } } - return await setupCodeQLBundleWithCompressionMethod( + const result = await setupCodeQLBundleWithCompressionMethod( toolsInput, apiDetails, tempDir, @@ -708,6 +718,10 @@ export async function setupCodeQLBundle( zstdAvailability, false, ); + if (result.toolsDownloadStatusReport && zstdFailureReason) { + result.toolsDownloadStatusReport.zstdFailureReason = zstdFailureReason; + } + return result; } async function setupCodeQLBundleWithCompressionMethod( From 37309b9318b67c73062ba6c6b2c5491d22db77b8 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Sep 2024 23:07:21 +0100 Subject: [PATCH 10/15] Add changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46618ff28a..fd268a32f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the ## [UNRELEASED] -No user facing changes. +- We are rolling out a feature in September/October 2024 that sets up CodeQL using a bundle compressed with [Zstandard](http://facebook.github.io/zstd/). Our aim is to improve the performance of setting up CodeQL. [#2502](https://github.com/github/codeql-action/pull/2502) ## 3.26.8 - 19 Sep 2024 From fa91789e8164e315bfac75afbb66a19a6144d3c7 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 24 Sep 2024 17:21:26 +0100 Subject: [PATCH 11/15] Run zstd checks against all operating systems --- .github/workflows/__zstd-bundle-fallback.yml | 4 ++++ .github/workflows/__zstd-bundle.yml | 4 ++++ pr-checks/checks/zstd-bundle-fallback.yml | 2 ++ pr-checks/checks/zstd-bundle.yml | 2 ++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/__zstd-bundle-fallback.yml b/.github/workflows/__zstd-bundle-fallback.yml index 55f7f55a4c..d495f2126f 100644 --- a/.github/workflows/__zstd-bundle-fallback.yml +++ b/.github/workflows/__zstd-bundle-fallback.yml @@ -27,6 +27,10 @@ jobs: fail-fast: false matrix: 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 fc895ca6d8..f43ae77834 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -27,6 +27,10 @@ jobs: fail-fast: false matrix: include: + - os: macos-latest + version: linked + - os: windows-latest + version: linked - os: ubuntu-latest version: linked name: Zstandard bundle diff --git a/pr-checks/checks/zstd-bundle-fallback.yml b/pr-checks/checks/zstd-bundle-fallback.yml index c3a88793f8..ff68514819 100644 --- a/pr-checks/checks/zstd-bundle-fallback.yml +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -3,6 +3,8 @@ description: "Tests the fallback for when downloading a Zstandard-compressed Cod 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 a88a4a6d5e..6affcbc7d9 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -3,6 +3,8 @@ description: "Tests the feature flag that downloads a Zstandard-compressed CodeQ versions: - linked operatingSystems: + - macos + - windows - ubuntu env: CODEQL_ACTION_ZSTD_BUNDLE: true From 67b30f7c39400b01deb01e007e72213c780fe030 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 24 Sep 2024 17:22:11 +0100 Subject: [PATCH 12/15] Tweak description Co-authored-by: Andrew Eisenberg --- pr-checks/checks/zstd-bundle-fallback.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr-checks/checks/zstd-bundle-fallback.yml b/pr-checks/checks/zstd-bundle-fallback.yml index ff68514819..4b8f424557 100644 --- a/pr-checks/checks/zstd-bundle-fallback.yml +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -1,5 +1,5 @@ name: "Zstandard bundle fallback" -description: "Tests the fallback for when downloading a Zstandard-compressed CodeQL Bundle fails" +description: "Tests the fallback when downloading a Zstandard-compressed CodeQL Bundle fails" versions: - linked operatingSystems: From bc68dc9d95ed5ebcc679a8f7095815d785e67570 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 24 Sep 2024 17:39:33 +0100 Subject: [PATCH 13/15] Extract constant for first std-compressed version --- lib/feature-flags.js | 6 +++++- lib/feature-flags.js.map | 2 +- lib/setup-codeql.js | 2 +- lib/setup-codeql.js.map | 2 +- src/feature-flags.ts | 5 +++++ src/setup-codeql.ts | 3 ++- 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 774490fdce..1809a5d244 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.Features = exports.FEATURE_FLAGS_FILE_NAME = exports.featureConfig = exports.Feature = exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = void 0; +exports.Features = exports.FEATURE_FLAGS_FILE_NAME = exports.featureConfig = exports.Feature = exports.CODEQL_VERSION_ZSTD_BUNDLE = exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const semver = __importStar(require("semver")); @@ -37,6 +37,10 @@ const DEFAULT_VERSION_FEATURE_FLAG_SUFFIX = "_enabled"; * (Some earlier versions recognize the command-line flag, but they contain a bug which makes it unsafe to use). */ exports.CODEQL_VERSION_FINE_GRAINED_PARALLELISM = "2.15.1"; +/** + * The first version of the CodeQL Bundle that shipped with zstd-compressed bundles. + */ +exports.CODEQL_VERSION_ZSTD_BUNDLE = "2.19.0"; /** * Feature enablement as returned by the GitHub API endpoint. * diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 8ba2db4b19..b5f0535f86 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,4EAAiE,CAA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AqC,CAAC;YACnE,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,uFAAuF,CACxF,CAAC;YACF,KAAK,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAC7D,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CACjD,EAAE,CAAC;gBACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;YAC9C,CAAC;YACD,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;QACrB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAI5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBA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H,CAAC;CACF"} \ No newline at end of file diff --git a/lib/setup-codeql.js b/lib/setup-codeql.js index 5cd7b0a891..82c3af95d6 100644 --- a/lib/setup-codeql.js +++ b/lib/setup-codeql.js @@ -563,7 +563,7 @@ function sanitizeUrlForStatusReport(url) { } async function useZstdBundle(cliVersion, features, tarSupportsZstd) { return (tarSupportsZstd && - semver.gte(cliVersion, "2.19.0") && + semver.gte(cliVersion, feature_flags_1.CODEQL_VERSION_ZSTD_BUNDLE) && !!(await features.getValue(feature_flags_1.Feature.ZstdBundle))); } //# sourceMappingURL=setup-codeql.js.map \ No newline at end of file diff --git a/lib/setup-codeql.js.map b/lib/setup-codeql.js.map index 7cd0aaa884..6fea66511c 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;AAsID,kDAQC;AA2CD,8CA0DC;AAptBD,uCAAyB;AAEzB,2CAA6B;AAC7B,2CAAyC;AAEzC,+DAAiD;AACjD,8CAAsB;AACtB,sEAAuD;AACvD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AACpC,kGAAkG;AAClG,mGAAmG;AACnG,oBAAoB;AACpB,0DAA4C;AAC5C,mDAIyB;AAEzB,2CAA6B;AAC7B,6CAA+B;AAC/B,iCAAuC;AAEvC,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;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C7C,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,CACL,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/src/feature-flags.ts b/src/feature-flags.ts index abddd7c895..d5150dd6e9 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -20,6 +20,11 @@ const DEFAULT_VERSION_FEATURE_FLAG_SUFFIX = "_enabled"; */ export const CODEQL_VERSION_FINE_GRAINED_PARALLELISM = "2.15.1"; +/** + * The first version of the CodeQL Bundle that shipped with zstd-compressed bundles. + */ +export const CODEQL_VERSION_ZSTD_BUNDLE = "2.19.0"; + export interface CodeQLDefaultVersionInfo { cliVersion: string; tagName: string; diff --git a/src/setup-codeql.ts b/src/setup-codeql.ts index eeb0022076..5e70e59273 100644 --- a/src/setup-codeql.ts +++ b/src/setup-codeql.ts @@ -16,6 +16,7 @@ import * as api from "./api-client"; // these dependents. import * as defaults from "./defaults.json"; import { + CODEQL_VERSION_ZSTD_BUNDLE, CodeQLDefaultVersionInfo, Feature, FeatureEnablement, @@ -823,7 +824,7 @@ async function useZstdBundle( ): Promise { return ( tarSupportsZstd && - semver.gte(cliVersion, "2.19.0") && + semver.gte(cliVersion, CODEQL_VERSION_ZSTD_BUNDLE) && !!(await features.getValue(Feature.ZstdBundle)) ); } From af8e2bc4a11a56a9d03b409d7db1225ed272cb18 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 24 Sep 2024 17:43:32 +0100 Subject: [PATCH 14/15] Use Node script to remove CodeQL cross-platform --- .github/workflows/__zstd-bundle-fallback.yml | 9 +++++++-- .github/workflows/__zstd-bundle.yml | 9 +++++++-- pr-checks/checks/zstd-bundle-fallback.yml | 9 +++++++-- pr-checks/checks/zstd-bundle.yml | 9 +++++++-- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.github/workflows/__zstd-bundle-fallback.yml b/.github/workflows/__zstd-bundle-fallback.yml index d495f2126f..fe927ca5a7 100644 --- a/.github/workflows/__zstd-bundle-fallback.yml +++ b/.github/workflows/__zstd-bundle-fallback.yml @@ -60,8 +60,13 @@ jobs: use-all-platform-bundle: 'false' setup-kotlin: 'true' - name: Remove CodeQL from toolcache - run: | - rm -rf $RUNNER_TOOL_CACHE/CodeQL + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const path = require('path'); + const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); + fs.rmdirSync(codeqlPath, { recursive: true }); - id: init uses: ./../action/init with: diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index f43ae77834..e6c8a81b73 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -60,8 +60,13 @@ jobs: use-all-platform-bundle: 'false' setup-kotlin: 'true' - name: Remove CodeQL from toolcache - run: | - rm -rf $RUNNER_TOOL_CACHE/CodeQL + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const path = require('path'); + const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); + fs.rmdirSync(codeqlPath, { recursive: true }); - id: init uses: ./../action/init with: diff --git a/pr-checks/checks/zstd-bundle-fallback.yml b/pr-checks/checks/zstd-bundle-fallback.yml index 4b8f424557..fdca2be318 100644 --- a/pr-checks/checks/zstd-bundle-fallback.yml +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -11,8 +11,13 @@ env: CODEQL_ACTION_FORCE_ZSTD_FAILURE: true steps: - name: Remove CodeQL from toolcache - run: | - rm -rf $RUNNER_TOOL_CACHE/CodeQL + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const path = require('path'); + const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); + fs.rmdirSync(codeqlPath, { recursive: true }); - id: init uses: ./../action/init with: diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index 6affcbc7d9..b6403c53fa 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -10,8 +10,13 @@ env: CODEQL_ACTION_ZSTD_BUNDLE: true steps: - name: Remove CodeQL from toolcache - run: | - rm -rf $RUNNER_TOOL_CACHE/CodeQL + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const path = require('path'); + const codeqlPath = path.join(process.env['RUNNER_TOOL_CACHE'], 'CodeQL'); + fs.rmdirSync(codeqlPath, { recursive: true }); - id: init uses: ./../action/init with: From 6b2f7e7c28404627554332e4fe1880c5be10639c Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 24 Sep 2024 17:54:33 +0100 Subject: [PATCH 15/15] Run PR checks using JS only --- .github/workflows/__zstd-bundle-fallback.yml | 10 +++------- .github/workflows/__zstd-bundle.yml | 10 +++------- pr-checks/checks/zstd-bundle-fallback.yml | 10 +++------- pr-checks/checks/zstd-bundle.yml | 10 +++------- 4 files changed, 12 insertions(+), 28 deletions(-) diff --git a/.github/workflows/__zstd-bundle-fallback.yml b/.github/workflows/__zstd-bundle-fallback.yml index fe927ca5a7..a37ebe1251 100644 --- a/.github/workflows/__zstd-bundle-fallback.yml +++ b/.github/workflows/__zstd-bundle-fallback.yml @@ -70,12 +70,8 @@ jobs: - id: init uses: ./../action/init with: - # Swift is not supported on Ubuntu so we manually exclude it from the list here - languages: cpp,csharp,go,java,javascript,python,ruby + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -84,12 +80,12 @@ jobs: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check expected diagnostics uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs'); diff --git a/.github/workflows/__zstd-bundle.yml b/.github/workflows/__zstd-bundle.yml index e6c8a81b73..a15d6330d4 100644 --- a/.github/workflows/__zstd-bundle.yml +++ b/.github/workflows/__zstd-bundle.yml @@ -70,12 +70,8 @@ jobs: - id: init uses: ./../action/init with: - # Swift is not supported on Ubuntu so we manually exclude it from the list here - languages: cpp,csharp,go,java,javascript,python,ruby + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -84,12 +80,12 @@ jobs: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check diagnostic with expected tools URL appears in SARIF uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs'); diff --git a/pr-checks/checks/zstd-bundle-fallback.yml b/pr-checks/checks/zstd-bundle-fallback.yml index fdca2be318..40549b377b 100644 --- a/pr-checks/checks/zstd-bundle-fallback.yml +++ b/pr-checks/checks/zstd-bundle-fallback.yml @@ -21,12 +21,8 @@ steps: - id: init uses: ./../action/init with: - # Swift is not supported on Ubuntu so we manually exclude it from the list here - languages: cpp,csharp,go,java,javascript,python,ruby + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -35,12 +31,12 @@ steps: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check expected diagnostics uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs'); diff --git a/pr-checks/checks/zstd-bundle.yml b/pr-checks/checks/zstd-bundle.yml index b6403c53fa..b8608a954f 100644 --- a/pr-checks/checks/zstd-bundle.yml +++ b/pr-checks/checks/zstd-bundle.yml @@ -20,12 +20,8 @@ steps: - id: init uses: ./../action/init with: - # Swift is not supported on Ubuntu so we manually exclude it from the list here - languages: cpp,csharp,go,java,javascript,python,ruby + languages: javascript tools: ${{ steps.prepare-test.outputs.tools-url }} - - name: Build code - shell: bash - run: ./build.sh - uses: ./../action/analyze with: output: ${{ runner.temp }}/results @@ -34,12 +30,12 @@ steps: uses: actions/upload-artifact@v3 with: name: zstd-bundle.sarif - path: ${{ runner.temp }}/results/cpp.sarif + path: ${{ runner.temp }}/results/javascript.sarif retention-days: 7 - name: Check diagnostic with expected tools URL appears in SARIF uses: actions/github-script@v7 env: - SARIF_PATH: ${{ runner.temp }}/results/cpp.sarif + SARIF_PATH: ${{ runner.temp }}/results/javascript.sarif with: script: | const fs = require('fs');