From 2bfc468cd8e759bdcdae507b8c4221b07abd2e15 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 21 Oct 2024 10:17:19 -0700 Subject: [PATCH 1/6] Add decodeGitFilePath() --- src/actions-util.test.ts | 38 +++++++++++++++++++++++++++++++ src/actions-util.ts | 48 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/src/actions-util.test.ts b/src/actions-util.test.ts index 6caec4f306..fb1a1842de 100644 --- a/src/actions-util.test.ts +++ b/src/actions-util.test.ts @@ -324,3 +324,41 @@ test("determineBaseBranchHeadCommitOid other error", async (t) => { infoStub.restore(); }); + +test("decodeGitFilePath unquoted strings", async (t) => { + t.deepEqual(actionsUtil.decodeGitFilePath("foo"), "foo"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo bar"), "foo bar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\\\bar"), "foo\\\\bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('foo\\"bar'), 'foo\\"bar'); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\001bar"), "foo\\001bar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\abar"), "foo\\abar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\bbar"), "foo\\bbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\fbar"), "foo\\fbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\nbar"), "foo\\nbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\rbar"), "foo\\rbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\tbar"), "foo\\tbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\vbar"), "foo\\vbar"); + t.deepEqual( + actionsUtil.decodeGitFilePath("\\a\\b\\f\\n\\r\\t\\v"), + "\\a\\b\\f\\n\\r\\t\\v", + ); +}); + +test("decodeGitFilePath quoted strings", async (t) => { + t.deepEqual(actionsUtil.decodeGitFilePath('"foo"'), "foo"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo bar"'), "foo bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\\\bar"'), "foo\\bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\"bar"'), 'foo"bar'); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\001bar"'), "foo\x01bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\abar"'), "foo\x07bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\bbar"'), "foo\bbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\fbar"'), "foo\fbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\nbar"'), "foo\nbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\rbar"'), "foo\rbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\tbar"'), "foo\tbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\vbar"'), "foo\vbar"); + t.deepEqual( + actionsUtil.decodeGitFilePath('"\\a\\b\\f\\n\\r\\t\\v"'), + "\x07\b\f\n\r\t\v", + ); +}); diff --git a/src/actions-util.ts b/src/actions-util.ts index 8d4453428c..8f39e331b2 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -161,6 +161,54 @@ export const determineBaseBranchHeadCommitOid = async function ( } }; +/** + * Decode, if necessary, a file path produced by Git. See + * https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath + * for details on how Git encodes file paths with special characters. + * + * This function works only for Git output with `core.quotePath=false`. + */ +export const decodeGitFilePath = function (filePath: string): string { + if (filePath.startsWith('"') && filePath.endsWith('"')) { + filePath = filePath.substring(1, filePath.length - 1); + return filePath.replace( + /\\([abfnrtv\\"]|[0-7]{1,3})/g, + (_match, seq: string) => { + switch (seq[0]) { + case "a": + return "\x07"; + case "b": + return "\b"; + case "f": + return "\f"; + case "n": + return "\n"; + case "r": + return "\r"; + case "t": + return "\t"; + case "v": + return "\v"; + case "\\": + return "\\"; + case '"': + return '"'; + default: + // Both String.fromCharCode() and String.fromCodePoint() works only + // for constructing an entire character at once. If a Unicode + // character is encoded as a sequence of escaped bytes, calling these + // methods sequentially on the individual byte values would *not* + // produce the original multi-byte Unicode character. As a result, + // this implementation works only with the Git option core.quotePath + // set to false. + return String.fromCharCode(parseInt(seq, 8)); + } + }, + ); + } + return filePath; +}; + /** * Get the ref currently being analyzed. */ From 5e475b76597f4c63acd184efab89bee784af786c Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 21 Oct 2024 10:13:30 -0700 Subject: [PATCH 2/6] Add debug logging to runGitCommand() --- src/actions-util.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions-util.ts b/src/actions-util.ts index 8f39e331b2..db7358320a 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -56,6 +56,7 @@ async function runGitCommand( ): Promise { let stdout = ""; let stderr = ""; + core.debug(`Running git command: git ${args.join(" ")}`); try { await new toolrunner.ToolRunner(await safeWhich.safeWhich("git"), args, { silent: true, From db539989ffe5cf9908adc19f8a7ce7f4d7a539e6 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Wed, 23 Oct 2024 14:32:34 -0700 Subject: [PATCH 3/6] Add Git helper functions --- src/actions-util.ts | 105 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/src/actions-util.ts b/src/actions-util.ts index db7358320a..05fd938e63 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -162,6 +162,111 @@ export const determineBaseBranchHeadCommitOid = async function ( } }; +/** + * Deepen the git history of the given ref by one level. Errors are logged. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + */ +export const deepenGitHistory = async function () { + try { + await runGitCommand( + getOptionalInput("checkout_path"), + ["fetch", "--no-tags", "--deepen=1"], + "Cannot deepen the shallow repository.", + ); + } catch { + // Errors are already logged by runGitCommand() + } +}; + +/** + * Fetch the given remote branch. Errors are logged. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + */ +export const gitFetch = async function (branch: string, extraFlags: string[]) { + try { + await runGitCommand( + getOptionalInput("checkout_path"), + ["fetch", "--no-tags", ...extraFlags, "origin", `${branch}:${branch}`], + `Cannot fetch ${branch}.`, + ); + } catch { + // Errors are already logged by runGitCommand() + } +}; + +/** + * Compute the all merge bases between the given refs. Returns an empty array + * if no merge base is found, or if there is an error. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + */ +export const getAllGitMergeBases = async function ( + refs: string[], +): Promise { + try { + const stdout = await runGitCommand( + getOptionalInput("checkout_path"), + ["merge-base", "--all", ...refs], + `Cannot get merge base of ${refs}.`, + ); + return stdout.trim().split("\n"); + } catch { + return []; + } +}; + +/** + * Compute the diff hunk headers between the two given refs. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + * + * @returns an array of diff hunk headers (one element per line), or undefined + * if the action was not triggered by a pull request, or if the diff could not + * be determined. + */ +export const getGitDiffHunkHeaders = async function ( + fromRef: string, + toRef: string, +): Promise { + let stdout = ""; + try { + stdout = await runGitCommand( + getOptionalInput("checkout_path"), + [ + "-c", + "core.quotePath=false", + "diff", + "--no-renames", + "--irreversible-delete", + "-U0", + fromRef, + toRef, + ], + `Cannot get diff from ${fromRef} to ${toRef}.`, + ); + } catch { + return undefined; + } + + const headers: string[] = []; + for (const line of stdout.split("\n")) { + if ( + line.startsWith("--- ") || + line.startsWith("+++ ") || + line.startsWith("@@ ") + ) { + headers.push(line); + } + } + return headers; +}; + /** * Decode, if necessary, a file path produced by Git. See * https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath From b311eee555ba8a17a7c6b3c205a704339379fddb Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 21 Oct 2024 10:30:56 -0700 Subject: [PATCH 4/6] Add sarifRunPropertyFlag to databaseInterpretResults() --- src/analyze.ts | 3 +++ src/codeql.test.ts | 1 + src/codeql.ts | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/src/analyze.ts b/src/analyze.ts index 1c9eba39e1..1a43f51075 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -247,6 +247,8 @@ export async function runQueries( ): Promise { const statusReport: QueriesStatusReport = {}; + const sarifRunPropertyFlag = undefined; + const codeql = await getCodeQL(config.codeQLCmd); const queryFlags = [memoryFlag, threadsFlag]; @@ -336,6 +338,7 @@ export async function runQueries( addSnippetsFlag, threadsFlag, enableDebugLogging ? "-vv" : "-v", + sarifRunPropertyFlag, automationDetailsId, config, features, diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 7f6d49f429..3642ef2297 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -839,6 +839,7 @@ for (const { "", "", "-v", + undefined, "", Object.assign({}, stubConfig, { gitHubVersion: githubVersion }), createFeatures([]), diff --git a/src/codeql.ts b/src/codeql.ts index 7d1317d861..1bd8125936 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -166,6 +166,7 @@ export interface CodeQL { addSnippetsFlag: string, threadsFlag: string, verbosityFlag: string | undefined, + sarifRunPropertyFlag: string | undefined, automationDetailsId: string | undefined, config: Config, features: FeatureEnablement, @@ -834,6 +835,7 @@ export async function getCodeQLForCmd( addSnippetsFlag: string, threadsFlag: string, verbosityFlag: string, + sarifRunPropertyFlag: string | undefined, automationDetailsId: string | undefined, config: Config, features: FeatureEnablement, @@ -861,6 +863,9 @@ export async function getCodeQLForCmd( ...(await getJobRunUuidSarifOptions(this)), ...getExtraOptionsFromEnv(["database", "interpret-results"]), ]; + if (sarifRunPropertyFlag !== undefined) { + codeqlArgs.push(sarifRunPropertyFlag); + } if (automationDetailsId !== undefined) { codeqlArgs.push("--sarif-category", automationDetailsId); } From f7935cc485b7b9da6aeeb675366f4496e2a22abf Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Tue, 29 Oct 2024 07:01:19 -0700 Subject: [PATCH 5/6] Diff-informed PR analysis --- src/analyze-action.ts | 14 +++ src/analyze.test.ts | 1 + src/analyze.ts | 227 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 239 insertions(+), 3 deletions(-) diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 5c32084329..d06f74fc0d 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -3,6 +3,7 @@ import path from "path"; import { performance } from "perf_hooks"; import * as core from "@actions/core"; +import * as github from "@actions/github"; import * as actionsUtil from "./actions-util"; import { @@ -12,6 +13,7 @@ import { runCleanup, runFinalize, runQueries, + setupDiffInformedQueryRun, warnIfGoInstalledAfterInit, } from "./analyze"; import { getApiDetails, getGitHubVersion } from "./api-client"; @@ -260,6 +262,17 @@ async function run() { logger, ); + const pull_request = github.context.payload.pull_request; + const diffRangePackDir = + pull_request && + (await setupDiffInformedQueryRun( + pull_request.base.ref as string, + pull_request.head.ref as string, + codeql, + logger, + features, + )); + await warnIfGoInstalledAfterInit(config, logger); await runAutobuildIfLegacyGoWorkflow(config, logger); @@ -278,6 +291,7 @@ async function run() { memory, util.getAddSnippetsFlag(actionsUtil.getRequiredInput("add-snippets")), threads, + diffRangePackDir, actionsUtil.getOptionalInput("category"), config, logger, diff --git a/src/analyze.test.ts b/src/analyze.test.ts index fdd423cb62..6c7fd3212c 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -101,6 +101,7 @@ test("status report fields", async (t) => { addSnippetsFlag, threadsFlag, undefined, + undefined, config, getRunnerLogger(true), createFeatures([Feature.QaTelemetryEnabled]), diff --git a/src/analyze.ts b/src/analyze.ts index 1a43f51075..f3d018da67 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -6,6 +6,7 @@ import { safeWhich } from "@chrisgavin/safe-which"; import del from "del"; import * as yaml from "js-yaml"; +import * as actionsUtil from "./actions-util"; import { setupCppAutobuild } from "./autobuild"; import { CODEQL_VERSION_ANALYSIS_SUMMARY_V2, @@ -17,7 +18,7 @@ import { addDiagnostic, makeDiagnostic } from "./diagnostics"; import { EnvVar } from "./environment"; import { FeatureEnablement, Feature } from "./feature-flags"; import { isScannedLanguage, Language } from "./languages"; -import { Logger } from "./logging"; +import { Logger, withGroup } from "./logging"; import { DatabaseCreationTimings, EventReport } from "./status-report"; import { ToolsFeature } from "./tools-features"; import { endTracingForCluster } from "./tracer-config"; @@ -234,12 +235,224 @@ async function finalizeDatabaseCreation( }; } +/** + * Set up the diff-informed analysis feature. + * + * @param baseRef The base branch name, used for calculating the diff range. + * @param headRef The head branch name, used for calculating the diff range. + * @param codeql + * @param logger + * @param features + * @returns Absolute path to the directory containing the extension pack for + * the diff range information, or `undefined` if the feature is disabled. + */ +export async function setupDiffInformedQueryRun( + baseRef: string, + headRef: string, + codeql: CodeQL, + logger: Logger, + features: FeatureEnablement, +): Promise { + if (!(await features.getValue(Feature.DiffInformedQueries, codeql))) { + return undefined; + } + return await withGroup("Generating diff range extension pack", async () => { + const diffRanges = await getPullRequestEditedDiffRanges( + baseRef, + headRef, + logger, + ); + return writeDiffRangeDataExtensionPack(logger, diffRanges); + }); +} + +interface DiffThunkRange { + path: string; + startLine: number; + endLine: number; +} + +/** + * Return the file line ranges that were added or modified in the pull request. + * + * @param baseRef The base branch name, used for calculating the diff range. + * @param headRef The head branch name, used for calculating the diff range. + * @param logger + * @returns An array of tuples, where each tuple contains the absolute path of a + * file, the start line and the end line (both 1-based and inclusive) of an + * added or modified range in that file. Returns `undefined` if the action was + * not triggered by a pull request or if there was an error. + */ +async function getPullRequestEditedDiffRanges( + baseRef: string, + headRef: string, + logger: Logger, +): Promise { + const checkoutPath = actionsUtil.getOptionalInput("checkout_path"); + if (checkoutPath === undefined) { + return undefined; + } + + // To compute the merge bases between the base branch and the PR topic branch, + // we need to fetch the commit graph from the branch heads to those merge + // babes. The following 4-step procedure does so while limiting the amount of + // history fetched. + + // Step 1: Deepen from the PR merge commit to the base branch head and the PR + // topic branch head, so that the PR merge commit is no longer considered a + // grafted commit. + await actionsUtil.deepenGitHistory(); + // Step 2: Fetch the base branch shallow history. This step ensures that the + // base branch name is present in the local repository. Normally the base + // branch name would be added by Step 4. However, if the base branch head is + // an ancestor of the PR topic branch head, Step 4 would fail without doing + // anything, so we need to fetch the base branch explicitly. + await actionsUtil.gitFetch(baseRef, ["--depth=1"]); + // Step 3: Fetch the PR topic branch history, stopping when we reach commits + // that are reachable from the base branch head. + await actionsUtil.gitFetch(headRef, [`--shallow-exclude=${baseRef}`]); + // Step 4: Fetch the base branch history, stopping when we reach commits that + // are reachable from the PR topic branch head. + await actionsUtil.gitFetch(baseRef, [`--shallow-exclude=${headRef}`]); + // Step 5: Deepen the history so that we have the merge bases between the base + // branch and the PR topic branch. + await actionsUtil.deepenGitHistory(); + + // To compute the exact same diff as GitHub would compute for the PR, we need + // to use the same merge base as GitHub. That is easy to do if there is only + // one merge base, which is by far the most common case. If there are multiple + // merge bases, we stop without producing a diff range. + const mergeBases = await actionsUtil.getAllGitMergeBases([baseRef, headRef]); + logger.info(`Merge bases: ${mergeBases.join(", ")}`); + if (mergeBases.length !== 1) { + logger.info( + "Cannot compute diff range because baseRef and headRef " + + `have ${mergeBases.length} merge bases (instead of exactly 1).`, + ); + return undefined; + } + + const diffHunkHeaders = await actionsUtil.getGitDiffHunkHeaders( + mergeBases[0], + headRef, + ); + if (diffHunkHeaders === undefined) { + return undefined; + } + + const results = new Array(); + + let changedFile = ""; + for (const line of diffHunkHeaders) { + if (line.startsWith("+++ ")) { + const filePath = actionsUtil.decodeGitFilePath(line.substring(4)); + if (filePath.startsWith("b/")) { + // The file was edited: track all hunks in the file + changedFile = filePath.substring(2); + } else if (filePath === "/dev/null") { + // The file was deleted: skip all hunks in the file + changedFile = ""; + } else { + logger.warning(`Failed to parse diff hunk header line: ${line}`); + return undefined; + } + continue; + } + if (line.startsWith("@@ ")) { + if (changedFile === "") continue; + + const match = line.match(/^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@/); + if (match === null) { + logger.warning(`Failed to parse diff hunk header line: ${line}`); + return undefined; + } + const startLine = parseInt(match[1], 10); + const numLines = parseInt(match[2], 10); + if (numLines === 0) { + // The hunk was a deletion: skip it + continue; + } + const endLine = startLine + (numLines || 1) - 1; + results.push({ + path: path.join(checkoutPath, changedFile), + startLine, + endLine, + }); + } + } + return results; +} + +/** + * Create an extension pack in the temporary directory that contains the file + * line ranges that were added or modified in the pull request. + * + * @param logger + * @param ranges The file line ranges, as returned by + * `getPullRequestEditedDiffRanges`. + * @returns The absolute path of the directory containing the extension pack, or + * `undefined` if no extension pack was created. + */ +function writeDiffRangeDataExtensionPack( + logger: Logger, + ranges: DiffThunkRange[] | undefined, +): string | undefined { + if (ranges === undefined) { + return undefined; + } + + const diffRangeDir = path.join( + actionsUtil.getTemporaryDirectory(), + "pr-diff-range", + ); + fs.mkdirSync(diffRangeDir); + fs.writeFileSync( + path.join(diffRangeDir, "qlpack.yml"), + ` +name: codeql-action/pr-diff-range +version: 0.0.0 +library: true +extensionTargets: + codeql/util: '*' +dataExtensions: + - pr-diff-range.yml +`, + ); + + const header = ` +extensions: + - addsTo: + pack: codeql/util + extensible: restrictAlertsTo + data: +`; + + let data = ranges + .map((range) => ` - ["${range[0]}", ${range[1]}, ${range[2]}]\n`) + .join(""); + if (!data) { + // Ensure that the data extension is not empty, so that a pull request with + // no edited lines would exclude (instead of accepting) all alerts. + data = ' - ["", 0, 0]\n'; + } + + const extensionContents = header + data; + const extensionFilePath = path.join(diffRangeDir, "pr-diff-range.yml"); + fs.writeFileSync(extensionFilePath, extensionContents); + logger.debug( + `Wrote pr-diff-range extension pack to ${extensionFilePath}:\n${extensionContents}`, + ); + + return diffRangeDir; +} + // Runs queries and creates sarif files in the given folder export async function runQueries( sarifFolder: string, memoryFlag: string, addSnippetsFlag: string, threadsFlag: string, + diffRangePackDir: string | undefined, automationDetailsId: string | undefined, config: configUtils.Config, logger: Logger, @@ -247,10 +460,18 @@ export async function runQueries( ): Promise { const statusReport: QueriesStatusReport = {}; - const sarifRunPropertyFlag = undefined; + const dataExtensionFlags = diffRangePackDir + ? [ + `--additional-packs=${diffRangePackDir}`, + "--extension-packs=codeql-action/pr-diff-range", + ] + : []; + const sarifRunPropertyFlag = diffRangePackDir + ? "--sarif-run-property=incrementalMode=diff-informed" + : undefined; const codeql = await getCodeQL(config.codeQLCmd); - const queryFlags = [memoryFlag, threadsFlag]; + const queryFlags = [memoryFlag, threadsFlag, ...dataExtensionFlags]; for (const language of config.languages) { try { From 94b5d396bc9fdecd0470274a36585a3224b4267f Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Tue, 29 Oct 2024 07:01:44 -0700 Subject: [PATCH 6/6] build: refresh js files --- lib/actions-util.js | 133 ++++++++++++++++++++++++- lib/actions-util.js.map | 2 +- lib/actions-util.test.js | 30 ++++++ lib/actions-util.test.js.map | 2 +- lib/analyze-action.js | 6 +- lib/analyze-action.js.map | 2 +- lib/analyze.js | 181 ++++++++++++++++++++++++++++++++++- lib/analyze.js.map | 2 +- lib/analyze.test.js | 2 +- lib/analyze.test.js.map | 2 +- lib/codeql.js | 5 +- lib/codeql.js.map | 2 +- lib/codeql.test.js | 2 +- lib/codeql.test.js.map | 2 +- 14 files changed, 358 insertions(+), 15 deletions(-) diff --git a/lib/actions-util.js b/lib/actions-util.js index 468e52de9d..b40270e3ed 100644 --- a/lib/actions-util.js +++ b/lib/actions-util.js @@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.restoreInputs = exports.persistInputs = exports.CommandInvocationError = exports.getFileType = exports.FileCmdNotFoundError = exports.determineBaseBranchHeadCommitOid = exports.getCommitOid = exports.getOptionalInput = exports.getRequiredInput = void 0; +exports.restoreInputs = exports.persistInputs = exports.CommandInvocationError = exports.getFileType = exports.FileCmdNotFoundError = exports.decodeGitFilePath = exports.getGitDiffHunkHeaders = exports.getAllGitMergeBases = exports.gitFetch = exports.deepenGitHistory = exports.determineBaseBranchHeadCommitOid = exports.getCommitOid = exports.getOptionalInput = exports.getRequiredInput = void 0; exports.getTemporaryDirectory = getTemporaryDirectory; exports.getRef = getRef; exports.getActionVersion = getActionVersion; @@ -82,6 +82,7 @@ function getTemporaryDirectory() { async function runGitCommand(checkoutPath, args, customErrorMessage) { let stdout = ""; let stderr = ""; + core.debug(`Running git command: git ${args.join(" ")}`); try { await new toolrunner.ToolRunner(await safeWhich.safeWhich("git"), args, { silent: true, @@ -170,6 +171,136 @@ const determineBaseBranchHeadCommitOid = async function (checkoutPathOverride) { } }; exports.determineBaseBranchHeadCommitOid = determineBaseBranchHeadCommitOid; +/** + * Deepen the git history of the given ref by one level. Errors are logged. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + */ +const deepenGitHistory = async function () { + try { + await runGitCommand((0, exports.getOptionalInput)("checkout_path"), ["fetch", "--no-tags", "--deepen=1"], "Cannot deepen the shallow repository."); + } + catch { + // Errors are already logged by runGitCommand() + } +}; +exports.deepenGitHistory = deepenGitHistory; +/** + * Fetch the given remote branch. Errors are logged. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + */ +const gitFetch = async function (branch, extraFlags) { + try { + await runGitCommand((0, exports.getOptionalInput)("checkout_path"), ["fetch", "--no-tags", ...extraFlags, "origin", `${branch}:${branch}`], `Cannot fetch ${branch}.`); + } + catch { + // Errors are already logged by runGitCommand() + } +}; +exports.gitFetch = gitFetch; +/** + * Compute the all merge bases between the given refs. Returns an empty array + * if no merge base is found, or if there is an error. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + */ +const getAllGitMergeBases = async function (refs) { + try { + const stdout = await runGitCommand((0, exports.getOptionalInput)("checkout_path"), ["merge-base", "--all", ...refs], `Cannot get merge base of ${refs}.`); + return stdout.trim().split("\n"); + } + catch { + return []; + } +}; +exports.getAllGitMergeBases = getAllGitMergeBases; +/** + * Compute the diff hunk headers between the two given refs. + * + * This function uses the `checkout_path` to determine the repository path and + * works only when called from `analyze` or `upload-sarif`. + * + * @returns an array of diff hunk headers (one element per line), or undefined + * if the action was not triggered by a pull request, or if the diff could not + * be determined. + */ +const getGitDiffHunkHeaders = async function (fromRef, toRef) { + let stdout = ""; + try { + stdout = await runGitCommand((0, exports.getOptionalInput)("checkout_path"), [ + "-c", + "core.quotePath=false", + "diff", + "--no-renames", + "--irreversible-delete", + "-U0", + fromRef, + toRef, + ], `Cannot get diff from ${fromRef} to ${toRef}.`); + } + catch { + return undefined; + } + const headers = []; + for (const line of stdout.split("\n")) { + if (line.startsWith("--- ") || + line.startsWith("+++ ") || + line.startsWith("@@ ")) { + headers.push(line); + } + } + return headers; +}; +exports.getGitDiffHunkHeaders = getGitDiffHunkHeaders; +/** + * Decode, if necessary, a file path produced by Git. See + * https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath + * for details on how Git encodes file paths with special characters. + * + * This function works only for Git output with `core.quotePath=false`. + */ +const decodeGitFilePath = function (filePath) { + if (filePath.startsWith('"') && filePath.endsWith('"')) { + filePath = filePath.substring(1, filePath.length - 1); + return filePath.replace(/\\([abfnrtv\\"]|[0-7]{1,3})/g, (_match, seq) => { + switch (seq[0]) { + case "a": + return "\x07"; + case "b": + return "\b"; + case "f": + return "\f"; + case "n": + return "\n"; + case "r": + return "\r"; + case "t": + return "\t"; + case "v": + return "\v"; + case "\\": + return "\\"; + case '"': + return '"'; + default: + // Both String.fromCharCode() and String.fromCodePoint() works only + // for constructing an entire character at once. If a Unicode + // character is encoded as a sequence of escaped bytes, calling these + // methods sequentially on the individual byte values would *not* + // produce the original multi-byte Unicode character. As a result, + // this implementation works only with the Git option core.quotePath + // set to false. + return String.fromCharCode(parseInt(seq, 8)); + } + }); + } + return filePath; +}; +exports.decodeGitFilePath = decodeGitFilePath; /** * Get the ref currently being analyzed. */ diff --git a/lib/actions-util.js.map b/lib/actions-util.js.map index d6b5fc1976..66517a0bb7 100644 --- a/lib/actions-util.js.map +++ b/lib/actions-util.js.map @@ -1 +1 @@ -{"version":3,"file":"actions-util.js","sourceRoot":"","sources":["../src/actions-util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,sDAKC;AAqHD,wBA4DC;AAsBD,4CAEC;AAOD,oDAEC;AAMD,oDAKC;AAOD,sDAIC;AAGD,4CASC;AAaD,4DAiBC;AAED,wCA6BC;AAQD,wCAiBC;AAKD,4CAcC;AAKD,sDAcC;AAqDD,gDAEC;AAED,sDAEC;AAwBD,gDAEC;AAoBD,0BAsCC;AAhjBD,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,kEAAoD;AAIpD,iCAKgB;AAEhB,qFAAqF;AACrF,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAqC,CAAC;AAE3E;;;;;GAKG;AACI,MAAM,gBAAgB,GAAG,UAAU,IAAY;IACpD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,yBAAkB,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AANW,QAAA,gBAAgB,oBAM3B;AAEF;;;;;GAKG;AACI,MAAM,gBAAgB,GAAG,UAAU,IAAY;IACpD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAClC,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC9C,CAAC,CAAC;AAHW,QAAA,gBAAgB,oBAG3B;AAEF,SAAgB,qBAAqB;IACnC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAChD,OAAO,KAAK,KAAK,SAAS,IAAI,K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CAAC,CAAC,EAAE,CAAC;KAChE,CAAC,CAAC,IAAI,EAAE,CAAC;IACV,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,sBAAsB,CAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAE9C;;;;GAIG;AACI,MAAM,aAAa,GAAG;IAC3B,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAClE,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CACtC,CAAC;IACF,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAChF,CAAC,CAAC;AALW,QAAA,aAAa,iBAKxB;AAEF;;GAEG;AACI,MAAM,aAAa,GAAG;IAC3B,MAAM,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1D,IAAI,eAAe,EAAE,CAAC;QACpB,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC;YACxD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAPW,QAAA,aAAa,iBAOxB"} \ No newline at end of file diff --git a/lib/actions-util.test.js b/lib/actions-util.test.js index 84b55e8376..3f263d7399 100644 --- a/lib/actions-util.test.js +++ b/lib/actions-util.test.js @@ -246,4 +246,34 @@ const util_1 = require("./util"); t.assert(!infoStub.firstCall.args[0].endsWith("The checkout path provided to the action does not appear to be a git repository.")); infoStub.restore(); }); +(0, ava_1.default)("decodeGitFilePath unquoted strings", async (t) => { + t.deepEqual(actionsUtil.decodeGitFilePath("foo"), "foo"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo bar"), "foo bar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\\\bar"), "foo\\\\bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('foo\\"bar'), 'foo\\"bar'); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\001bar"), "foo\\001bar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\abar"), "foo\\abar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\bbar"), "foo\\bbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\fbar"), "foo\\fbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\nbar"), "foo\\nbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\rbar"), "foo\\rbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\tbar"), "foo\\tbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("foo\\vbar"), "foo\\vbar"); + t.deepEqual(actionsUtil.decodeGitFilePath("\\a\\b\\f\\n\\r\\t\\v"), "\\a\\b\\f\\n\\r\\t\\v"); +}); +(0, ava_1.default)("decodeGitFilePath quoted strings", async (t) => { + t.deepEqual(actionsUtil.decodeGitFilePath('"foo"'), "foo"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo bar"'), "foo bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\\\bar"'), "foo\\bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\"bar"'), 'foo"bar'); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\001bar"'), "foo\x01bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\abar"'), "foo\x07bar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\bbar"'), "foo\bbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\fbar"'), "foo\fbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\nbar"'), "foo\nbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\rbar"'), "foo\rbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\tbar"'), "foo\tbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"foo\\vbar"'), "foo\vbar"); + t.deepEqual(actionsUtil.decodeGitFilePath('"\\a\\b\\f\\n\\r\\t\\v"'), "\x07\b\f\n\r\t\v"); +}); //# sourceMappingURL=actions-util.test.js.map \ No newline at end of file diff --git a/lib/actions-util.test.js.map b/lib/actions-util.test.js.map index 4042ce0e23..df83db5344 100644 --- a/lib/actions-util.test.js.map +++ b/lib/actions-util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"actions-util.test.js","sourceRoot":"","sources":["../src/actions-util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,6CAAmD;AACnD,+CAAuC;AACvC,mDAA+D;AAC/D,iCAA2D;AAE3D,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,qCAAqC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtD,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IAC/B,MAAM,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;AAC1C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,+DAA+D,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAChF,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QACxC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,MAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,MAAM,UAAU,GAAG,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CAAC;IACnC,CAAC,CAAC,MAAM,CACN,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CACnC,4EAA4E,CAC7E,CACF,CAAC;IACF,CAAC,CAAC,MAAM,CACN,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAClC,kFAAkF,CACnF,CACF,CAAC;IAEF,QAAQ,CAAC,OAAO,EAAE,CAAC;AACrB,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"actions-util.test.js","sourceRoot":"","sources":["../src/actions-util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,6CAAmD;AACnD,+CAAuC;AACvC,mDAA+D;AAC/D,iCAA2D;AAE3D,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,qCAAqC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtD,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IAC/B,MAAM,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;AAC1C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,+DAA+D,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAChF,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAc,EAAE,EAAE;QACxC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACjC,MAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,WAAW,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,YA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AAU,CAAC,CAAC;IACtE,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC;IACtE,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,CAAC;IACtE,CAAC,CAAC,SAAS,CACT,WAAW,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EACxD,kBAAkB,CACnB,CAAC;AACJ,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 1420ed3729..50599b9d07 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -31,6 +31,7 @@ const fs = __importStar(require("fs")); const path_1 = __importDefault(require("path")); const perf_hooks_1 = require("perf_hooks"); const core = __importStar(require("@actions/core")); +const github = __importStar(require("@actions/github")); const actionsUtil = __importStar(require("./actions-util")); const analyze_1 = require("./analyze"); const api_client_1 = require("./api-client"); @@ -173,11 +174,14 @@ async function run() { util.checkActionVersion(actionsUtil.getActionVersion(), gitHubVersion); const features = new feature_flags_1.Features(gitHubVersion, repositoryNwo, actionsUtil.getTemporaryDirectory(), logger); const memory = util.getMemoryFlag(actionsUtil.getOptionalInput("ram") || process.env["CODEQL_RAM"], logger); + const pull_request = github.context.payload.pull_request; + const diffRangePackDir = pull_request && + (await (0, analyze_1.setupDiffInformedQueryRun)(pull_request.base.ref, pull_request.head.ref, codeql, logger, features)); await (0, analyze_1.warnIfGoInstalledAfterInit)(config, logger); await runAutobuildIfLegacyGoWorkflow(config, logger); dbCreationTimings = await (0, analyze_1.runFinalize)(outputDir, threads, memory, codeql, config, logger); if (actionsUtil.getRequiredInput("skip-queries") !== "true") { - runStats = await (0, analyze_1.runQueries)(outputDir, memory, util.getAddSnippetsFlag(actionsUtil.getRequiredInput("add-snippets")), threads, actionsUtil.getOptionalInput("category"), config, logger, features); + runStats = await (0, analyze_1.runQueries)(outputDir, memory, util.getAddSnippetsFlag(actionsUtil.getRequiredInput("add-snippets")), threads, diffRangePackDir, actionsUtil.getOptionalInput("category"), config, logger, features); } if (actionsUtil.getOptionalInput("cleanup-level") !== "none") { await (0, analyze_1.runCleanup)(config, actionsUtil.getOptionalInput("cleanup-level") || "brutal", logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index ec46617c69..3b7b280ca0 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,2CAAyC;AAEzC,oDAAsC;AAEtC,4DAA8C;AAC9C,uCAQmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAKwB;AACxB,wDAA0C;AAE1C,6CAA+B;AAkB/B,KAAK,UAAU,gBAAgB,CAC7B,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,gBAA0D,EAC1D,MAAc;IAEd,MAAM,MAAM,GAAG,IAAA,gCAAgB,EAAC,KAAK,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC;IACxE,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,OAAO,EAClB,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,MAAM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C,0BAA0B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,gDAAwB;AACxB,2CAAyC;AAEzC,oDAAsC;AACtC,wDAA0C;AAE1C,4DAA8C;AAC9C,uCASmB;AACnB,6CAA+D;AAC/D,2CAA2C;AAC3C,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAKwB;AACxB,wDAA0C;AAE1C,6CAA+B;AAkB/B,KAAK,UAAU,gBAAgB,CAC7B,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAwB,EACxB,mBAAuC,EACvC,iBAAsD,EACtD,mBAA4B,EAC5B,gBAA0D,EAC1D,MAAc;IAEd,MAAM,MAAM,GAAG,IAAA,gCAAgB,EAAC,KAAK,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC;IACxE,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,OAAO,EAClB,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EACjC,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,MAAM,GAAuB;YACjC,GAAG,gBAAgB;YACnB,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC;YAChB,GAAG,CAAC,iBAAiB,IAAI,EAAE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AAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,kBAAU,CAAC;IACnB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,0BAA0B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;AAC/B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/analyze.js b/lib/analyze.js index 988a9b25df..a047b1dbe8 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.CodeQLAnalysisError = void 0; exports.runExtraction = runExtraction; exports.dbIsFinalized = dbIsFinalized; +exports.setupDiffInformedQueryRun = setupDiffInformedQueryRun; exports.runQueries = runQueries; exports.runFinalize = runFinalize; exports.warnIfGoInstalledAfterInit = warnIfGoInstalledAfterInit; @@ -39,12 +40,14 @@ const perf_hooks_1 = require("perf_hooks"); const safe_which_1 = require("@chrisgavin/safe-which"); const del_1 = __importDefault(require("del")); const yaml = __importStar(require("js-yaml")); +const actionsUtil = __importStar(require("./actions-util")); const autobuild_1 = require("./autobuild"); const codeql_1 = require("./codeql"); const diagnostics_1 = require("./diagnostics"); const environment_1 = require("./environment"); const feature_flags_1 = require("./feature-flags"); const languages_1 = require("./languages"); +const logging_1 = require("./logging"); const tools_features_1 = require("./tools-features"); const tracer_config_1 = require("./tracer-config"); const upload_lib_1 = require("./upload-lib"); @@ -134,11 +137,183 @@ async function finalizeDatabaseCreation(codeql, config, threadsFlag, memoryFlag, trap_import_duration_ms: Math.round(trapImportTime), }; } +/** + * Set up the diff-informed analysis feature. + * + * @param baseRef The base branch name, used for calculating the diff range. + * @param headRef The head branch name, used for calculating the diff range. + * @param codeql + * @param logger + * @param features + * @returns Absolute path to the directory containing the extension pack for + * the diff range information, or `undefined` if the feature is disabled. + */ +async function setupDiffInformedQueryRun(baseRef, headRef, codeql, logger, features) { + if (!(await features.getValue(feature_flags_1.Feature.DiffInformedQueries, codeql))) { + return undefined; + } + return await (0, logging_1.withGroup)("Generating diff range extension pack", async () => { + const diffRanges = await getPullRequestEditedDiffRanges(baseRef, headRef, logger); + return writeDiffRangeDataExtensionPack(logger, diffRanges); + }); +} +/** + * Return the file line ranges that were added or modified in the pull request. + * + * @param baseRef The base branch name, used for calculating the diff range. + * @param headRef The head branch name, used for calculating the diff range. + * @param logger + * @returns An array of tuples, where each tuple contains the absolute path of a + * file, the start line and the end line (both 1-based and inclusive) of an + * added or modified range in that file. Returns `undefined` if the action was + * not triggered by a pull request or if there was an error. + */ +async function getPullRequestEditedDiffRanges(baseRef, headRef, logger) { + const checkoutPath = actionsUtil.getOptionalInput("checkout_path"); + if (checkoutPath === undefined) { + return undefined; + } + // To compute the merge bases between the base branch and the PR topic branch, + // we need to fetch the commit graph from the branch heads to those merge + // babes. The following 4-step procedure does so while limiting the amount of + // history fetched. + // Step 1: Deepen from the PR merge commit to the base branch head and the PR + // topic branch head, so that the PR merge commit is no longer considered a + // grafted commit. + await actionsUtil.deepenGitHistory(); + // Step 2: Fetch the base branch shallow history. This step ensures that the + // base branch name is present in the local repository. Normally the base + // branch name would be added by Step 4. However, if the base branch head is + // an ancestor of the PR topic branch head, Step 4 would fail without doing + // anything, so we need to fetch the base branch explicitly. + await actionsUtil.gitFetch(baseRef, ["--depth=1"]); + // Step 3: Fetch the PR topic branch history, stopping when we reach commits + // that are reachable from the base branch head. + await actionsUtil.gitFetch(headRef, [`--shallow-exclude=${baseRef}`]); + // Step 4: Fetch the base branch history, stopping when we reach commits that + // are reachable from the PR topic branch head. + await actionsUtil.gitFetch(baseRef, [`--shallow-exclude=${headRef}`]); + // Step 5: Deepen the history so that we have the merge bases between the base + // branch and the PR topic branch. + await actionsUtil.deepenGitHistory(); + // To compute the exact same diff as GitHub would compute for the PR, we need + // to use the same merge base as GitHub. That is easy to do if there is only + // one merge base, which is by far the most common case. If there are multiple + // merge bases, we stop without producing a diff range. + const mergeBases = await actionsUtil.getAllGitMergeBases([baseRef, headRef]); + logger.info(`Merge bases: ${mergeBases.join(", ")}`); + if (mergeBases.length !== 1) { + logger.info("Cannot compute diff range because baseRef and headRef " + + `have ${mergeBases.length} merge bases (instead of exactly 1).`); + return undefined; + } + const diffHunkHeaders = await actionsUtil.getGitDiffHunkHeaders(mergeBases[0], headRef); + if (diffHunkHeaders === undefined) { + return undefined; + } + const results = new Array(); + let changedFile = ""; + for (const line of diffHunkHeaders) { + if (line.startsWith("+++ ")) { + const filePath = actionsUtil.decodeGitFilePath(line.substring(4)); + if (filePath.startsWith("b/")) { + // The file was edited: track all hunks in the file + changedFile = filePath.substring(2); + } + else if (filePath === "/dev/null") { + // The file was deleted: skip all hunks in the file + changedFile = ""; + } + else { + logger.warning(`Failed to parse diff hunk header line: ${line}`); + return undefined; + } + continue; + } + if (line.startsWith("@@ ")) { + if (changedFile === "") + continue; + const match = line.match(/^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@/); + if (match === null) { + logger.warning(`Failed to parse diff hunk header line: ${line}`); + return undefined; + } + const startLine = parseInt(match[1], 10); + const numLines = parseInt(match[2], 10); + if (numLines === 0) { + // The hunk was a deletion: skip it + continue; + } + const endLine = startLine + (numLines || 1) - 1; + results.push({ + path: path.join(checkoutPath, changedFile), + startLine, + endLine, + }); + } + } + return results; +} +/** + * Create an extension pack in the temporary directory that contains the file + * line ranges that were added or modified in the pull request. + * + * @param logger + * @param ranges The file line ranges, as returned by + * `getPullRequestEditedDiffRanges`. + * @returns The absolute path of the directory containing the extension pack, or + * `undefined` if no extension pack was created. + */ +function writeDiffRangeDataExtensionPack(logger, ranges) { + if (ranges === undefined) { + return undefined; + } + const diffRangeDir = path.join(actionsUtil.getTemporaryDirectory(), "pr-diff-range"); + fs.mkdirSync(diffRangeDir); + fs.writeFileSync(path.join(diffRangeDir, "qlpack.yml"), ` +name: codeql-action/pr-diff-range +version: 0.0.0 +library: true +extensionTargets: + codeql/util: '*' +dataExtensions: + - pr-diff-range.yml +`); + const header = ` +extensions: + - addsTo: + pack: codeql/util + extensible: restrictAlertsTo + data: +`; + let data = ranges + .map((range) => ` - ["${range[0]}", ${range[1]}, ${range[2]}]\n`) + .join(""); + if (!data) { + // Ensure that the data extension is not empty, so that a pull request with + // no edited lines would exclude (instead of accepting) all alerts. + data = ' - ["", 0, 0]\n'; + } + const extensionContents = header + data; + const extensionFilePath = path.join(diffRangeDir, "pr-diff-range.yml"); + fs.writeFileSync(extensionFilePath, extensionContents); + logger.debug(`Wrote pr-diff-range extension pack to ${extensionFilePath}:\n${extensionContents}`); + return diffRangeDir; +} // Runs queries and creates sarif files in the given folder -async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, automationDetailsId, config, logger, features) { +async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, diffRangePackDir, automationDetailsId, config, logger, features) { const statusReport = {}; + const dataExtensionFlags = diffRangePackDir + ? [ + `--additional-packs=${diffRangePackDir}`, + "--extension-packs=codeql-action/pr-diff-range", + ] + : []; + const sarifRunPropertyFlag = diffRangePackDir + ? "--sarif-run-property=incrementalMode=diff-informed" + : undefined; const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); - const queryFlags = [memoryFlag, threadsFlag]; + const queryFlags = [memoryFlag, threadsFlag, ...dataExtensionFlags]; for (const language of config.languages) { try { const sarifFile = path.join(sarifFolder, `${language}.sarif`); @@ -192,7 +367,7 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, return statusReport; async function runInterpretResults(language, queries, sarifFile, enableDebugLogging) { const databasePath = util.getCodeQLDatabasePath(config, language); - return await codeql.databaseInterpretResults(databasePath, queries, sarifFile, addSnippetsFlag, threadsFlag, enableDebugLogging ? "-vv" : "-v", automationDetailsId, config, features); + return await codeql.databaseInterpretResults(databasePath, queries, sarifFile, addSnippetsFlag, threadsFlag, enableDebugLogging ? "-vv" : "-v", sarifRunPropertyFlag, automationDetailsId, config, features); } /** Get an object with all queries and their counts parsed from a SARIF file path. */ function getPerQueryAlertCounts(sarifPath, log) { diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 7ee76627a4..d2c6e36f83 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoIA,sCAmCC;AAcD,sCAiBC;AAuCD,gCA2IC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AAndD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,uDAAmD;AACnD,8CAAsB;AACtB,8CAAgC;AAEhC,2CAAgD;AAChD,qCAIkB;AAElB,+CAA8D;AAC9D,+CAAuC;AACvC,mDAA6D;AAC7D,2CAA0D;AAG1D,qDAAgD;AAChD,mDAAuD;AACvD,6CAAuD;AACvD,6CAA+B;AAC/B,iCAAmC;AAEnC,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACS,mBAAwC,EACxC,OAAe,EACf,KAAY;QAEnB,KAAK,CAAC,OAAO,CAAC,CAAC;QAJR,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,YAAO,GAAP,OAAO,CAAQ;QACf,UAAK,GAAL,KAAK,CAAO;QAGnB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AATD,kDASC;AAkFD,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,CAAC;QAC5D,+FAA+F;QAC/F,OAAO;IACT,CAAC;IAED,MAAM,CAAC,OAAO,CACZ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BACE,eAAe,EACb,sIAAsI;gBACxI,UAAU,EAAE;oBACV,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,eAAe,EAAE,IAAI;iBACtB;gBACD,QAAQ,EAAE,SAAS;aACpB,CACF,CACF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,UAAU,CAC9B,MAA0B,EAC1B,YAAoB,EACpB,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;IAC3C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QACjD,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClE,MAAM,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index c36fe00369..63ce445803 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -103,7 +103,7 @@ const util = __importStar(require("./util")); fs.mkdirSync(util.getCodeQLDatabasePath(config, language), { recursive: true, }); - const statusReport = await (0, analyze_1.runQueries)(tmpDir, memoryFlag, addSnippetsFlag, threadsFlag, undefined, config, (0, logging_1.getRunnerLogger)(true), (0, testing_utils_1.createFeatures)([feature_flags_1.Feature.QaTelemetryEnabled])); + const statusReport = await (0, analyze_1.runQueries)(tmpDir, memoryFlag, addSnippetsFlag, threadsFlag, undefined, undefined, config, (0, logging_1.getRunnerLogger)(true), (0, testing_utils_1.createFeatures)([feature_flags_1.Feature.QaTelemetryEnabled])); t.deepEqual(Object.keys(statusReport).sort(), [ `analyze_builtin_queries_${language}_duration_ms`, "event_reports", diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index 988b0e0d01..91bfa6715d 100644 --- a/lib/analyze.test.js.map +++ b/lib/analyze.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AACvB,6CAA+B;AAE/B,uCAAuC;AACvC,qCAAqC;AACrC,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,mDAKyB;AACzB,wDAA0C;AAC1C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB;;;;;GAKG;AACH,IAAA,aAAI,EAAC,sBAAsB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvC,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAC5C,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAEjC,MAAM,UAAU,GAAG,EAAE,CAAC;QACtB,MAAM,eAAe,GAAG,EAAE,CAAC;QAC3B,MAAM,WAAW,GAAG,EAAE,CAAC;QACvB,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC;QAEjD,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,oBAAQ,CAAC,EAAE,CAAC;YAC/C,IAAA,kBAAS,EAAC;gBACR,kBAAkB,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC;gBAClC,YAAY,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;gBACzC,wBAAwB,EAAE,KAAK,EAC7B,GAAW,EACX,WAAqB,EACrB,SAAiB,EACjB,EAAE;oBACF,EAAE,CAAC,aAAa,CACd,SAAS,EACT,IAAI,CAAC,SAAS,CAAC;wBACb,IAAI,EAAE;4BACJ,+EA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,CAAC,EACrB,IAAA,8BAAc,EAAC,CAAC,uBAAO,CAAC,kBAAkB,CAAC,CAAC,CAC7C,CAAC;YACF,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE,EAAE;gBAC5C,2BAA2B,QAAQ,cAAc;gBACjD,eAAe;gBACf,qBAAqB,QAAQ,cAAc;aAC5C,CAAC,CAAC;YACH,KAAK,MAAM,WAAW,IAAI,YAAY,CAAC,aAAc,EAAE,CAAC;gBACtD,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,mCAAmC,CAAC,CAAC;gBACpE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,WAAW,CAAC,CAAC;gBACpC,CAAC,CAAC,IAAI,CAAC,aAAa,IAAI,WAAW,CAAC,UAAW,CAAC,CAAC;YACnD,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index 5848c6c2e7..9e6a52b9bf 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -460,7 +460,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { } await runCli(cmd, codeqlArgs); }, - async databaseInterpretResults(databasePath, querySuitePaths, sarifFile, addSnippetsFlag, threadsFlag, verbosityFlag, automationDetailsId, config, features) { + async databaseInterpretResults(databasePath, querySuitePaths, sarifFile, addSnippetsFlag, threadsFlag, verbosityFlag, sarifRunPropertyFlag, automationDetailsId, config, features) { const shouldExportDiagnostics = await features.getValue(feature_flags_1.Feature.ExportDiagnosticsEnabled, this); const codeqlArgs = [ "database", @@ -479,6 +479,9 @@ async function getCodeQLForCmd(cmd, checkVersion) { ...(await getJobRunUuidSarifOptions(this)), ...getExtraOptionsFromEnv(["database", "interpret-results"]), ]; + if (sarifRunPropertyFlag !== undefined) { + codeqlArgs.push(sarifRunPropertyFlag); + } if (automationDetailsId !== undefined) { codeqlArgs.push("--sarif-category", automationDetailsId); } diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 549e43f4cb..849d281564 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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAkVA,kCA6DC;AAKD,8BAKC;AAyBD,8BAyDC;AAQD,0CAMC;AAOD,kDAIC;AAUD,0CAgmBC;AAqDD,0CAeC;AAsFD,8EASC;AAED,4FAYC;AAOD,gFAEC;AAxyCD,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,8CAAgC;AAChC,+CAAiC;AAEjC,iDAMwB;AAExB,6CAAmE;AAEnE,uCAAmC;AACnC,+CAAuC;AACvC,mDAKyB;AAGzB,4DAA8C;AAG9C,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,MAAM,CAAC;AAErD;;GAEG;AACH,MAAM,iCAAiC,GAAG,YAAY,CAAC;AAEvD,mEAAmE;AACnE,MAAM,+BAA+B,GAAG,YAAY,CAAC;AAErD;;;;;;GAMG;AAEH;;GAEG;AACU,QAAA,kCAAkC,GAAG,QAAQ,CAAC;AAE3D;;GAEG;AACU,QAAA,wCAAwC,GAAG,QAAQ,CAAC;AAEjE;;GAEG;AACH,MAAM,iCAAiC,GAAG,QAAQ,CAAC;AAEnD;;GAEG;AACH,MAAM,4BAA4B,GAAG,QAAQ,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACI,KAAK,UAAU,WAAW,CAC/B,UAA8B,EAC9B,UAAgC,EAChC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CAAsC;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 e7265609b3..6bebc45d1e 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -533,7 +533,7 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(codeqlObject, "getVersion").resolves(codeqlVersion); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); - await codeqlObject.databaseInterpretResults("", [], "", "", "", "-v", "", Object.assign({}, stubConfig, { gitHubVersion: githubVersion }), (0, testing_utils_1.createFeatures)([])); + await codeqlObject.databaseInterpretResults("", [], "", "", "", "-v", undefined, "", Object.assign({}, stubConfig, { gitHubVersion: githubVersion }), (0, testing_utils_1.createFeatures)([])); const actualArgs = runnerConstructorStub.firstCall.args[1]; t.is(actualArgs.includes("--new-analysis-summary"), flagPassed, `--new-analysis-summary should${flagPassed ? "" : "n't"} be passed`); t.is(actualArgs.includes("--no-new-analysis-summary"), negativeFlagPassed, `--no-new-analysis-summary should${negativeFlagPassed ? "" : "n't"} be passed`); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index 45ed10327d..1508b2b7dc 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqhCA,8DAqBC;AA1iCD,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,6CAAwC;AACxC,iDAAmC;AAEnC,0DAA4C;AAC5C,uCAAmC;AACnC,2CAAuC;AACvC,uCAA4C;AAC5C,iDAA6C;AAC7C,mDASyB;AAEzB,qDAAgD;AAChD,6CAA+B;AAC/B,iCAA+C;AAE/C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAI,UAAkB,CAAC;AAEvB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;IAE/B,UAAU,GAAG,IAAA,gCAAgB,EAAC;QAC5B,SAAS,EAAE,CAAC,oBAAQ,CAAC,GAAG,CAAC;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,KAAK,UAAU,oBAAoB,CAAC,EAClC,UAAU,GAAG,yCAAyB,EACtC,UAAU,EACV,QAAQ,EACR,OAAO,EACP,MAAM,GAOP;IACC,MAAM,GAAG,GAAG,IAAA,qCAAqB,EAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,MAAM,MAAM,CAAC,WAAW,CACtB,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,EAC1C,UAAU,EACV,MAAM,EACN,IAAI,CAAC,aAAa,CAAC,IAAI,EACvB,UAAU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