From 70aac4e01872a007132dc4c6f56ea9fecffac25c Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 9 Dec 2024 08:48:15 -0800 Subject: [PATCH 1/5] Introduce withGroupAsync() --- src/analyze.ts | 21 ++++++++++++--------- src/logging.ts | 12 ++++++++++++ 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/analyze.ts b/src/analyze.ts index cd986bf6f2..fed0ae6c8e 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -18,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, withGroup } from "./logging"; +import { Logger, withGroupAsync } from "./logging"; import { DatabaseCreationTimings, EventReport } from "./status-report"; import { ToolsFeature } from "./tools-features"; import { endTracingForCluster } from "./tracer-config"; @@ -256,14 +256,17 @@ export async function setupDiffInformedQueryRun( 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); - }); + return await withGroupAsync( + "Generating diff range extension pack", + async () => { + const diffRanges = await getPullRequestEditedDiffRanges( + baseRef, + headRef, + logger, + ); + return writeDiffRangeDataExtensionPack(logger, diffRanges); + }, + ); } interface DiffThunkRange { diff --git a/src/logging.ts b/src/logging.ts index f7ae8fa856..ddfb4a148f 100644 --- a/src/logging.ts +++ b/src/logging.ts @@ -41,6 +41,18 @@ export function withGroup(groupName: string, f: () => T): T { } } +export async function withGroupAsync( + groupName: string, + f: () => Promise, +): Promise { + core.startGroup(groupName); + try { + return await f(); + } finally { + core.endGroup(); + } +} + /** Format a duration for use in logs. */ export function formatDuration(durationMs: number) { if (durationMs < 1000) { From dd4aa4001611aec63fcf35ffc8b2d81d69f121fc Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 9 Dec 2024 08:07:22 -0800 Subject: [PATCH 2/5] deepenGitHistory: specify HEAD This commit makes deepenGitHistory pass "origin HEAD" to Git fetch, which prevents Git from fetching all branches that are present in the remote repository. --- src/actions-util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions-util.ts b/src/actions-util.ts index 2cfba5f355..99da812622 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -163,7 +163,7 @@ export const determineBaseBranchHeadCommitOid = async function ( }; /** - * Deepen the git history of the given ref by one level. Errors are logged. + * Deepen the git history of HEAD 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`. @@ -172,7 +172,7 @@ export const deepenGitHistory = async function () { try { await runGitCommand( getOptionalInput("checkout_path"), - ["fetch", "--no-tags", "--deepen=1"], + ["fetch", "origin", "HEAD", "--no-tags", "--deepen=1"], "Cannot deepen the shallow repository.", ); } catch { From 3e10d3452b6d26c3884640c7ddde6beb241e7158 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 9 Dec 2024 08:36:51 -0800 Subject: [PATCH 3/5] deepenGitHistory: do not fetch submodules --- src/actions-util.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/actions-util.ts b/src/actions-util.ts index 99da812622..4e4e772c3f 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -172,7 +172,14 @@ export const deepenGitHistory = async function () { try { await runGitCommand( getOptionalInput("checkout_path"), - ["fetch", "origin", "HEAD", "--no-tags", "--deepen=1"], + [ + "fetch", + "origin", + "HEAD", + "--no-tags", + "--no-recurse-submodules", + "--deepen=1", + ], "Cannot deepen the shallow repository.", ); } catch { From 57a28594b959f32a5b3f475ede0235bc77cf1fd6 Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 9 Dec 2024 08:09:27 -0800 Subject: [PATCH 4/5] getPullRequestEditedDiffRanges: work around fatal error This commits adds a "git repack" step to getPullRequestEditedDiffRanges to work around a Git bug concerning tracking of grafted commits. --- src/actions-util.ts | 18 ++++++++++++++++++ src/analyze.ts | 9 +++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/actions-util.ts b/src/actions-util.ts index 4e4e772c3f..941e0ba01b 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -205,6 +205,24 @@ export const gitFetch = async function (branch: string, extraFlags: string[]) { } }; +/** + * Repack the git repository, using with the given flags. 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 gitRepack = async function (flags: string[]) { + try { + await runGitCommand( + getOptionalInput("checkout_path"), + ["repack", ...flags], + "Cannot repack the repository.", + ); + } 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. diff --git a/src/analyze.ts b/src/analyze.ts index fed0ae6c8e..a540527255 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -298,7 +298,7 @@ async function getPullRequestEditedDiffRanges( // 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 + // babes. The following 6-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 @@ -317,7 +317,12 @@ async function getPullRequestEditedDiffRanges( // 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 + // Step 5: Repack the history to remove the shallow grafts that were added by + // the previous fetches. This step works around a bug that causes subsequent + // deepening fetches to fail with "fatal: error in object: unshallow ". + // See https://stackoverflow.com/q/63878612 + await actionsUtil.gitRepack(["-d"]); + // Step 6: Deepen the history so that we have the merge bases between the base // branch and the PR topic branch. await actionsUtil.deepenGitHistory(); From f9b0c1f2ea1ee6e3f278cd84cfe37d1bf157238d Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Mon, 9 Dec 2024 08:49:21 -0800 Subject: [PATCH 5/5] build: refresh js files --- lib/actions-util.js | 28 +++++++++++++++++++++++++--- lib/actions-util.js.map | 2 +- lib/analyze.js | 11 ++++++++--- lib/analyze.js.map | 2 +- lib/logging.js | 10 ++++++++++ lib/logging.js.map | 2 +- 6 files changed, 46 insertions(+), 9 deletions(-) diff --git a/lib/actions-util.js b/lib/actions-util.js index 1133ad9e79..ae6094fb6e 100644 --- a/lib/actions-util.js +++ b/lib/actions-util.js @@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -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.restoreInputs = exports.persistInputs = exports.CommandInvocationError = exports.getFileType = exports.FileCmdNotFoundError = exports.decodeGitFilePath = exports.getGitDiffHunkHeaders = exports.getAllGitMergeBases = exports.gitRepack = exports.gitFetch = exports.deepenGitHistory = exports.determineBaseBranchHeadCommitOid = exports.getCommitOid = exports.getOptionalInput = exports.getRequiredInput = void 0; exports.getTemporaryDirectory = getTemporaryDirectory; exports.getRef = getRef; exports.getActionVersion = getActionVersion; @@ -183,14 +183,21 @@ const determineBaseBranchHeadCommitOid = async function (checkoutPathOverride) { }; exports.determineBaseBranchHeadCommitOid = determineBaseBranchHeadCommitOid; /** - * Deepen the git history of the given ref by one level. Errors are logged. + * Deepen the git history of HEAD 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."); + await runGitCommand((0, exports.getOptionalInput)("checkout_path"), [ + "fetch", + "origin", + "HEAD", + "--no-tags", + "--no-recurse-submodules", + "--deepen=1", + ], "Cannot deepen the shallow repository."); } catch { // Errors are already logged by runGitCommand() @@ -212,6 +219,21 @@ const gitFetch = async function (branch, extraFlags) { } }; exports.gitFetch = gitFetch; +/** + * Repack the git repository, using with the given flags. 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 gitRepack = async function (flags) { + try { + await runGitCommand((0, exports.getOptionalInput)("checkout_path"), ["repack", ...flags], "Cannot repack the repository."); + } + catch { + // Errors are already logged by runGitCommand() + } +}; +exports.gitRepack = gitRepack; /** * 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. diff --git a/lib/actions-util.js.map b/lib/actions-util.js.map index 2735696ff0..dfd84c006f 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;AA+QD,wBA4DC;AAsBD,4CAEC;AAOD,oDAEC;AAMD,oDAKC;AAOD,sDAIC;AAGD,4CASC;AAaD,4DAiBC;AAED,wCA6BC;AAQD,wCAiBC;AAKD,4CAcC;AAKD,sDAcC;AAqDD,gDAEC;AAGD,wCAEC;AAED,sDAEC;AAwBD,gDAEC;AAoBD,0BAsCC;AA/sBD,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,QAA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AEG;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/analyze.js b/lib/analyze.js index 1642d860c2..b2248b25a5 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -162,7 +162,7 @@ async function setupDiffInformedQueryRun(baseRef, headRef, codeql, logger, featu if (!(await features.getValue(feature_flags_1.Feature.DiffInformedQueries, codeql))) { return undefined; } - return await (0, logging_1.withGroup)("Generating diff range extension pack", async () => { + return await (0, logging_1.withGroupAsync)("Generating diff range extension pack", async () => { const diffRanges = await getPullRequestEditedDiffRanges(baseRef, headRef, logger); return writeDiffRangeDataExtensionPack(logger, diffRanges); }); @@ -185,7 +185,7 @@ async function getPullRequestEditedDiffRanges(baseRef, headRef, logger) { } // 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 + // babes. The following 6-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 @@ -203,7 +203,12 @@ async function getPullRequestEditedDiffRanges(baseRef, headRef, logger) { // 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 + // Step 5: Repack the history to remove the shallow grafts that were added by + // the previous fetches. This step works around a bug that causes subsequent + // deepening fetches to fail with "fatal: error in object: unshallow ". + // See https://stackoverflow.com/q/63878612 + await actionsUtil.gitRepack(["-d"]); + // Step 6: 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 diff --git a/lib/analyze.js.map b/lib/analyze.js.map index f61c714043..19f8c8a252 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqIA,sCAmCC;AAcD,sCAiBC;AAiDD,8DAkBC;AA0LD,gCAuJC;AAED,kCA8BC;AAED,gEA2CC;AAED,gCAYC;AAtrBD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,uDAAmD;AACnD,8CAAsB;AACtB,8CAAgC;AAEhC,4DAA8C;AAC9C,2CAAgD;AAChD,qCAIkB;AAElB,+CAA8D;AAC9D,+CAAuC;AACvC,mDAA6D;AAC7D,2CAA0D;AAC1D,uCAA8C;AAE9C,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,+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AM,EACN,oBAAQ,CAAC,EAAE,EACX,IAAA,4BAAc,EACZ,4CAA4C,EAC5C,gEAAgE,EAChE;gBACE,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/logging.js b/lib/logging.js index 1905785cac..1143b0f8e0 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getActionsLogger = getActionsLogger; exports.getRunnerLogger = getRunnerLogger; exports.withGroup = withGroup; +exports.withGroupAsync = withGroupAsync; exports.formatDuration = formatDuration; const core = __importStar(require("@actions/core")); function getActionsLogger() { @@ -65,6 +66,15 @@ function withGroup(groupName, f) { core.endGroup(); } } +async function withGroupAsync(groupName, f) { + core.startGroup(groupName); + try { + return await f(); + } + finally { + core.endGroup(); + } +} /** Format a duration for use in logs. */ function formatDuration(durationMs) { if (durationMs < 1000) { diff --git a/lib/logging.js.map b/lib/logging.js.map index de0669cef8..23b4ca5a3e 100644 --- a/lib/logging.js.map +++ b/lib/logging.js.map @@ -1 +1 @@ -{"version":3,"file":"logging.js","sourceRoot":"","sources":["../src/logging.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,4CAEC;AAED,0CAcC;AAED,8BAOC;AAGD,wCAWC;AAvDD,oDAAsC;AActC,SAAgB,gBAAgB;IAC9B,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,eAAe,CAAC,SAAkB;IAChD,OAAO;QACL,sCAAsC;QACtC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,SAAS;QAClD,sCAAsC;QACtC,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,sCAAsC;QACtC,OAAO,EAAE,OAAO,CAAC,IAAI;QACrB,sCAAsC;QACtC,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS;QACxB,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS;QAC3B,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS;KAC1B,CAAC;AACJ,CAAC;AAED,SAAgB,SAAS,CAAI,SAAiB,EAAE,CAAU;IACxD,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IAC3B,IAAI,CAAC;QACH,OAAO,CAAC,EAAE,CAAC;IACb,CAAC;YAAS,CAAC;QACT,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;AACH,CAAC;AAED,yCAAyC;AACzC,SAAgB,cAAc,CAAC,UAAkB;IAC/C,IAAI,UAAU,GAAG,IAAI,EAAE,CAAC;QACtB,OAAO,GAAG,UAAU,IAAI,CAAC;IAC3B,CAAC;IAED,IAAI,UAAU,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC;QAC3B,OAAO,GAAG,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC,OAAO,C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