From 807578363a7869ca324a79039e6db9c843e0e100 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:17:09 +0000 Subject: [PATCH 1/2] Merge main into releases/v2 (#1287) * Update changelog and version after v2.1.26 * Update checked-in dependencies * Don't check for Go logs on failure (#1279) * Update supported GitHub Enterprise Server versions. (#1275) Co-authored-by: GitHub * TRAP Caching: Add timeouts to upload/download operations * Add logging statements declaring state of the cli_config_file_enabled It's possible to determine this otherwise, but this makes it easier to spot. * Avoid using single value as array The user config parser in the CLI doesn't yet support it. * Extract logging statements to separate function * Correctly report CodeQL version when using cache (#1259) * Correctly report CodeQL version when using cache * Add JS generated files * Add test for return value of `setupCodeQL` * Fill in missing return value comment * Convert "Invalid source root" errors to UserErrors * Add changelog note for Go extraction reconciliation (#1286) * Add changelog note for Go extraction reconciliation * Update CHANGELOG.md Co-authored-by: Henry Mercer * Update CHANGELOG.md Co-authored-by: Andrew Eisenberg * Tweaks from PR review Co-authored-by: Henry Mercer Co-authored-by: Andrew Eisenberg * Update changelog for v2.1.27 Co-authored-by: github-actions[bot] Co-authored-by: Chuan-kai Lin Co-authored-by: Angela P Wen Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Co-authored-by: Edoardo Pirovano Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com> Co-authored-by: Andrew Eisenberg Co-authored-by: Henry Mercer --- .github/workflows/debug-artifacts-failure.yml | 2 +- CHANGELOG.md | 4 ++ lib/analyze.js | 1 + lib/analyze.js.map | 2 +- lib/api-compatibility.json | 2 +- lib/codeql.js | 3 +- lib/codeql.js.map | 2 +- lib/codeql.test.js | 35 ++++++++---- lib/codeql.test.js.map | 2 +- lib/config-utils.js | 1 + lib/config-utils.js.map | 2 +- lib/init.js | 46 +++++++++++----- lib/init.js.map | 2 +- lib/trap-caching.js | 17 ++++-- lib/trap-caching.js.map | 2 +- lib/util.js | 30 +++++++++- lib/util.js.map | 2 +- lib/util.test.js | 28 ++++++++++ lib/util.test.js.map | 2 +- node_modules/.package-lock.json | 2 +- package-lock.json | 4 +- package.json | 2 +- src/analyze.ts | 3 + src/api-compatibility.json | 2 +- src/codeql.test.ts | 43 +++++++++++---- src/codeql.ts | 3 +- src/config-utils.ts | 3 + src/init.ts | 55 +++++++++++++------ src/trap-caching.ts | 34 +++++++++--- src/util.test.ts | 31 +++++++++++ src/util.ts | 40 ++++++++++++++ .../codeql/codeql-config-query-filters1.yml | 6 +- .../codeql/codeql-config-query-filters2.yml | 9 ++- .../codeql/codeql-config-query-filters3.yml | 12 ++-- 34 files changed, 341 insertions(+), 93 deletions(-) diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml index b9668d0bda..421a75a8e2 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure.yml @@ -79,7 +79,7 @@ jobs: echo "Missing database initialization logs" exit 1 fi - if [[ ! -d "$language/log" ]] ; then + if [[ ! "$language" == "go" ]] && [[ ! -d "$language/log" ]] ; then echo "Missing logs for $language" exit 1 fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c83a057c1..d779612b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CodeQL Action Changelog +## 2.1.27 - 06 Oct 2022 + +- We are rolling out a feature of the CodeQL Action in October 2022 that changes the way that Go code is analyzed to be more consistent with other compiled languages like C/C++, C#, and Java. You do not need to alter your code scanning workflows. If you encounter any problems, please [file an issue](https://github.com/github/codeql-action/issues) or open a private ticket with GitHub Support and request an escalation to engineering. + ## 2.1.26 - 29 Sep 2022 - Update default CodeQL bundle version to 2.11.0. [#1267](https://github.com/github/codeql-action/pull/1267) diff --git a/lib/analyze.js b/lib/analyze.js index fefe333d6a..cf37dd8919 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -136,6 +136,7 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, config.paths, config.pathsIgnore, config.languages, logger); } const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); + await util.logCodeScanningConfigInCli(codeql, featureFlags, logger); for (const language of config.languages) { const queries = config.queries[language]; const queryFilters = validateQueryFilters(config.originalUserInput["query-filters"]); diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 0d15636358..f8bc4510f4 100644 --- a/lib/analyze.js.map +++ b/lib/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC,CAAC,6CAA6C;AAEvF,yEAA2D;AAC3D,8CAAsB;AACtB,8CAAgC;AAGhC,gEAAkD;AAClD,qCAKkB;AAClB,4DAA8C;AAC9C,2CAAuC;AAEvC,2CAA0D;AAE1D,gEAAkD;AAClD,mDAAuD;AACvD,6CAA+B;AAE/B,MAAa,mBAAoB,SAAQ,KAAK;IAG5C,YAAY,mBAAwC,EAAE,OAAe;QACnE,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;CACF;AATD,kDASC;AAiDD,KAAK,UAAU,oBAAoB,CAAC,MAAc;IAChD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClD,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE;QAC3D,+FAA+F;QAC/F,OAAO;KACR;IAED,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,OAAO,GAAG;QACd,SAAS,EAAE;YACT,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;gBACvB,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE,C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QAAQ,CAAC,sBAAsB,QAAQ,GAAG,CAC/E,CAAC;KACH;AACH,CAAC;AAED,uBAAuB;AACvB,SAAgB,oBAAoB,CAAC,YAAwC;IAC3E,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;QAChC,MAAM,IAAI,KAAK,CACb,2EAA2E,OAAO,YAAY,EAAE,CACjG,CAAC;KACH;IAED,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,MAAM,EAAE,IAAI,YAAY,EAAE;QAC7B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC7B,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YACrB,MAAM,CAAC,IAAI,CACT,2CAA2C,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAChE,CAAC;SACH;QACD,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;YAC7C,MAAM,CAAC,IAAI,CACT,qDAAqD,IAAI,CAAC,SAAS,CACjE,EAAE,CACH,EAAE,CACJ,CAAC;SACH;KACF;IAED,IAAI,MAAM,CAAC,MAAM,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAChE;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAjCD,oDAiCC"} \ No newline at end of file diff --git a/lib/api-compatibility.json b/lib/api-compatibility.json index 73d77986ea..f881206a87 100644 --- a/lib/api-compatibility.json +++ b/lib/api-compatibility.json @@ -1 +1 @@ -{ "maximumVersion": "3.7", "minimumVersion": "3.3" } +{ "maximumVersion": "3.7", "minimumVersion": "3.2" } diff --git a/lib/codeql.js b/lib/codeql.js index bc65f4f480..011c00330b 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -224,7 +224,7 @@ async function getCodeQLBundleDownloadURL(apiDetails, variant, logger) { * @param logger * @param checkVersion Whether to check that CodeQL CLI meets the minimum * version requirement. Must be set to true outside tests. - * @returns + * @returns a { CodeQL, toolsVersion } object. */ async function setupCodeQL(codeqlURL, apiDetails, tempDir, variant, featureFlags, logger, checkVersion) { try { @@ -267,6 +267,7 @@ async function setupCodeQL(codeqlURL, apiDetails, tempDir, variant, featureFlags if (fs.existsSync(path.join(tmpCodeqlFolder, "pinned-version"))) { logger.debug(`CodeQL in cache overriding the default ${CODEQL_BUNDLE_VERSION}`); codeqlFolder = tmpCodeqlFolder; + codeqlURLVersion = codeqlVersions[0]; } } } diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 2b0ebe7820..8ef182ef12 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":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,gEAAsD;AACtD,+CAAiC;AACjC,+BAAoC;AAEpC,iDAA6E;AAC7E,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAChD,mDAA4D;AAC5D,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAuC;AAuBvC,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YAAY,GAAW,EAAE,IAAc,EAAE,QAAgB,EAAE,KAAa;QACtE,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;IACJ,CAAC;CACF;AARD,wDAQC;AAgKD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD,MAAM,qBAAqB,GA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EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,WAAW,CAAC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 6cec22e08c..81b1cb6518 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -95,7 +95,7 @@ async function mockApiAndSetupCodeQL({ apiDetails, featureFlags, isPinned, tmpDi (0, nock_1.default)(baseUrl) .get(relativeUrl) .replyWithFile(200, path.join(__dirname, `/../src/testdata/codeql-bundle${isPinned ? "-pinned" : ""}.tar.gz`)); - await codeql.setupCodeQL(toolsInput ? toolsInput.input : `${baseUrl}${relativeUrl}`, apiDetails !== null && apiDetails !== void 0 ? apiDetails : sampleApiDetails, tmpDir, util.GitHubVariant.DOTCOM, featureFlags !== null && featureFlags !== void 0 ? featureFlags : (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true), false); + return await codeql.setupCodeQL(toolsInput ? toolsInput.input : `${baseUrl}${relativeUrl}`, apiDetails !== null && apiDetails !== void 0 ? apiDetails : sampleApiDetails, tmpDir, util.GitHubVariant.DOTCOM, featureFlags !== null && featureFlags !== void 0 ? featureFlags : (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true), false); } (0, ava_1.default)("download codeql bundle cache", async (t) => { await util.withTmpDir(async (tmpDir) => { @@ -103,8 +103,9 @@ async function mockApiAndSetupCodeQL({ apiDetails, featureFlags, isPinned, tmpDi const versions = ["20200601", "20200610"]; for (let i = 0; i < versions.length; i++) { const version = versions[i]; - await mockApiAndSetupCodeQL({ version, tmpDir }); + const codeQLConfig = await mockApiAndSetupCodeQL({ version, tmpDir }); t.assert(toolcache.find("CodeQL", `0.0.0-${version}`)); + t.deepEqual(codeQLConfig.toolsVersion, version); } t.is(toolcache.findAllVersions("CodeQL").length, 2); }); @@ -112,26 +113,33 @@ async function mockApiAndSetupCodeQL({ apiDetails, featureFlags, isPinned, tmpDi (0, ava_1.default)("download codeql bundle cache explicitly requested with pinned different version cached", async (t) => { await util.withTmpDir(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ + const pinnedCodeQLConfig = await mockApiAndSetupCodeQL({ version: "20200601", isPinned: true, tmpDir, }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); - await mockApiAndSetupCodeQL({ version: "20200610", tmpDir }); + t.deepEqual(pinnedCodeQLConfig.toolsVersion, "20200601"); + const unpinnedCodeQLConfig = await mockApiAndSetupCodeQL({ + version: "20200610", + tmpDir, + }); t.assert(toolcache.find("CodeQL", "0.0.0-20200610")); + t.deepEqual(unpinnedCodeQLConfig.toolsVersion, "20200610"); }); }); (0, ava_1.default)("don't download codeql bundle cache with pinned different version cached", async (t) => { await util.withTmpDir(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ + const pinnedCodeQLConfig = await mockApiAndSetupCodeQL({ version: "20200601", isPinned: true, tmpDir, }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); - await codeql.setupCodeQL(undefined, sampleApiDetails, tmpDir, util.GitHubVariant.DOTCOM, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true), false); + t.deepEqual(pinnedCodeQLConfig.toolsVersion, "20200601"); + const codeQLConfig = await codeql.setupCodeQL(undefined, sampleApiDetails, tmpDir, util.GitHubVariant.DOTCOM, (0, feature_flags_1.createFeatureFlags)([]), (0, logging_1.getRunnerLogger)(true), false); + t.deepEqual(codeQLConfig.toolsVersion, "0.0.0-20200601"); const cachedVersions = toolcache.findAllVersions("CodeQL"); t.is(cachedVersions.length, 1); }); @@ -139,14 +147,19 @@ async function mockApiAndSetupCodeQL({ apiDetails, featureFlags, isPinned, tmpDi (0, ava_1.default)("download codeql bundle cache with different version cached (not pinned)", async (t) => { await util.withTmpDir(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ version: "20200601", tmpDir }); + const cachedCodeQLConfig = await mockApiAndSetupCodeQL({ + version: "20200601", + tmpDir, + }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); - await mockApiAndSetupCodeQL({ + t.deepEqual(cachedCodeQLConfig.toolsVersion, "20200601"); + const codeQLConfig = await mockApiAndSetupCodeQL({ version: defaults.bundleVersion, tmpDir, apiDetails: sampleApiDetails, toolsInput: { input: undefined }, }); + t.deepEqual(codeQLConfig.toolsVersion, defaults.bundleVersion.replace("codeql-bundle-", "")); const cachedVersions = toolcache.findAllVersions("CodeQL"); t.is(cachedVersions.length, 2); }); @@ -154,18 +167,20 @@ async function mockApiAndSetupCodeQL({ apiDetails, featureFlags, isPinned, tmpDi (0, ava_1.default)('download codeql bundle cache with pinned different version cached if "latest" tools specified', async (t) => { await util.withTmpDir(async (tmpDir) => { (0, testing_utils_1.setupActionsVars)(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ + const pinnedCodeQLConfig = await mockApiAndSetupCodeQL({ version: "20200601", isPinned: true, tmpDir, }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); - await mockApiAndSetupCodeQL({ + t.deepEqual(pinnedCodeQLConfig.toolsVersion, "20200601"); + const latestCodeQLConfig = await mockApiAndSetupCodeQL({ version: defaults.bundleVersion, apiDetails: sampleApiDetails, toolsInput: { input: "latest" }, tmpDir, }); + t.deepEqual(latestCodeQLConfig.toolsVersion, defaults.bundleVersion.replace("codeql-bundle-", "")); const cachedVersions = toolcache.findAllVersions("CodeQL"); t.is(cachedVersions.length, 2); }); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index 97578d1eaf..4972208a71 100644 --- a/lib/codeql.test.js.map +++ b/lib/codeql.test.js.map @@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/config-utils.js @@ -908,6 +908,7 @@ async function initConfig(languagesInput, queriesInput, packsInput, registriesIn // When using the codescanning config in the CLI, pack downloads // happen in the CLI during the `database init` command, so no need // to download them here. + await (0, util_1.logCodeScanningConfigInCli)(codeQL, featureFlags, logger); if (!(await (0, util_1.useCodeScanningConfigInCli)(codeQL, featureFlags))) { const registries = parseRegistries(registriesInput); await downloadPacks(codeQL, config.languages, config.packs, registries, apiDetails, config.tempDir, logger); diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 3814bb099f..b8176611ce 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAMkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAMgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DA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C,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/init.js b/lib/init.js index 0a8d6f64dd..443084377c 100644 --- a/lib/init.js +++ b/lib/init.js @@ -47,7 +47,6 @@ async function initConfig(languagesInput, queriesInput, packsInput, registriesIn } exports.initConfig = initConfig; async function runInit(codeql, config, sourceRoot, processName, processLevel, featureFlags, logger) { - var _a, _b; fs.mkdirSync(config.dbLocation, { recursive: true }); try { if (await (0, util_1.codeQlVersionAbove)(codeql, codeql_1.CODEQL_VERSION_NEW_TRACING)) { @@ -62,24 +61,41 @@ async function runInit(codeql, config, sourceRoot, processName, processLevel, fe } } catch (e) { - // Handle the situation where init is called twice - // for the same database in the same job. - if (e instanceof Error && - ((_a = e.message) === null || _a === void 0 ? void 0 : _a.includes("Refusing to create databases")) && - e.message.includes("exists and is not an empty directory.")) { - throw new util.UserError(`Is the "init" action called twice in the same job? ${e.message}`); - } - else if (e instanceof Error && - ((_b = e.message) === null || _b === void 0 ? void 0 : _b.includes("is not compatible with this CodeQL CLI"))) { - throw new util.UserError(e.message); - } - else { - throw e; - } + throw processError(e); } return await (0, tracer_config_1.getCombinedTracerConfig)(config, codeql, await util.isGoExtractionReconciliationEnabled(featureFlags), logger); } exports.runInit = runInit; +/** + * Possibly convert this error into a UserError in order to avoid + * counting this error towards our internal error budget. + * + * @param e The error to possibly convert to a UserError. + * + * @returns A UserError if the error is a known error that can be + * attributed to the user, otherwise the original error. + */ +function processError(e) { + var _a, _b, _c, _d; + if (!(e instanceof Error)) { + return e; + } + if ( + // Init action called twice + ((_a = e.message) === null || _a === void 0 ? void 0 : _a.includes("Refusing to create databases")) && + ((_b = e.message) === null || _b === void 0 ? void 0 : _b.includes("exists and is not an empty directory."))) { + return new util.UserError(`Is the "init" action called twice in the same job? ${e.message}`); + } + if ( + // Version of CodeQL CLI is incompatible with this version of the CodeQL Action + ((_c = e.message) === null || _c === void 0 ? void 0 : _c.includes("is not compatible with this CodeQL CLI")) || + ( + // Expected source location for database creation does not exist + (_d = e.message) === null || _d === void 0 ? void 0 : _d.includes("Invalid source root"))) { + return new util.UserError(e.message); + } + return e; +} // Runs a powershell script to inject the tracer into a parent process // so it can tracer future processes, hopefully including the build process. // If processName is given then injects into the nearest parent process with diff --git a/lib/init.js.map b/lib/init.js.map index 86234bcba8..ecc28112d5 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":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AAEpD,gEAAkD;AAElD,qCAA2E;AAC3E,4DAA8C;AAI9C,mDAAwE;AACxE,6CAA+B;AAC/B,iCAA4C;AAErC,KAAK,UAAU,UAAU,CAC9B,SAA6B,EAC7B,UAA4B,EAC5B,OAAe,EACf,OAA2B,EAC3B,YAA0B,EAC1B,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACxC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,IAAA,oBAAW,EAChD,SAAS,EACT,UAAU,EACV,OAAO,EACP,OAAO,EACP,YAAY,EACZ,MAAM,EACN,IAAI,CACL,CAAC;IACF,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;IAC5B,MAAM,CAAC,QAAQ,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;AAClC,CAAC;AArBD,gCAqBC;AAEM,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C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;aAC/B,CAAC,CAAC,IAAI,EAAE,CAAC;SACX;KACF;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,MAAM,CAAC,OAAO,CACZ,gFAAgF,CAAC,IAAI;YACnF,qGAAqG;YACrG,oGAAoG;YACpG,iDAAiD,CACpD,CAAC;QACF,OAAO;KACR;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAzCD,8CAyCC"} \ No newline at end of file diff --git a/lib/trap-caching.js b/lib/trap-caching.js index a80abe6cf6..d990dfdbd3 100644 --- a/lib/trap-caching.js +++ b/lib/trap-caching.js @@ -37,6 +37,11 @@ const CACHE_SIZE_MB = 1024; // This constant sets the minimum size in megabytes of a TRAP // cache for us to consider it worth uploading. const MINIMUM_CACHE_MB_TO_UPLOAD = 10; +// The maximum number of milliseconds to wait for TRAP cache +// uploads or downloads to complete before continuing. Note +// this timeout is per operation, so will be run as many +// times as there are languages with TRAP caching enabled. +const MAX_CACHE_OPERATION_MS = 120000; // Two minutes async function getTrapCachingExtractorConfigArgs(config) { const result = []; for (const language of config.languages) @@ -95,9 +100,11 @@ async function downloadTrapCaches(codeql, languages, logger) { // The SHA from the base of the PR is the most similar commit we might have a cache for const preferredKey = await cacheKey(codeql, language, baseSha); logger.info(`Looking in Actions cache for TRAP cache with key ${preferredKey}`); - const found = await cache.restoreCache([cacheDir], preferredKey, [ + const found = await (0, util_1.withTimeout)(MAX_CACHE_OPERATION_MS, cache.restoreCache([cacheDir], preferredKey, [ await cachePrefix(codeql, language), // Fall back to any cache with the right key prefix - ]); + ]), () => { + logger.info(`Timed out waiting for TRAP cache download for ${language}, will continue without it`); + }); if (found === undefined) { // We didn't find a TRAP cache in the Actions cache, so the directory on disk is // still just an empty directory. There's no reason to tell the extractor to use it, @@ -119,7 +126,6 @@ exports.downloadTrapCaches = downloadTrapCaches; async function uploadTrapCaches(codeql, config, logger) { if (!(await actionsUtil.isAnalyzingDefaultBranch())) return false; // Only upload caches from the default branch - const toAwait = []; for (const language of config.languages) { const cacheDir = config.trapCaches[language]; if (cacheDir === undefined) @@ -135,9 +141,10 @@ async function uploadTrapCaches(codeql, config, logger) { } const key = await cacheKey(codeql, language, process.env.GITHUB_SHA || "unknown"); logger.info(`Uploading TRAP cache to Actions cache with key ${key}`); - toAwait.push(cache.saveCache([cacheDir], key)); + await (0, util_1.withTimeout)(MAX_CACHE_OPERATION_MS, cache.saveCache([cacheDir], key), () => { + logger.info(`Timed out waiting for TRAP cache for ${language} to upload, will continue without uploading`); + }); } - await Promise.all(toAwait); return true; } exports.uploadTrapCaches = uploadTrapCaches; diff --git a/lib/trap-caching.js.map b/lib/trap-caching.js.map index 63a7394e72..7f4dad635a 100644 --- a/lib/trap-caching.js.map +++ b/lib/trap-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"trap-caching.js","sourceRoot":"","sources":["../src/trap-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,sDAAwC;AAExC,4DAA8C;AAC9C,qCAA2E;AAI3E,iCAA+D;AAE/D,8DAA8D;AAC9D,+DAA+D;AAC/D,6DAA6D;AAC7D,6DAA6D;AAC7D,2BAA2B;AAC3B,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,+DAA+D;AAC/D,MAAM,aAAa,GAAG,IAAI,CAAC;AAE3B,6DAA6D;AAC7D,+CAA+C;AAC/C,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE/B,KAAK,UAAU,iCAAiC,CACrD,MAAc;IAEd,MAAM,MAAM,GAAe,EAAE,CAAC;IAC9B,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,SAAS;QACrC,MAAM,CAAC,IAAI,CACT,MAAM,wCAAwC,CAAC,MAAM,EAAE,QAAQ,CAAC,CACjE,CAAC;IACJ,OAAO,MAAM,CAAC,IAAI,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AC,EAAE;YACnD,IAAI,CAAC,CAAC,WAAW,IAAI,gBAAgB,CAAC,EAAE;gBACtC,MAAM,CAAC,IAAI,CACT,GAAG,IAAI,2CAA2C,WAAW,UAAU,CACxE,CAAC;gBACF,SAAS,KAAK,CAAC;aAChB;SACF;QACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACnB;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AA7CD,sEA6CC;AAEM,KAAK,UAAU,iBAAiB,CACrC,UAA6C,EAC7C,MAAc;IAEd,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,GAAG,CAC7B,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CACzC,IAAA,wBAAiB,EAAC,QAAQ,EAAE,MAAM,CAAC,CACpC,CACF,CAAC;IACF,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;AAC7D,CAAC;AAVD,8CAUC;AAED,KAAK,UAAU,QAAQ,CACrB,MAAc,EACd,QAAkB,EAClB,OAAe;IAEf,OAAO,GAAG,MAAM,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,OAAO,EAAE,CAAC;AAC5D,CAAC;AAED,KAAK,UAAU,WAAW,CACxB,MAAc,EACd,QAAkB;IAElB,OAAO,eAAe,aAAa,IAAI,MAAM,MAAM,CAAC,UAAU,EAAE,IAAI,QAAQ,GAAG,CAAC;AAClF,CAAC"} \ No newline at end of file diff --git a/lib/util.js b/lib/util.js index 6ba7d73e4b..a3c02c8419 100644 --- a/lib/util.js +++ b/lib/util.js @@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.tryGetFolderBytes = exports.isGoExtractionReconciliationEnabled = exports.listFolder = exports.doesDirectoryExist = exports.useCodeScanningConfigInCli = exports.isInTestMode = exports.checkActionVersion = exports.getMlPoweredJsQueriesStatus = exports.getMlPoweredJsQueriesPack = exports.ML_POWERED_JS_QUERIES_PACK_NAME = exports.isGoodVersion = exports.delay = exports.bundleDb = exports.codeQlVersionAbove = exports.getCachedCodeQlVersion = exports.cacheCodeQlVersion = exports.isGitHubGhesVersionBelow = exports.isHTTPError = exports.UserError = exports.HTTPError = exports.getRequiredEnvParam = exports.isActions = exports.getMode = exports.enrichEnvironment = exports.initializeEnvironment = exports.EnvVar = exports.Mode = exports.assertNever = exports.getGitHubAuth = exports.apiVersionInRange = exports.DisallowedAPIVersionReason = exports.checkGitHubVersionInRange = exports.getGitHubVersion = exports.GitHubVariant = exports.parseGitHubUrl = exports.getCodeQLDatabasePath = exports.getThreadsFlag = exports.getThreadsFlagValue = exports.getAddSnippetsFlag = exports.getMemoryFlag = exports.getMemoryFlagValue = exports.withTmpDir = exports.getToolNames = exports.getExtraOptionsEnvParam = exports.DID_AUTOBUILD_GO_ENV_VAR_NAME = exports.DEFAULT_DEBUG_DATABASE_NAME = exports.DEFAULT_DEBUG_ARTIFACT_NAME = exports.GITHUB_DOTCOM_URL = void 0; +exports.withTimeout = exports.tryGetFolderBytes = exports.isGoExtractionReconciliationEnabled = exports.listFolder = exports.doesDirectoryExist = exports.logCodeScanningConfigInCli = exports.useCodeScanningConfigInCli = exports.isInTestMode = exports.checkActionVersion = exports.getMlPoweredJsQueriesStatus = exports.getMlPoweredJsQueriesPack = exports.ML_POWERED_JS_QUERIES_PACK_NAME = exports.isGoodVersion = exports.delay = exports.bundleDb = exports.codeQlVersionAbove = exports.getCachedCodeQlVersion = exports.cacheCodeQlVersion = exports.isGitHubGhesVersionBelow = exports.isHTTPError = exports.UserError = exports.HTTPError = exports.getRequiredEnvParam = exports.isActions = exports.getMode = exports.enrichEnvironment = exports.initializeEnvironment = exports.EnvVar = exports.Mode = exports.assertNever = exports.getGitHubAuth = exports.apiVersionInRange = exports.DisallowedAPIVersionReason = exports.checkGitHubVersionInRange = exports.getGitHubVersion = exports.GitHubVariant = exports.parseGitHubUrl = exports.getCodeQLDatabasePath = exports.getThreadsFlag = exports.getThreadsFlagValue = exports.getAddSnippetsFlag = exports.getMemoryFlag = exports.getMemoryFlagValue = exports.withTmpDir = exports.getToolNames = exports.getExtraOptionsEnvParam = exports.DID_AUTOBUILD_GO_ENV_VAR_NAME = exports.DEFAULT_DEBUG_DATABASE_NAME = exports.DEFAULT_DEBUG_ARTIFACT_NAME = exports.GITHUB_DOTCOM_URL = void 0; const fs = __importStar(require("fs")); const os = __importStar(require("os")); const path = __importStar(require("path")); @@ -679,6 +679,15 @@ async function useCodeScanningConfigInCli(codeql, featureFlags) { return await codeQlVersionAbove(codeql, codeql_1.CODEQL_VERSION_CONFIG_FILES); } exports.useCodeScanningConfigInCli = useCodeScanningConfigInCli; +async function logCodeScanningConfigInCli(codeql, featureFlags, logger) { + if (await useCodeScanningConfigInCli(codeql, featureFlags)) { + logger.info("Code Scanning configuration file being processed in the codeql CLI."); + } + else { + logger.info("Code Scanning configuration file being processed in the codeql-action."); + } +} +exports.logCodeScanningConfigInCli = logCodeScanningConfigInCli; /* * Returns whether the path in the argument represents an existing directory. */ @@ -735,4 +744,23 @@ async function tryGetFolderBytes(cacheDir, logger) { } } exports.tryGetFolderBytes = tryGetFolderBytes; +/** + * Run a promise for a given amount of time, and if it doesn't resolve within + * that time, call the provided callback and then return undefined. + * + * @param timeoutMs The timeout in milliseconds. + * @param promise The promise to run. + * @param onTimeout A callback to call if the promise times out. + * @returns The result of the promise, or undefined if the promise times out. + */ +async function withTimeout(timeoutMs, promise, onTimeout) { + const timeout = new Promise((resolve) => { + setTimeout(() => { + onTimeout(); + resolve(undefined); + }, timeoutMs); + }); + return await Promise.race([promise, timeout]); +} +exports.withTimeout = withTimeout; //# sourceMappingURL=util.js.map \ No newline at end of file diff --git a/lib/util.js.map b/lib/util.js.map index ae5a62f536..a43eee300f 100644 --- a/lib/util.js.map +++ b/lib/util.js.map @@ -1 +1 @@ -{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAE7B,+BAAiC;AAEjC,oDAAsC;AACtC,8CAAsB;AACtB,sEAA4C;AAC5C,+CAAiC;AAEjC,kDAAoC;AACpC,6CAA8D;AAC9D,2EAA6D;AAC7D,qCAIkB;AAClB,iDAIwB;AACxB,mDAA4D;AAI5D;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAE3C;;GAEG;AACU,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD;;GAEG;AACU,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAE7D;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAEhD;;;GAGG;AACU,QAAA,6BAA6B,GACxC,oCAAoC,CAAC;AAkCvC;;GAEG;AACH,SAAgB,uBAAuB;IACrC,MAAM,OAAO,GAAG,6BAA6B,CAAC;IAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;QACzC,OAAO,EAAE,CAAC;KACX;IACD,IAAI;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;KACxB;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,OAAO,GAAG,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3D,MAAM,IAAI,KAAK,CACb,GAAG,OAAO,kEAAkE,OAAO,EAAE,CACtF,CA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AC;IAChB,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAChD,CAAC;AAbD,kCAaC"} \ No newline at end of file diff --git a/lib/util.test.js b/lib/util.test.js index 3413f4dd2e..a436265112 100644 --- a/lib/util.test.js +++ b/lib/util.test.js @@ -396,4 +396,32 @@ function mockVersion(version) { }, }; } +const longTime = 999999; +const shortTime = 10; +(0, ava_1.default)("withTimeout on long task", async (t) => { + let longTaskTimedOut = false; + const longTask = new Promise((resolve) => { + setTimeout(() => { + resolve(42); + }, longTime); + }); + const result = await util.withTimeout(shortTime, longTask, () => { + longTaskTimedOut = true; + }); + t.deepEqual(longTaskTimedOut, true); + t.deepEqual(result, undefined); +}); +(0, ava_1.default)("withTimeout on short task", async (t) => { + let shortTaskTimedOut = false; + const shortTask = new Promise((resolve) => { + setTimeout(() => { + resolve(99); + }, shortTime); + }); + const result = await util.withTimeout(longTime, shortTask, () => { + shortTaskTimedOut = true; + }); + t.deepEqual(shortTaskTimedOut, false); + t.deepEqual(result, 99); +}); //# sourceMappingURL=util.test.js.map \ No newline at end of file diff --git a/lib/util.test.js.map b/lib/util.test.js.map index 0bf795ef5a..7d6b34d83e 100644 --- a/lib/util.test.js.map +++ b/lib/util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,gDAAwB;AACxB,+CAAiC;AAEjC,oDAAsC;AACtC,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AAGpC,mDAAkE;AAClE,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE;IACz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CACvB,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;CACJ;AAED,KAAK,MAAM,GAAG,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE;IAC7C,IAAA,aAAI,EAAC,2CAA2C,GAAG,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QACjE,wCAAwC;QACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,GAAG,CAAC;QACzD,CAAC,CAAC,MAAM,CACN,CAAC,CAAC,MAAM,IAAI,CAAC,0BAA0B,CACrC,WAAW,CAAC,QAAQ,CAAC,EACrB,IAAA,kCAAkB,EAAC,EAAE,CAAC,CACvB,CAAC,CACH,CAAC;QAEF,CAAC,CAAC,MAAM,CACN,CAAC,CAAC,MAAM,IAAI,CAAC,0BAA0B,CACrC,WAAW,CAAC,QAAQ,CAAC,EACrB,IAAA,kCAAkB,EAAC,CAAC,2BAAW,CAAC,oBAAoB,CAAC,CAAC,CACvD,CAAC,CACH,CAAC;QAEF,CAAC,CAAC,MAAM,CACN,CAAC,CAAC,MAAM,IAAI,CAAC,0BAA0B,CACrC,WAAW,CAAC,QAAQ,CAAC,EACrB,IAAA,kCAAkB,EAAC,CAAC,2BAAW,CAAC,oBAAoB,CAAC,CAAC,CACvD,CAAC,CACH,CAAC;QAEF,CAAC,CAAC,MAAM,CACN,CAAC,CAAC,MAAM,IAAI,CAAC,0BAA0B,CACrC,WAAW,CAAC,QAAQ,CAAC,EACrB,IAAA,kCAAkB,EAAC,EAAE,CAAC,CACvB,CAAC,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;CACJ;AAED,SAAS,WAAW,CAAC,OAAO;IAC1B,OAAO;QACL,KAAK,CAAC,UAAU;YACd,OAAO,OAAO,CAAC;QACjB,CAAC;KACQ,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;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AAM,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE;QAC9D,iBAAiB,GAAG,IAAI,CAAC;IAC3B,CAAC,CAAC,CAAC;IACH,CAAC,CAAC,SAAS,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAC1B,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index cfb2b878b1..b2764985e8 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.1.26", + "version": "2.1.27", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index 540fd52b18..d8b156891e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "2.1.26", + "version": "2.1.27", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "codeql", - "version": "2.1.26", + "version": "2.1.27", "license": "MIT", "dependencies": { "@actions/artifact": "^1.0.0", diff --git a/package.json b/package.json index 9e748eae1f..faa25a38ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.1.26", + "version": "2.1.27", "private": true, "description": "CodeQL action", "scripts": { diff --git a/src/analyze.ts b/src/analyze.ts index efea4e03f8..34795c8e0a 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -239,6 +239,9 @@ export async function runQueries( } const codeql = await getCodeQL(config.codeQLCmd); + + await util.logCodeScanningConfigInCli(codeql, featureFlags, logger); + for (const language of config.languages) { const queries = config.queries[language]; const queryFilters = validateQueryFilters( diff --git a/src/api-compatibility.json b/src/api-compatibility.json index cb77fa450d..3143f0a15b 100644 --- a/src/api-compatibility.json +++ b/src/api-compatibility.json @@ -1 +1 @@ -{"maximumVersion": "3.7", "minimumVersion": "3.3"} +{"maximumVersion": "3.7", "minimumVersion": "3.2"} diff --git a/src/codeql.test.ts b/src/codeql.test.ts index af5b895767..6596098cbb 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -81,7 +81,7 @@ async function mockApiAndSetupCodeQL({ tmpDir: string; toolsInput?: { input?: string }; version: string; -}) { +}): Promise<{ codeql: codeql.CodeQL; toolsVersion: string }> { const platform = process.platform === "win32" ? "win64" @@ -104,7 +104,7 @@ async function mockApiAndSetupCodeQL({ ) ); - await codeql.setupCodeQL( + return await codeql.setupCodeQL( toolsInput ? toolsInput.input : `${baseUrl}${relativeUrl}`, apiDetails ?? sampleApiDetails, tmpDir, @@ -124,8 +124,9 @@ test("download codeql bundle cache", async (t) => { for (let i = 0; i < versions.length; i++) { const version = versions[i]; - await mockApiAndSetupCodeQL({ version, tmpDir }); + const codeQLConfig = await mockApiAndSetupCodeQL({ version, tmpDir }); t.assert(toolcache.find("CodeQL", `0.0.0-${version}`)); + t.deepEqual(codeQLConfig.toolsVersion, version); } t.is(toolcache.findAllVersions("CodeQL").length, 2); @@ -136,15 +137,20 @@ test("download codeql bundle cache explicitly requested with pinned different ve await util.withTmpDir(async (tmpDir) => { setupActionsVars(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ + const pinnedCodeQLConfig = await mockApiAndSetupCodeQL({ version: "20200601", isPinned: true, tmpDir, }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); + t.deepEqual(pinnedCodeQLConfig.toolsVersion, "20200601"); - await mockApiAndSetupCodeQL({ version: "20200610", tmpDir }); + const unpinnedCodeQLConfig = await mockApiAndSetupCodeQL({ + version: "20200610", + tmpDir, + }); t.assert(toolcache.find("CodeQL", "0.0.0-20200610")); + t.deepEqual(unpinnedCodeQLConfig.toolsVersion, "20200610"); }); }); @@ -152,15 +158,16 @@ test("don't download codeql bundle cache with pinned different version cached", await util.withTmpDir(async (tmpDir) => { setupActionsVars(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ + const pinnedCodeQLConfig = await mockApiAndSetupCodeQL({ version: "20200601", isPinned: true, tmpDir, }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); + t.deepEqual(pinnedCodeQLConfig.toolsVersion, "20200601"); - await codeql.setupCodeQL( + const codeQLConfig = await codeql.setupCodeQL( undefined, sampleApiDetails, tmpDir, @@ -169,6 +176,7 @@ test("don't download codeql bundle cache with pinned different version cached", getRunnerLogger(true), false ); + t.deepEqual(codeQLConfig.toolsVersion, "0.0.0-20200601"); const cachedVersions = toolcache.findAllVersions("CodeQL"); @@ -180,16 +188,24 @@ test("download codeql bundle cache with different version cached (not pinned)", await util.withTmpDir(async (tmpDir) => { setupActionsVars(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ version: "20200601", tmpDir }); + const cachedCodeQLConfig = await mockApiAndSetupCodeQL({ + version: "20200601", + tmpDir, + }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); + t.deepEqual(cachedCodeQLConfig.toolsVersion, "20200601"); - await mockApiAndSetupCodeQL({ + const codeQLConfig = await mockApiAndSetupCodeQL({ version: defaults.bundleVersion, tmpDir, apiDetails: sampleApiDetails, toolsInput: { input: undefined }, }); + t.deepEqual( + codeQLConfig.toolsVersion, + defaults.bundleVersion.replace("codeql-bundle-", "") + ); const cachedVersions = toolcache.findAllVersions("CodeQL"); @@ -201,20 +217,25 @@ test('download codeql bundle cache with pinned different version cached if "late await util.withTmpDir(async (tmpDir) => { setupActionsVars(tmpDir, tmpDir); - await mockApiAndSetupCodeQL({ + const pinnedCodeQLConfig = await mockApiAndSetupCodeQL({ version: "20200601", isPinned: true, tmpDir, }); t.assert(toolcache.find("CodeQL", "0.0.0-20200601")); + t.deepEqual(pinnedCodeQLConfig.toolsVersion, "20200601"); - await mockApiAndSetupCodeQL({ + const latestCodeQLConfig = await mockApiAndSetupCodeQL({ version: defaults.bundleVersion, apiDetails: sampleApiDetails, toolsInput: { input: "latest" }, tmpDir, }); + t.deepEqual( + latestCodeQLConfig.toolsVersion, + defaults.bundleVersion.replace("codeql-bundle-", "") + ); const cachedVersions = toolcache.findAllVersions("CodeQL"); diff --git a/src/codeql.ts b/src/codeql.ts index 74a24749da..85127beba9 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -421,7 +421,7 @@ async function getCodeQLBundleDownloadURL( * @param logger * @param checkVersion Whether to check that CodeQL CLI meets the minimum * version requirement. Must be set to true outside tests. - * @returns + * @returns a { CodeQL, toolsVersion } object. */ export async function setupCodeQL( codeqlURL: string | undefined, @@ -479,6 +479,7 @@ export async function setupCodeQL( `CodeQL in cache overriding the default ${CODEQL_BUNDLE_VERSION}` ); codeqlFolder = tmpCodeqlFolder; + codeqlURLVersion = codeqlVersions[0]; } } } diff --git a/src/config-utils.ts b/src/config-utils.ts index b096e32162..6d866f6669 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -24,6 +24,7 @@ import { codeQlVersionAbove, getMlPoweredJsQueriesPack, GitHubVersion, + logCodeScanningConfigInCli, ML_POWERED_JS_QUERIES_PACK_NAME, useCodeScanningConfigInCli, } from "./util"; @@ -1704,6 +1705,8 @@ export async function initConfig( // When using the codescanning config in the CLI, pack downloads // happen in the CLI during the `database init` command, so no need // to download them here. + await logCodeScanningConfigInCli(codeQL, featureFlags, logger); + if (!(await useCodeScanningConfigInCli(codeQL, featureFlags))) { const registries = parseRegistries(registriesInput); await downloadPacks( diff --git a/src/init.ts b/src/init.ts index ff8bdc615e..26895843f4 100644 --- a/src/init.ts +++ b/src/init.ts @@ -117,24 +117,7 @@ export async function runInit( } } } catch (e) { - // Handle the situation where init is called twice - // for the same database in the same job. - if ( - e instanceof Error && - e.message?.includes("Refusing to create databases") && - e.message.includes("exists and is not an empty directory.") - ) { - throw new util.UserError( - `Is the "init" action called twice in the same job? ${e.message}` - ); - } else if ( - e instanceof Error && - e.message?.includes("is not compatible with this CodeQL CLI") - ) { - throw new util.UserError(e.message); - } else { - throw e; - } + throw processError(e); } return await getCombinedTracerConfig( config, @@ -144,6 +127,42 @@ export async function runInit( ); } +/** + * Possibly convert this error into a UserError in order to avoid + * counting this error towards our internal error budget. + * + * @param e The error to possibly convert to a UserError. + * + * @returns A UserError if the error is a known error that can be + * attributed to the user, otherwise the original error. + */ +function processError(e: any): Error { + if (!(e instanceof Error)) { + return e; + } + + if ( + // Init action called twice + e.message?.includes("Refusing to create databases") && + e.message?.includes("exists and is not an empty directory.") + ) { + return new util.UserError( + `Is the "init" action called twice in the same job? ${e.message}` + ); + } + + if ( + // Version of CodeQL CLI is incompatible with this version of the CodeQL Action + e.message?.includes("is not compatible with this CodeQL CLI") || + // Expected source location for database creation does not exist + e.message?.includes("Invalid source root") + ) { + return new util.UserError(e.message); + } + + return e; +} + // Runs a powershell script to inject the tracer into a parent process // so it can tracer future processes, hopefully including the build process. // If processName is given then injects into the nearest parent process with diff --git a/src/trap-caching.ts b/src/trap-caching.ts index f714cf75c7..4b0d95ab02 100644 --- a/src/trap-caching.ts +++ b/src/trap-caching.ts @@ -8,7 +8,7 @@ import { CodeQL, CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES } from "./codeql"; import { Config } from "./config-utils"; import { Language } from "./languages"; import { Logger } from "./logging"; -import { codeQlVersionAbove, tryGetFolderBytes } from "./util"; +import { codeQlVersionAbove, tryGetFolderBytes, withTimeout } from "./util"; // This constant should be bumped if we make a breaking change // to how the CodeQL Action stores or retrieves the TRAP cache, @@ -24,6 +24,12 @@ const CACHE_SIZE_MB = 1024; // cache for us to consider it worth uploading. const MINIMUM_CACHE_MB_TO_UPLOAD = 10; +// The maximum number of milliseconds to wait for TRAP cache +// uploads or downloads to complete before continuing. Note +// this timeout is per operation, so will be run as many +// times as there are languages with TRAP caching enabled. +const MAX_CACHE_OPERATION_MS = 120_000; // Two minutes + export async function getTrapCachingExtractorConfigArgs( config: Config ): Promise { @@ -107,9 +113,17 @@ export async function downloadTrapCaches( logger.info( `Looking in Actions cache for TRAP cache with key ${preferredKey}` ); - const found = await cache.restoreCache([cacheDir], preferredKey, [ - await cachePrefix(codeql, language), // Fall back to any cache with the right key prefix - ]); + const found = await withTimeout( + MAX_CACHE_OPERATION_MS, + cache.restoreCache([cacheDir], preferredKey, [ + await cachePrefix(codeql, language), // Fall back to any cache with the right key prefix + ]), + () => { + logger.info( + `Timed out waiting for TRAP cache download for ${language}, will continue without it` + ); + } + ); if (found === undefined) { // We didn't find a TRAP cache in the Actions cache, so the directory on disk is // still just an empty directory. There's no reason to tell the extractor to use it, @@ -136,7 +150,6 @@ export async function uploadTrapCaches( ): Promise { if (!(await actionsUtil.isAnalyzingDefaultBranch())) return false; // Only upload caches from the default branch - const toAwait: Array> = []; for (const language of config.languages) { const cacheDir = config.trapCaches[language]; if (cacheDir === undefined) continue; @@ -159,9 +172,16 @@ export async function uploadTrapCaches( process.env.GITHUB_SHA || "unknown" ); logger.info(`Uploading TRAP cache to Actions cache with key ${key}`); - toAwait.push(cache.saveCache([cacheDir], key)); + await withTimeout( + MAX_CACHE_OPERATION_MS, + cache.saveCache([cacheDir], key), + () => { + logger.info( + `Timed out waiting for TRAP cache for ${language} to upload, will continue without uploading` + ); + } + ); } - await Promise.all(toAwait); return true; } diff --git a/src/util.test.ts b/src/util.test.ts index c72b9e130f..fe294d6194 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -601,3 +601,34 @@ function mockVersion(version) { }, } as CodeQL; } + +const longTime = 999_999; +const shortTime = 10; + +test("withTimeout on long task", async (t) => { + let longTaskTimedOut = false; + const longTask = new Promise((resolve) => { + setTimeout(() => { + resolve(42); + }, longTime); + }); + const result = await util.withTimeout(shortTime, longTask, () => { + longTaskTimedOut = true; + }); + t.deepEqual(longTaskTimedOut, true); + t.deepEqual(result, undefined); +}); + +test("withTimeout on short task", async (t) => { + let shortTaskTimedOut = false; + const shortTask = new Promise((resolve) => { + setTimeout(() => { + resolve(99); + }, shortTime); + }); + const result = await util.withTimeout(longTime, shortTask, () => { + shortTaskTimedOut = true; + }); + t.deepEqual(shortTaskTimedOut, false); + t.deepEqual(result, 99); +}); diff --git a/src/util.ts b/src/util.ts index 48838cbe94..8065119a7b 100644 --- a/src/util.ts +++ b/src/util.ts @@ -817,6 +817,22 @@ export async function useCodeScanningConfigInCli( return await codeQlVersionAbove(codeql, CODEQL_VERSION_CONFIG_FILES); } +export async function logCodeScanningConfigInCli( + codeql: CodeQL, + featureFlags: FeatureFlags, + logger: Logger +) { + if (await useCodeScanningConfigInCli(codeql, featureFlags)) { + logger.info( + "Code Scanning configuration file being processed in the codeql CLI." + ); + } else { + logger.info( + "Code Scanning configuration file being processed in the codeql-action." + ); + } +} + /* * Returns whether the path in the argument represents an existing directory. */ @@ -878,3 +894,27 @@ export async function tryGetFolderBytes( return undefined; } } + +/** + * Run a promise for a given amount of time, and if it doesn't resolve within + * that time, call the provided callback and then return undefined. + * + * @param timeoutMs The timeout in milliseconds. + * @param promise The promise to run. + * @param onTimeout A callback to call if the promise times out. + * @returns The result of the promise, or undefined if the promise times out. + */ +export async function withTimeout( + timeoutMs: number, + promise: Promise, + onTimeout: () => void +): Promise { + const timeout: Promise = new Promise((resolve) => { + setTimeout(() => { + onTimeout(); + resolve(undefined); + }, timeoutMs); + }); + + return await Promise.race([promise, timeout]); +} diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml index d0376a1b28..91a8dce370 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml @@ -3,8 +3,10 @@ name: "Check SARIF for default queries with Single include, Single exclude" query-filters: # This should run js/path-injection and js/zipslip - include: - tags contain: external/cwe/cwe-022 + tags contain: + - external/cwe/cwe-022 # Removes js/path-injection - exclude: - id: js/path-injection + id: + - js/path-injection diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml index 8f9321c860..b4d258a99a 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml @@ -10,12 +10,15 @@ packs: query-filters: # This should run js/path-injection and js/zipslip - include: - tags contain: external/cwe/cwe-022 + tags contain: + - external/cwe/cwe-022 # Removes js/path-injection - exclude: - id: js/path-injection + id: + - js/path-injection # Query from extra pack - include: - id: javascript/example/empty-or-one-block + id: + - javascript/example/empty-or-one-block diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml index e3ec3b32d6..2f00b2832e 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml @@ -20,16 +20,20 @@ packs: query-filters: # This should run js/path-injection and js/zipslip - include: - tags contain: external/cwe/cwe-022 + tags contain: + - external/cwe/cwe-022 # Removes js/path-injection - exclude: - id: js/path-injection + id: + - js/path-injection # Query from extra pack - include: - id: javascript/example/empty-or-one-block + id: + - javascript/example/empty-or-one-block # Local query - include: - id: inrepo-javascript-querypack/show-ifs + id: + - inrepo-javascript-querypack/show-ifs From 4c1ccc4a5e98ce02155843e6f5c112ce81c87f53 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 17 Oct 2022 08:38:17 -0700 Subject: [PATCH 2/2] Fix CHANGELOG --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdcfe0ab91..d779612b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ # CodeQL Action Changelog ## 2.1.27 - 06 Oct 2022 -## [UNRELEASED] - We are rolling out a feature of the CodeQL Action in October 2022 that changes the way that Go code is analyzed to be more consistent with other compiled languages like C/C++, C#, and Java. You do not need to alter your code scanning workflows. If you encounter any problems, please [file an issue](https://github.com/github/codeql-action/issues) or open a private ticket with GitHub Support and request an escalation to engineering.