From 1a7989f3955e0c69f0e0ccc14aee54a387a0fd31 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 22 Jul 2024 13:50:58 +0100 Subject: [PATCH 01/24] Add `dependency-caching` input to Action --- init/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/action.yml b/init/action.yml index 3299ac99e4..c33e8a61eb 100644 --- a/init/action.yml +++ b/init/action.yml @@ -136,6 +136,10 @@ inputs: description: >- Explicitly enable or disable TRAP caching rather than respecting the feature flag for it. required: false + dependency-caching: + description: >- + Explicitly enable or disable caching of project build dependencies. + required: false outputs: codeql-path: description: The path of the CodeQL binary used for analysis From 1922a489a83aada514bcfc2ced9ddafc40909fe3 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 22 Jul 2024 13:51:33 +0100 Subject: [PATCH 02/24] Add `dependencyCachingEnabled` to `Config` --- lib/config-utils.js | 6 ++++-- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 2 ++ lib/config-utils.test.js.map | 2 +- lib/init-action.js | 22 ++++++++++++++++++++++ lib/init-action.js.map | 2 +- lib/testing-utils.js | 1 + lib/testing-utils.js.map | 2 +- src/config-utils.test.ts | 2 ++ src/config-utils.ts | 8 ++++++++ src/init-action.ts | 24 ++++++++++++++++++++++++ src/testing-utils.ts | 1 + 12 files changed, 68 insertions(+), 6 deletions(-) diff --git a/lib/config-utils.js b/lib/config-utils.js index 3727aa8c68..4b7480fb2f 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -213,7 +213,7 @@ async function getRawLanguages(languagesInput, repository, logger) { /** * Get the default config for when the user has not supplied one. */ -async function getDefaultConfig({ languagesInput, queriesInput, packsInput, buildModeInput, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeql, githubVersion, features, logger, }) { +async function getDefaultConfig({ languagesInput, queriesInput, packsInput, buildModeInput, dbLocation, trapCachingEnabled, dependencyCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeql, githubVersion, features, logger, }) { const languages = await getLanguages(codeql, languagesInput, repository, logger); const buildMode = await parseBuildModeInput(buildModeInput, languages, features, logger); const augmentationProperties = calculateAugmentation(packsInput, queriesInput, languages); @@ -232,6 +232,7 @@ async function getDefaultConfig({ languagesInput, queriesInput, packsInput, buil augmentationProperties, trapCaches, trapCacheDownloadTime, + dependencyCachingEnabled, }; } async function downloadCacheWithTime(trapCachingEnabled, codeQL, languages, logger) { @@ -247,7 +248,7 @@ async function downloadCacheWithTime(trapCachingEnabled, codeQL, languages, logg /** * Load the config from the given file. */ -async function loadConfig({ languagesInput, queriesInput, packsInput, buildModeInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeql, workspacePath, githubVersion, apiDetails, features, logger, }) { +async function loadConfig({ languagesInput, queriesInput, packsInput, buildModeInput, configFile, dbLocation, trapCachingEnabled, dependencyCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeql, workspacePath, githubVersion, apiDetails, features, logger, }) { let parsedYAML; if (isLocal(configFile)) { if (configFile !== userConfigFromActionPath(tempDir)) { @@ -281,6 +282,7 @@ async function loadConfig({ languagesInput, queriesInput, packsInput, buildModeI augmentationProperties, trapCaches, trapCacheDownloadTime, + dependencyCachingEnabled, }; } /** diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 7ab446a378..76fd482b1d 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":";;;;;;;;;;;;;;;;;;;;;;;;;;AA6LA,gDAWC;AAED,8FAIC;AAED,sFAIC;AAED,sFAOC;AAED,8EAEC;AAED,gFAEC;AAcD,kDAKC;AAED,4DAEC;AAMD,gDAwBC;AAYD,oCAyDC;AAYD,0CAoBC;AAqCD,4CA2DC;AA6HD,sDAuBC;AAqCD,kDAuCC;AAoBD,0D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,QAAQ,CAAC,uBAAO,CAAC,2BAA2B,CAAC,CAAC,EAC9D,CAAC;QACD,MAAM,CAAC,OAAO,CACZ,wGAAwG,CACzG,CAAC;QACF,OAAO,gBAAS,CAAC,SAAS,CAAC;IAC7B,CAAC;IACD,OAAO,KAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index e0824a2dca..5b799b5256 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -53,6 +53,7 @@ function createTestInitConfigInputs(overrides) { configInput: undefined, buildModeInput: undefined, trapCachingEnabled: false, + dependencyCachingEnabled: false, debugMode: false, debugArtifactName: "", debugDatabaseName: "", @@ -286,6 +287,7 @@ function mockListLanguages(languages) { augmentationProperties: configUtils.defaultAugmentationProperties, trapCaches: {}, trapCacheDownloadTime: 0, + dependencyCachingEnabled: false, }; const languagesInput = "javascript"; const configFilePath = createConfigFile(inputFileContents, tempDir); diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index bd4bad1fb9..d824443b9a 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAKkB;AAClB,4DAA8C;AAC9C,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AACzB,iCAOgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,oBAAa,CAAC,MAAM,EAAmB,CAAC;AAEtE,SAAS,0BAA0B,CACjC,SAAgD;IAEhD,OAAO,MAAM,CAAC,MAAM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,CAAC,OAAO,CAAC,CAAC,EACzB,IAAA,kCAAkB,EAAC,QAAQ,CAAC,CAC7B,CAAC;QACF,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,gBAAS,CAAC,SAAS,CAAC,CAAC;QACrC,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE;YACpB;gBACE,OAAO,EAAE,YAAY,WAAW,2FAA2F;gBAC3H,IAAI,EAAE,SAAS;aAChB;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index a664d89946..4b404eaca4 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -181,6 +181,7 @@ async function run() { dbLocation: (0, actions_util_1.getOptionalInput)("db-location"), configInput: (0, actions_util_1.getOptionalInput)("config"), trapCachingEnabled: getTrapCachingEnabled(), + dependencyCachingEnabled: getDependencyCachingEnabled(), // Debug mode is enabled if: // - The `init` Action is passed `debug: true`. // - Actions step debugging is enabled (e.g. by [enabling debug logging for a rerun](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow), @@ -411,6 +412,27 @@ async function recordZstdAvailability(config, zstdAvailability) { }, })); } +/** Determines whether we are running in default setup. */ +function isDefaultSetup() { + // This is set to something in default setup runs. + // TODO: replace with something better, if there's something. + return process.env["CODE_SCANNING_WORKFLOW_FILE"] !== undefined; +} +/** Determines whether dependency caching is enabled. */ +function getDependencyCachingEnabled() { + // If the workflow specified something always respect that + const dependencyCaching = (0, actions_util_1.getOptionalInput)("dependency-caching"); + if (dependencyCaching !== undefined) + return dependencyCaching === "true"; + // On self-hosted runners which may have dependencies installed centrally, disable caching by default + if (!(0, util_1.isHostedRunner)()) + return false; + // Disable in advanced workflows by default. + if (!isDefaultSetup()) + return false; + // On hosted runners, enable dependency caching by default + return true; +} async function runWrapper() { try { await run(); diff --git a/lib/init-action.js.map b/lib/init-action.js.map index e98ae89472..d8612b8286 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QAChD,kBAAkB,EAAE,iBAAiB,IAAI,EAAE;KAC5C,CAAC;IAEF,MAAM,uBAA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,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,sBAAsB,CACnC,MAA0B,EAC1B,gBAAkC;IAElC,IAAA,2BAAa,EACX,MAAM;IACN,sFAAsF;IACtF,kDAAkD;IAClD,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EACnB,IAAA,4BAAc,EACZ,iCAAiC,EACjC,wBAAwB,EACxB;QACE,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU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EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,0DAA0D;AAC1D,SAAS,cAAc;IACrB,kDAAkD;IAClD,6DAA6D;IAC7D,OAAO,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,KAAK,SAAS,CAAC;AAClE,CAAC;AAED,wDAAwD;AACxD,SAAS,2BAA2B;IAClC,0DAA0D;IAC1D,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,oBAAoB,CAAC,CAAC;IACjE,IAAI,iBAAiB,KAAK,SAAS;QAAE,OAAO,iBAAiB,KAAK,MAAM,CAAC;IAEzE,qGAAqG;IACrG,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,4CAA4C;IAC5C,IAAI,CAAC,cAAc,EAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,0DAA0D;IAC1D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/testing-utils.js b/lib/testing-utils.js index 15169770e9..692243110f 100644 --- a/lib/testing-utils.js +++ b/lib/testing-utils.js @@ -271,6 +271,7 @@ function createTestConfig(overrides) { }, trapCaches: {}, trapCacheDownloadTime: 0, + dependencyCachingEnabled: false, }, overrides); } //# sourceMappingURL=testing-utils.js.map \ No newline at end of file diff --git a/lib/testing-utils.js.map b/lib/testing-utils.js.map index 7ad9b1066b..871f1d29cc 100644 --- a/lib/testing-utils.js.map +++ b/lib/testing-utils.js.map @@ -1 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a,CACZ,GAAG,EACH,cAAI,CAAC,IAAI,CACP,SAAS,EACT,iCAAiC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,CACpE,CACF,CAAC;IAEJ,OAAO,GAAG,OAAO,GAAG,WAAW,EAAE,CAAC;AACpC,CAAC;AAED,SAAgB,gBAAgB,CAAC,SAA0B;IACzD,OAAO,MAAM,CAAC,MAAM,CAClB,EAAE,EACF;QACE,SAAS,EAAE,EAAE;QACb,SAAS,EAAE,SAAS;QACpB,iBAAiB,EAAE,EAAE;QACrB,OAAO,EAAE,EAAE;QACX,SAAS,EAAE,EAAE;QACb,aAAa,EAAE;YACb,IAAI,EAAE,oBAAa,CAAC,MAAM;SACV;QAClB,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,KAAK;QAChB,iBAAiB,EAAE,kCAA2B;QAC9C,iBAAiB,EAAE,kCAA2B;QAC9C,sBAAsB,EAAE;YACtB,kBAAkB,EAAE,KAAK;YACzB,oBAAoB,EAAE,KAAK;SAC5B;QACD,UAAU,EAAE,EAAE;QACd,qBAAqB,EAAE,CAAC;KACzB,EACD,SAAS,CACV,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"testing-utils.js","sourceRoot":"","sources":["../src/testing-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFA,gCAoDC;AAID,4CAIC;AAOD,gDA0BC;AAGD,gEAwBC;AAED,kDAqBC;AAaD,8CASC;AAOD,wCASC;AAQD,sDAsCC;AAED,4CA0BC;AAjVD,yCAAwC;AACxC,gDAAwB;AAExB,wDAA0C;AAE1C,gDAAwB;AACxB,6CAA+B;AAE/B,wDAA0C;AAE1C,iDAAmC;AAEnC,0DAA4C;AAO5C,iCAMgB;AAEH,QAAA,yBAAyB,GAAG;IACvC,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAEW,QAAA,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EAAE,KAAK;QAChB,iBAAiB,EAAE,kCAA2B;QAC9C,iBAAiB,EAAE,kCAA2B;QAC9C,sBAAsB,EAAE;YACtB,kBAAkB,EAAE,KAAK;YACzB,oBAAoB,EAAE,KAAK;SAC5B;QACD,UAAU,EAAE,EAAE;QACd,qBAAqB,EAAE,CAAC;QACxB,wBAAwB,EAAE,KAAK;KAChC,EACD,SAAS,CACV,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index e036a2e3e9..695dbf94d3 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -52,6 +52,7 @@ function createTestInitConfigInputs( configInput: undefined, buildModeInput: undefined, trapCachingEnabled: false, + dependencyCachingEnabled: false, debugMode: false, debugArtifactName: "", debugDatabaseName: "", @@ -347,6 +348,7 @@ test("load non-empty input", async (t) => { augmentationProperties: configUtils.defaultAugmentationProperties, trapCaches: {}, trapCacheDownloadTime: 0, + dependencyCachingEnabled: false, }; const languagesInput = "javascript"; diff --git a/src/config-utils.ts b/src/config-utils.ts index e0d188f0df..ca15d42784 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -136,6 +136,9 @@ export interface Config { * Time taken to download TRAP caches. Used for status reporting. */ trapCacheDownloadTime: number; + + /** A value indicating whether dependency caching is enabled. */ + dependencyCachingEnabled: boolean; } /** @@ -393,6 +396,7 @@ export interface InitConfigInputs { configInput: string | undefined; buildModeInput: string | undefined; trapCachingEnabled: boolean; + dependencyCachingEnabled: boolean; debugMode: boolean; debugArtifactName: string; debugDatabaseName: string; @@ -425,6 +429,7 @@ export async function getDefaultConfig({ buildModeInput, dbLocation, trapCachingEnabled, + dependencyCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, @@ -476,6 +481,7 @@ export async function getDefaultConfig({ augmentationProperties, trapCaches, trapCacheDownloadTime, + dependencyCachingEnabled, }; } @@ -509,6 +515,7 @@ async function loadConfig({ configFile, dbLocation, trapCachingEnabled, + dependencyCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, @@ -580,6 +587,7 @@ async function loadConfig({ augmentationProperties, trapCaches, trapCacheDownloadTime, + dependencyCachingEnabled, }; } diff --git a/src/init-action.ts b/src/init-action.ts index c7ce27cd29..9c78b5f72f 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -339,6 +339,7 @@ async function run() { dbLocation: getOptionalInput("db-location"), configInput: getOptionalInput("config"), trapCachingEnabled: getTrapCachingEnabled(), + dependencyCachingEnabled: getDependencyCachingEnabled(), // Debug mode is enabled if: // - The `init` Action is passed `debug: true`. // - Actions step debugging is enabled (e.g. by [enabling debug logging for a rerun](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow), @@ -716,6 +717,29 @@ async function recordZstdAvailability( ); } +/** Determines whether we are running in default setup. */ +function isDefaultSetup(): boolean { + // This is set to something in default setup runs. + // TODO: replace with something better, if there's something. + return process.env["CODE_SCANNING_WORKFLOW_FILE"] !== undefined; +} + +/** Determines whether dependency caching is enabled. */ +function getDependencyCachingEnabled(): boolean { + // If the workflow specified something always respect that + const dependencyCaching = getOptionalInput("dependency-caching"); + if (dependencyCaching !== undefined) return dependencyCaching === "true"; + + // On self-hosted runners which may have dependencies installed centrally, disable caching by default + if (!isHostedRunner()) return false; + + // Disable in advanced workflows by default. + if (!isDefaultSetup()) return false; + + // On hosted runners, enable dependency caching by default + return true; +} + async function runWrapper() { try { await run(); diff --git a/src/testing-utils.ts b/src/testing-utils.ts index af51ddcb84..ac91628753 100644 --- a/src/testing-utils.ts +++ b/src/testing-utils.ts @@ -331,6 +331,7 @@ export function createTestConfig(overrides: Partial): Config { }, trapCaches: {}, trapCacheDownloadTime: 0, + dependencyCachingEnabled: false, }, overrides, ); From 19e7c25974313e2afeeaa2efbb7d12f384fb1700 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 22 Jul 2024 14:10:19 +0100 Subject: [PATCH 03/24] Add explicit dependency on `@actions/glob` --- node_modules/.package-lock.json | 16 +- .../node_modules/@actions/glob/LICENSE.md | 9 + .../node_modules/@actions/glob/README.md | 113 ++++++++ .../node_modules/@actions/glob/lib/glob.d.ts | 10 + .../node_modules/@actions/glob/lib/glob.js | 26 ++ .../@actions/glob/lib/glob.js.map | 1 + .../lib/internal-glob-options-helper.d.ts | 5 + .../glob/lib/internal-glob-options-helper.js | 50 ++++ .../lib/internal-glob-options-helper.js.map | 1 + .../glob/lib/internal-glob-options.d.ts | 29 ++ .../glob/lib/internal-glob-options.js | 3 + .../glob/lib/internal-glob-options.js.map | 1 + .../@actions/glob/lib/internal-globber.d.ts | 42 +++ .../@actions/glob/lib/internal-globber.js | 235 ++++++++++++++++ .../@actions/glob/lib/internal-globber.js.map | 1 + .../glob/lib/internal-match-kind.d.ts | 13 + .../@actions/glob/lib/internal-match-kind.js | 18 ++ .../glob/lib/internal-match-kind.js.map | 1 + .../glob/lib/internal-path-helper.d.ts | 42 +++ .../@actions/glob/lib/internal-path-helper.js | 198 ++++++++++++++ .../glob/lib/internal-path-helper.js.map | 1 + .../@actions/glob/lib/internal-path.d.ts | 15 ++ .../@actions/glob/lib/internal-path.js | 113 ++++++++ .../@actions/glob/lib/internal-path.js.map | 1 + .../glob/lib/internal-pattern-helper.d.ts | 15 ++ .../glob/lib/internal-pattern-helper.js | 94 +++++++ .../glob/lib/internal-pattern-helper.js.map | 1 + .../@actions/glob/lib/internal-pattern.d.ts | 64 +++++ .../@actions/glob/lib/internal-pattern.js | 255 ++++++++++++++++++ .../@actions/glob/lib/internal-pattern.js.map | 1 + .../glob/lib/internal-search-state.d.ts | 5 + .../glob/lib/internal-search-state.js | 11 + .../glob/lib/internal-search-state.js.map | 1 + .../node_modules/@actions/glob/package.json | 43 +++ node_modules/@actions/glob/lib/glob.d.ts | 10 + node_modules/@actions/glob/lib/glob.js | 22 +- node_modules/@actions/glob/lib/glob.js.map | 2 +- .../glob/lib/internal-glob-options-helper.js | 5 + .../lib/internal-glob-options-helper.js.map | 2 +- .../glob/lib/internal-glob-options.d.ts | 7 + .../@actions/glob/lib/internal-globber.js | 2 +- .../@actions/glob/lib/internal-globber.js.map | 2 +- .../glob/lib/internal-hash-file-options.d.ts | 12 + .../glob/lib/internal-hash-file-options.js | 3 + .../lib/internal-hash-file-options.js.map | 1 + .../glob/lib/internal-hash-files.d.ts | 2 + .../@actions/glob/lib/internal-hash-files.js | 97 +++++++ .../glob/lib/internal-hash-files.js.map | 1 + node_modules/@actions/glob/package.json | 4 +- package-lock.json | 17 +- package.json | 1 + 51 files changed, 1611 insertions(+), 13 deletions(-) create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/LICENSE.md create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/README.md create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.d.ts create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js.map create mode 100644 node_modules/@actions/cache/node_modules/@actions/glob/package.json create mode 100644 node_modules/@actions/glob/lib/internal-hash-file-options.d.ts create mode 100644 node_modules/@actions/glob/lib/internal-hash-file-options.js create mode 100644 node_modules/@actions/glob/lib/internal-hash-file-options.js.map create mode 100644 node_modules/@actions/glob/lib/internal-hash-files.d.ts create mode 100644 node_modules/@actions/glob/lib/internal-hash-files.js create mode 100644 node_modules/@actions/glob/lib/internal-hash-files.js.map diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 93236d2269..3aa96a562c 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -102,6 +102,15 @@ "uuid": "^3.3.3" } }, + "node_modules/@actions/cache/node_modules/@actions/glob": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.1.2.tgz", + "integrity": "sha512-SclLR7Ia5sEqjkJTPs7Sd86maMDw43p769YxBOxvPvEWuPEhpAnBsQfENOpXjFYMmhCqd127bmf+YdvJqVqR4A==", + "dependencies": { + "@actions/core": "^1.2.6", + "minimatch": "^3.0.4" + } + }, "node_modules/@actions/cache/node_modules/semver": { "version": "6.3.1", "license": "ISC", @@ -143,10 +152,11 @@ } }, "node_modules/@actions/glob": { - "version": "0.1.2", - "license": "MIT", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.4.0.tgz", + "integrity": "sha512-+eKIGFhsFa4EBwaf/GMyzCdWrXWymGXfFmZU3FHQvYS8mPcHtTtZONbkcqqUMzw9mJ/pImEBFET1JNifhqGsAQ==", "dependencies": { - "@actions/core": "^1.2.6", + "@actions/core": "^1.9.1", "minimatch": "^3.0.4" } }, diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/LICENSE.md b/node_modules/@actions/cache/node_modules/@actions/glob/LICENSE.md new file mode 100644 index 0000000000..dbae2edb2c --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/LICENSE.md @@ -0,0 +1,9 @@ +The MIT License (MIT) + +Copyright 2019 GitHub + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/README.md b/node_modules/@actions/cache/node_modules/@actions/glob/README.md new file mode 100644 index 0000000000..9575beaa1d --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/README.md @@ -0,0 +1,113 @@ +# `@actions/glob` + +## Usage + +### Basic + +You can use this package to search for files matching glob patterns. + +Relative paths and absolute paths are both allowed. Relative paths are rooted against the current working directory. + +```js +const glob = require('@actions/glob'); + +const patterns = ['**/tar.gz', '**/tar.bz'] +const globber = await glob.create(patterns.join('\n')) +const files = await globber.glob() +``` + +### Opt out of following symbolic links + +```js +const glob = require('@actions/glob'); + +const globber = await glob.create('**', {followSymbolicLinks: false}) +const files = await globber.glob() +``` + +### Iterator + +When dealing with a large amount of results, consider iterating the results as they are returned: + +```js +const glob = require('@actions/glob'); + +const globber = await glob.create('**') +for await (const file of globber.globGenerator()) { + console.log(file) +} +``` + +## Recommended action inputs + +Glob follows symbolic links by default. Following is often appropriate unless deleting files. + +Users may want to opt-out from following symbolic links for other reasons. For example, +excessive amounts of symbolic links can create the appearance of very, very many files +and slow the search. + +When an action allows a user to specify input patterns, it is generally recommended to +allow users to opt-out from following symbolic links. + +Snippet from `action.yml`: + +```yaml +inputs: + files: + description: 'Files to print' + required: true + follow-symbolic-links: + description: 'Indicates whether to follow symbolic links' + default: true +``` + +And corresponding toolkit consumption: + +```js +const core = require('@actions/core') +const glob = require('@actions/glob') + +const globOptions = { + followSymbolicLinks: core.getInput('follow-symbolic-links').toUpper() !== 'FALSE' +} +const globber = glob.create(core.getInput('files'), globOptions) +for await (const file of globber.globGenerator()) { + console.log(file) +} +``` + +## Patterns + +### Glob behavior + +Patterns `*`, `?`, `[...]`, `**` (globstar) are supported. + +With the following behaviors: +- File names that begin with `.` may be included in the results +- Case insensitive on Windows +- Directory separator `/` and `\` both supported on Windows + +### Tilde expansion + +Supports basic tilde expansion, for current user HOME replacement only. + +Example: +- `~` may expand to /Users/johndoe +- `~/foo` may expand to /Users/johndoe/foo + +### Comments + +Patterns that begin with `#` are treated as comments. + +### Exclude patterns + +Leading `!` changes the meaning of an include pattern to exclude. + +Multiple leading `!` flips the meaning. + +### Escaping + +Wrapping special characters in `[]` can be used to escape literal glob characters +in a file name. For example the literal file name `hello[a-z]` can be escaped as `hello[[]a-z]`. + +On Linux/macOS `\` is also treated as an escape character. diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.d.ts new file mode 100644 index 0000000000..56424fc3a8 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.d.ts @@ -0,0 +1,10 @@ +import { Globber } from './internal-globber'; +import { GlobOptions } from './internal-glob-options'; +export { Globber, GlobOptions }; +/** + * Constructs a globber + * + * @param patterns Patterns separated by newlines + * @param options Glob options + */ +export declare function create(patterns: string, options?: GlobOptions): Promise; diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js new file mode 100644 index 0000000000..58cb68331e --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js @@ -0,0 +1,26 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.create = void 0; +const internal_globber_1 = require("./internal-globber"); +/** + * Constructs a globber + * + * @param patterns Patterns separated by newlines + * @param options Glob options + */ +function create(patterns, options) { + return __awaiter(this, void 0, void 0, function* () { + return yield internal_globber_1.DefaultGlobber.create(patterns, options); + }); +} +exports.create = create; +//# sourceMappingURL=glob.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js.map new file mode 100644 index 0000000000..b27e7e4af6 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/glob.js.map @@ -0,0 +1 @@ +{"version":3,"file":"glob.js","sourceRoot":"","sources":["../src/glob.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA0D;AAK1D;;;;;GAKG;AACH,SAAsB,MAAM,CAC1B,QAAgB,EAChB,OAAqB;;QAErB,OAAO,MAAM,iCAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IACvD,CAAC;CAAA;AALD,wBAKC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.d.ts new file mode 100644 index 0000000000..8a789606e3 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.d.ts @@ -0,0 +1,5 @@ +import { GlobOptions } from './internal-glob-options'; +/** + * Returns a copy with defaults filled in. + */ +export declare function getOptions(copy?: GlobOptions): GlobOptions; diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js new file mode 100644 index 0000000000..974dfd038d --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getOptions = void 0; +const core = __importStar(require("@actions/core")); +/** + * Returns a copy with defaults filled in. + */ +function getOptions(copy) { + const result = { + followSymbolicLinks: true, + implicitDescendants: true, + omitBrokenSymbolicLinks: true + }; + if (copy) { + if (typeof copy.followSymbolicLinks === 'boolean') { + result.followSymbolicLinks = copy.followSymbolicLinks; + core.debug(`followSymbolicLinks '${result.followSymbolicLinks}'`); + } + if (typeof copy.implicitDescendants === 'boolean') { + result.implicitDescendants = copy.implicitDescendants; + core.debug(`implicitDescendants '${result.implicitDescendants}'`); + } + if (typeof copy.omitBrokenSymbolicLinks === 'boolean') { + result.omitBrokenSymbolicLinks = copy.omitBrokenSymbolicLinks; + core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`); + } + } + return result; +} +exports.getOptions = getOptions; +//# sourceMappingURL=internal-glob-options-helper.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map new file mode 100644 index 0000000000..93376ddc0a --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-glob-options-helper.js","sourceRoot":"","sources":["../src/internal-glob-options-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AAGrC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAkB;IAC3C,MAAM,MAAM,GAAgB;QAC1B,mBAAmB,EAAE,IAAI;QACzB,mBAAmB,EAAE,IAAI;QACzB,uBAAuB,EAAE,IAAI;KAC9B,CAAA;IAED,IAAI,IAAI,EAAE;QACR,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE;YACjD,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAA;YACrD,IAAI,CAAC,KAAK,CAAC,wBAAwB,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAA;SAClE;QAED,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE;YACjD,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAA;YACrD,IAAI,CAAC,KAAK,CAAC,wBAAwB,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAA;SAClE;QAED,IAAI,OAAO,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE;YACrD,MAAM,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAA;YAC7D,IAAI,CAAC,KAAK,CAAC,4BAA4B,MAAM,CAAC,uBAAuB,GAAG,CAAC,CAAA;SAC1E;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAzBD,gCAyBC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.d.ts new file mode 100644 index 0000000000..c1cac0f1f4 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.d.ts @@ -0,0 +1,29 @@ +/** + * Options to control globbing behavior + */ +export interface GlobOptions { + /** + * Indicates whether to follow symbolic links. Generally should set to false + * when deleting files. + * + * @default true + */ + followSymbolicLinks?: boolean; + /** + * Indicates whether directories that match a glob pattern, should implicitly + * cause all descendant paths to be matched. + * + * For example, given the directory `my-dir`, the following glob patterns + * would produce the same results: `my-dir/**`, `my-dir/`, `my-dir` + * + * @default true + */ + implicitDescendants?: boolean; + /** + * Indicates whether broken symbolic should be ignored and omitted from the + * result set. Otherwise an error will be thrown. + * + * @default true + */ + omitBrokenSymbolicLinks?: boolean; +} diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js new file mode 100644 index 0000000000..8960c70efe --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=internal-glob-options.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js.map new file mode 100644 index 0000000000..dec7953297 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-glob-options.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-glob-options.js","sourceRoot":"","sources":["../src/internal-glob-options.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.d.ts new file mode 100644 index 0000000000..6d0036bf75 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.d.ts @@ -0,0 +1,42 @@ +import { GlobOptions } from './internal-glob-options'; +export { GlobOptions }; +/** + * Used to match files and directories + */ +export interface Globber { + /** + * Returns the search path preceding the first glob segment, from each pattern. + * Duplicates and descendants of other paths are filtered out. + * + * Example 1: The patterns `/foo/*` and `/bar/*` returns `/foo` and `/bar`. + * + * Example 2: The patterns `/foo/*` and `/foo/bar/*` returns `/foo`. + */ + getSearchPaths(): string[]; + /** + * Returns files and directories matching the glob patterns. + * + * Order of the results is not guaranteed. + */ + glob(): Promise; + /** + * Returns files and directories matching the glob patterns. + * + * Order of the results is not guaranteed. + */ + globGenerator(): AsyncGenerator; +} +export declare class DefaultGlobber implements Globber { + private readonly options; + private readonly patterns; + private readonly searchPaths; + private constructor(); + getSearchPaths(): string[]; + glob(): Promise; + globGenerator(): AsyncGenerator; + /** + * Constructs a DefaultGlobber + */ + static create(patterns: string, options?: GlobOptions): Promise; + private static stat; +} diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js new file mode 100644 index 0000000000..a6695b5c21 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js @@ -0,0 +1,235 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __asyncValues = (this && this.__asyncValues) || function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +}; +var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } +var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DefaultGlobber = void 0; +const core = __importStar(require("@actions/core")); +const fs = __importStar(require("fs")); +const globOptionsHelper = __importStar(require("./internal-glob-options-helper")); +const path = __importStar(require("path")); +const patternHelper = __importStar(require("./internal-pattern-helper")); +const internal_match_kind_1 = require("./internal-match-kind"); +const internal_pattern_1 = require("./internal-pattern"); +const internal_search_state_1 = require("./internal-search-state"); +const IS_WINDOWS = process.platform === 'win32'; +class DefaultGlobber { + constructor(options) { + this.patterns = []; + this.searchPaths = []; + this.options = globOptionsHelper.getOptions(options); + } + getSearchPaths() { + // Return a copy + return this.searchPaths.slice(); + } + glob() { + var e_1, _a; + return __awaiter(this, void 0, void 0, function* () { + const result = []; + try { + for (var _b = __asyncValues(this.globGenerator()), _c; _c = yield _b.next(), !_c.done;) { + const itemPath = _c.value; + result.push(itemPath); + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + return result; + }); + } + globGenerator() { + return __asyncGenerator(this, arguments, function* globGenerator_1() { + // Fill in defaults options + const options = globOptionsHelper.getOptions(this.options); + // Implicit descendants? + const patterns = []; + for (const pattern of this.patterns) { + patterns.push(pattern); + if (options.implicitDescendants && + (pattern.trailingSeparator || + pattern.segments[pattern.segments.length - 1] !== '**')) { + patterns.push(new internal_pattern_1.Pattern(pattern.negate, true, pattern.segments.concat('**'))); + } + } + // Push the search paths + const stack = []; + for (const searchPath of patternHelper.getSearchPaths(patterns)) { + core.debug(`Search path '${searchPath}'`); + // Exists? + try { + // Intentionally using lstat. Detection for broken symlink + // will be performed later (if following symlinks). + yield __await(fs.promises.lstat(searchPath)); + } + catch (err) { + if (err.code === 'ENOENT') { + continue; + } + throw err; + } + stack.unshift(new internal_search_state_1.SearchState(searchPath, 1)); + } + // Search + const traversalChain = []; // used to detect cycles + while (stack.length) { + // Pop + const item = stack.pop(); + // Match? + const match = patternHelper.match(patterns, item.path); + const partialMatch = !!match || patternHelper.partialMatch(patterns, item.path); + if (!match && !partialMatch) { + continue; + } + // Stat + const stats = yield __await(DefaultGlobber.stat(item, options, traversalChain) + // Broken symlink, or symlink cycle detected, or no longer exists + ); + // Broken symlink, or symlink cycle detected, or no longer exists + if (!stats) { + continue; + } + // Directory + if (stats.isDirectory()) { + // Matched + if (match & internal_match_kind_1.MatchKind.Directory) { + yield yield __await(item.path); + } + // Descend? + else if (!partialMatch) { + continue; + } + // Push the child items in reverse + const childLevel = item.level + 1; + const childItems = (yield __await(fs.promises.readdir(item.path))).map(x => new internal_search_state_1.SearchState(path.join(item.path, x), childLevel)); + stack.push(...childItems.reverse()); + } + // File + else if (match & internal_match_kind_1.MatchKind.File) { + yield yield __await(item.path); + } + } + }); + } + /** + * Constructs a DefaultGlobber + */ + static create(patterns, options) { + return __awaiter(this, void 0, void 0, function* () { + const result = new DefaultGlobber(options); + if (IS_WINDOWS) { + patterns = patterns.replace(/\r\n/g, '\n'); + patterns = patterns.replace(/\r/g, '\n'); + } + const lines = patterns.split('\n').map(x => x.trim()); + for (const line of lines) { + // Empty or comment + if (!line || line.startsWith('#')) { + continue; + } + // Pattern + else { + result.patterns.push(new internal_pattern_1.Pattern(line)); + } + } + result.searchPaths.push(...patternHelper.getSearchPaths(result.patterns)); + return result; + }); + } + static stat(item, options, traversalChain) { + return __awaiter(this, void 0, void 0, function* () { + // Note: + // `stat` returns info about the target of a symlink (or symlink chain) + // `lstat` returns info about a symlink itself + let stats; + if (options.followSymbolicLinks) { + try { + // Use `stat` (following symlinks) + stats = yield fs.promises.stat(item.path); + } + catch (err) { + if (err.code === 'ENOENT') { + if (options.omitBrokenSymbolicLinks) { + core.debug(`Broken symlink '${item.path}'`); + return undefined; + } + throw new Error(`No information found for the path '${item.path}'. This may indicate a broken symbolic link.`); + } + throw err; + } + } + else { + // Use `lstat` (not following symlinks) + stats = yield fs.promises.lstat(item.path); + } + // Note, isDirectory() returns false for the lstat of a symlink + if (stats.isDirectory() && options.followSymbolicLinks) { + // Get the realpath + const realPath = yield fs.promises.realpath(item.path); + // Fixup the traversal chain to match the item level + while (traversalChain.length >= item.level) { + traversalChain.pop(); + } + // Test for a cycle + if (traversalChain.some((x) => x === realPath)) { + core.debug(`Symlink cycle detected for path '${item.path}' and realpath '${realPath}'`); + return undefined; + } + // Update the traversal chain + traversalChain.push(realPath); + } + return stats; + }); + } +} +exports.DefaultGlobber = DefaultGlobber; +//# sourceMappingURL=internal-globber.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js.map new file mode 100644 index 0000000000..cd1f05d9ba --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-globber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-globber.js","sourceRoot":"","sources":["../src/internal-globber.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AACrC,uCAAwB;AACxB,kFAAmE;AACnE,2CAA4B;AAC5B,yEAA0D;AAE1D,+DAA+C;AAC/C,yDAA0C;AAC1C,mEAAmD;AAEnD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAiC/C,MAAa,cAAc;IAKzB,YAAoB,OAAqB;QAHxB,aAAQ,GAAc,EAAE,CAAA;QACxB,gBAAW,GAAa,EAAE,CAAA;QAGzC,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;IACtD,CAAC;IAED,cAAc;QACZ,gBAAgB;QAChB,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAA;IACjC,CAAC;IAEK,IAAI;;;YACR,MAAM,MAAM,GAAa,EAAE,CAAA;;gBAC3B,KAA6B,IAAA,KAAA,cAAA,IAAI,CAAC,aAAa,EAAE,CAAA,IAAA;oBAAtC,MAAM,QAAQ,WAAA,CAAA;oBACvB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;iBACtB;;;;;;;;;YACD,OAAO,MAAM,CAAA;;KACd;IAEM,aAAa;;YAClB,2BAA2B;YAC3B,MAAM,OAAO,GAAG,iBAAiB,CAAC,UAAU,CAAC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O,GAAG,EAAE;oBACZ,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;wBACzB,IAAI,OAAO,CAAC,uBAAuB,EAAE;4BACnC,IAAI,CAAC,KAAK,CAAC,mBAAmB,IAAI,CAAC,IAAI,GAAG,CAAC,CAAA;4BAC3C,OAAO,SAAS,CAAA;yBACjB;wBAED,MAAM,IAAI,KAAK,CACb,sCAAsC,IAAI,CAAC,IAAI,8CAA8C,CAC9F,CAAA;qBACF;oBAED,MAAM,GAAG,CAAA;iBACV;aACF;iBAAM;gBACL,uCAAuC;gBACvC,KAAK,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;aAC3C;YAED,+DAA+D;YAC/D,IAAI,KAAK,CAAC,WAAW,EAAE,IAAI,OAAO,CAAC,mBAAmB,EAAE;gBACtD,mBAAmB;gBACnB,MAAM,QAAQ,GAAW,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;gBAE9D,oDAAoD;gBACpD,OAAO,cAAc,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EAAE;oBAC1C,cAAc,CAAC,GAAG,EAAE,CAAA;iBACrB;gBAED,mBAAmB;gBACnB,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,EAAE;oBACtD,IAAI,CAAC,KAAK,CACR,oCAAoC,IAAI,CAAC,IAAI,mBAAmB,QAAQ,GAAG,CAC5E,CAAA;oBACD,OAAO,SAAS,CAAA;iBACjB;gBAED,6BAA6B;gBAC7B,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;aAC9B;YAED,OAAO,KAAK,CAAA;QACd,CAAC;KAAA;CACF;AAvMD,wCAuMC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.d.ts new file mode 100644 index 0000000000..a7e60aaf7c --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.d.ts @@ -0,0 +1,13 @@ +/** + * Indicates whether a pattern matches a path + */ +export declare enum MatchKind { + /** Not matched */ + None = 0, + /** Matched if the path is a directory */ + Directory = 1, + /** Matched if the path is a regular file */ + File = 2, + /** Matched */ + All = 3 +} diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js new file mode 100644 index 0000000000..37146ae7e0 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.MatchKind = void 0; +/** + * Indicates whether a pattern matches a path + */ +var MatchKind; +(function (MatchKind) { + /** Not matched */ + MatchKind[MatchKind["None"] = 0] = "None"; + /** Matched if the path is a directory */ + MatchKind[MatchKind["Directory"] = 1] = "Directory"; + /** Matched if the path is a regular file */ + MatchKind[MatchKind["File"] = 2] = "File"; + /** Matched */ + MatchKind[MatchKind["All"] = 3] = "All"; +})(MatchKind = exports.MatchKind || (exports.MatchKind = {})); +//# sourceMappingURL=internal-match-kind.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js.map new file mode 100644 index 0000000000..6fa3c9f71e --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-match-kind.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-match-kind.js","sourceRoot":"","sources":["../src/internal-match-kind.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,SAYX;AAZD,WAAY,SAAS;IACnB,kBAAkB;IAClB,yCAAQ,CAAA;IAER,yCAAyC;IACzC,mDAAa,CAAA;IAEb,4CAA4C;IAC5C,yCAAQ,CAAA;IAER,cAAc;IACd,uCAAsB,CAAA;AACxB,CAAC,EAZW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAYpB"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.d.ts new file mode 100644 index 0000000000..0375c36c57 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.d.ts @@ -0,0 +1,42 @@ +/** + * Similar to path.dirname except normalizes the path separators and slightly better handling for Windows UNC paths. + * + * For example, on Linux/macOS: + * - `/ => /` + * - `/hello => /` + * + * For example, on Windows: + * - `C:\ => C:\` + * - `C:\hello => C:\` + * - `C: => C:` + * - `C:hello => C:` + * - `\ => \` + * - `\hello => \` + * - `\\hello => \\hello` + * - `\\hello\world => \\hello\world` + */ +export declare function dirname(p: string): string; +/** + * Roots the path if not already rooted. On Windows, relative roots like `\` + * or `C:` are expanded based on the current working directory. + */ +export declare function ensureAbsoluteRoot(root: string, itemPath: string): string; +/** + * On Linux/macOS, true if path starts with `/`. On Windows, true for paths like: + * `\\hello\share` and `C:\hello` (and using alternate separator). + */ +export declare function hasAbsoluteRoot(itemPath: string): boolean; +/** + * On Linux/macOS, true if path starts with `/`. On Windows, true for paths like: + * `\`, `\hello`, `\\hello\share`, `C:`, and `C:\hello` (and using alternate separator). + */ +export declare function hasRoot(itemPath: string): boolean; +/** + * Removes redundant slashes and converts `/` to `\` on Windows + */ +export declare function normalizeSeparators(p: string): string; +/** + * Normalizes the path separators and trims the trailing separator (when safe). + * For example, `/foo/ => /foo` but `/ => /` + */ +export declare function safeTrimTrailingSeparator(p: string): string; diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js new file mode 100644 index 0000000000..5057add379 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js @@ -0,0 +1,198 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.safeTrimTrailingSeparator = exports.normalizeSeparators = exports.hasRoot = exports.hasAbsoluteRoot = exports.ensureAbsoluteRoot = exports.dirname = void 0; +const path = __importStar(require("path")); +const assert_1 = __importDefault(require("assert")); +const IS_WINDOWS = process.platform === 'win32'; +/** + * Similar to path.dirname except normalizes the path separators and slightly better handling for Windows UNC paths. + * + * For example, on Linux/macOS: + * - `/ => /` + * - `/hello => /` + * + * For example, on Windows: + * - `C:\ => C:\` + * - `C:\hello => C:\` + * - `C: => C:` + * - `C:hello => C:` + * - `\ => \` + * - `\hello => \` + * - `\\hello => \\hello` + * - `\\hello\world => \\hello\world` + */ +function dirname(p) { + // Normalize slashes and trim unnecessary trailing slash + p = safeTrimTrailingSeparator(p); + // Windows UNC root, e.g. \\hello or \\hello\world + if (IS_WINDOWS && /^\\\\[^\\]+(\\[^\\]+)?$/.test(p)) { + return p; + } + // Get dirname + let result = path.dirname(p); + // Trim trailing slash for Windows UNC root, e.g. \\hello\world\ + if (IS_WINDOWS && /^\\\\[^\\]+\\[^\\]+\\$/.test(result)) { + result = safeTrimTrailingSeparator(result); + } + return result; +} +exports.dirname = dirname; +/** + * Roots the path if not already rooted. On Windows, relative roots like `\` + * or `C:` are expanded based on the current working directory. + */ +function ensureAbsoluteRoot(root, itemPath) { + assert_1.default(root, `ensureAbsoluteRoot parameter 'root' must not be empty`); + assert_1.default(itemPath, `ensureAbsoluteRoot parameter 'itemPath' must not be empty`); + // Already rooted + if (hasAbsoluteRoot(itemPath)) { + return itemPath; + } + // Windows + if (IS_WINDOWS) { + // Check for itemPath like C: or C:foo + if (itemPath.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)) { + let cwd = process.cwd(); + assert_1.default(cwd.match(/^[A-Z]:\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`); + // Drive letter matches cwd? Expand to cwd + if (itemPath[0].toUpperCase() === cwd[0].toUpperCase()) { + // Drive only, e.g. C: + if (itemPath.length === 2) { + // Preserve specified drive letter case (upper or lower) + return `${itemPath[0]}:\\${cwd.substr(3)}`; + } + // Drive + path, e.g. C:foo + else { + if (!cwd.endsWith('\\')) { + cwd += '\\'; + } + // Preserve specified drive letter case (upper or lower) + return `${itemPath[0]}:\\${cwd.substr(3)}${itemPath.substr(2)}`; + } + } + // Different drive + else { + return `${itemPath[0]}:\\${itemPath.substr(2)}`; + } + } + // Check for itemPath like \ or \foo + else if (normalizeSeparators(itemPath).match(/^\\$|^\\[^\\]/)) { + const cwd = process.cwd(); + assert_1.default(cwd.match(/^[A-Z]:\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`); + return `${cwd[0]}:\\${itemPath.substr(1)}`; + } + } + assert_1.default(hasAbsoluteRoot(root), `ensureAbsoluteRoot parameter 'root' must have an absolute root`); + // Otherwise ensure root ends with a separator + if (root.endsWith('/') || (IS_WINDOWS && root.endsWith('\\'))) { + // Intentionally empty + } + else { + // Append separator + root += path.sep; + } + return root + itemPath; +} +exports.ensureAbsoluteRoot = ensureAbsoluteRoot; +/** + * On Linux/macOS, true if path starts with `/`. On Windows, true for paths like: + * `\\hello\share` and `C:\hello` (and using alternate separator). + */ +function hasAbsoluteRoot(itemPath) { + assert_1.default(itemPath, `hasAbsoluteRoot parameter 'itemPath' must not be empty`); + // Normalize separators + itemPath = normalizeSeparators(itemPath); + // Windows + if (IS_WINDOWS) { + // E.g. \\hello\share or C:\hello + return itemPath.startsWith('\\\\') || /^[A-Z]:\\/i.test(itemPath); + } + // E.g. /hello + return itemPath.startsWith('/'); +} +exports.hasAbsoluteRoot = hasAbsoluteRoot; +/** + * On Linux/macOS, true if path starts with `/`. On Windows, true for paths like: + * `\`, `\hello`, `\\hello\share`, `C:`, and `C:\hello` (and using alternate separator). + */ +function hasRoot(itemPath) { + assert_1.default(itemPath, `isRooted parameter 'itemPath' must not be empty`); + // Normalize separators + itemPath = normalizeSeparators(itemPath); + // Windows + if (IS_WINDOWS) { + // E.g. \ or \hello or \\hello + // E.g. C: or C:\hello + return itemPath.startsWith('\\') || /^[A-Z]:/i.test(itemPath); + } + // E.g. /hello + return itemPath.startsWith('/'); +} +exports.hasRoot = hasRoot; +/** + * Removes redundant slashes and converts `/` to `\` on Windows + */ +function normalizeSeparators(p) { + p = p || ''; + // Windows + if (IS_WINDOWS) { + // Convert slashes on Windows + p = p.replace(/\//g, '\\'); + // Remove redundant slashes + const isUnc = /^\\\\+[^\\]/.test(p); // e.g. \\hello + return (isUnc ? '\\' : '') + p.replace(/\\\\+/g, '\\'); // preserve leading \\ for UNC + } + // Remove redundant slashes + return p.replace(/\/\/+/g, '/'); +} +exports.normalizeSeparators = normalizeSeparators; +/** + * Normalizes the path separators and trims the trailing separator (when safe). + * For example, `/foo/ => /foo` but `/ => /` + */ +function safeTrimTrailingSeparator(p) { + // Short-circuit if empty + if (!p) { + return ''; + } + // Normalize separators + p = normalizeSeparators(p); + // No trailing slash + if (!p.endsWith(path.sep)) { + return p; + } + // Check '/' on Linux/macOS and '\' on Windows + if (p === path.sep) { + return p; + } + // On Windows check if drive root. E.g. C:\ + if (IS_WINDOWS && /^[A-Z]:\\$/i.test(p)) { + return p; + } + // Otherwise trim trailing slash + return p.substr(0, p.length - 1); +} +exports.safeTrimTrailingSeparator = safeTrimTrailingSeparator; +//# sourceMappingURL=internal-path-helper.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js.map new file mode 100644 index 0000000000..1dc7ef9ad6 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path-helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-path-helper.js","sourceRoot":"","sources":["../src/internal-path-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAC5B,oDAA2B;AAE3B,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,OAAO,CAAC,CAAS;IAC/B,wDAAwD;IACxD,CAAC,GAAG,yBAAyB,CAAC,CAAC,CAAC,CAAA;IAEhC,kDAAkD;IAClD,IAAI,UAAU,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;QACnD,OAAO,CAAC,CAAA;KACT;IAED,cAAc;IACd,IAAI,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;IAE5B,gEAAgE;IAChE,IAAI,UAAU,IAAI,wBAAwB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;QACvD,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAA;KAC3C;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAlBD,0BAkBC;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,IAAY,EAAE,QAAgB;IAC/D,gBAAM,CAAC,IAAI,EAAE,uDAAuD,CAAC,CAAA;IACrE,gBAAM,CAAC,QAAQ,EAAE,2DA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CAAA;KACT;IAED,gCAAgC;IAChC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;AAClC,CAAC;AA1BD,8DA0BC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.d.ts new file mode 100644 index 0000000000..5e0a2641f4 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.d.ts @@ -0,0 +1,15 @@ +/** + * Helper class for parsing paths into segments + */ +export declare class Path { + segments: string[]; + /** + * Constructs a Path + * @param itemPath Path or array of segments + */ + constructor(itemPath: string | string[]); + /** + * Converts the path to it's string representation + */ + toString(): string; +} diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js new file mode 100644 index 0000000000..88a8715a9a --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js @@ -0,0 +1,113 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Path = void 0; +const path = __importStar(require("path")); +const pathHelper = __importStar(require("./internal-path-helper")); +const assert_1 = __importDefault(require("assert")); +const IS_WINDOWS = process.platform === 'win32'; +/** + * Helper class for parsing paths into segments + */ +class Path { + /** + * Constructs a Path + * @param itemPath Path or array of segments + */ + constructor(itemPath) { + this.segments = []; + // String + if (typeof itemPath === 'string') { + assert_1.default(itemPath, `Parameter 'itemPath' must not be empty`); + // Normalize slashes and trim unnecessary trailing slash + itemPath = pathHelper.safeTrimTrailingSeparator(itemPath); + // Not rooted + if (!pathHelper.hasRoot(itemPath)) { + this.segments = itemPath.split(path.sep); + } + // Rooted + else { + // Add all segments, while not at the root + let remaining = itemPath; + let dir = pathHelper.dirname(remaining); + while (dir !== remaining) { + // Add the segment + const basename = path.basename(remaining); + this.segments.unshift(basename); + // Truncate the last segment + remaining = dir; + dir = pathHelper.dirname(remaining); + } + // Remainder is the root + this.segments.unshift(remaining); + } + } + // Array + else { + // Must not be empty + assert_1.default(itemPath.length > 0, `Parameter 'itemPath' must not be an empty array`); + // Each segment + for (let i = 0; i < itemPath.length; i++) { + let segment = itemPath[i]; + // Must not be empty + assert_1.default(segment, `Parameter 'itemPath' must not contain any empty segments`); + // Normalize slashes + segment = pathHelper.normalizeSeparators(itemPath[i]); + // Root segment + if (i === 0 && pathHelper.hasRoot(segment)) { + segment = pathHelper.safeTrimTrailingSeparator(segment); + assert_1.default(segment === pathHelper.dirname(segment), `Parameter 'itemPath' root segment contains information for multiple segments`); + this.segments.push(segment); + } + // All other segments + else { + // Must not contain slash + assert_1.default(!segment.includes(path.sep), `Parameter 'itemPath' contains unexpected path separators`); + this.segments.push(segment); + } + } + } + } + /** + * Converts the path to it's string representation + */ + toString() { + // First segment + let result = this.segments[0]; + // All others + let skipSlash = result.endsWith(path.sep) || (IS_WINDOWS && /^[A-Z]:$/i.test(result)); + for (let i = 1; i < this.segments.length; i++) { + if (skipSlash) { + skipSlash = false; + } + else { + result += path.sep; + } + result += this.segments[i]; + } + return result; + } +} +exports.Path = Path; +//# sourceMappingURL=internal-path.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js.map new file mode 100644 index 0000000000..8e8eeb57e7 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-path.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-path.js","sourceRoot":"","sources":["../src/internal-path.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAC5B,mEAAoD;AACpD,oDAA2B;AAE3B,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;GAEG;AACH,MAAa,IAAI;IAGf;;;OAGG;IACH,YAAY,QAA2B;QANvC,aAAQ,GAAa,EAAE,CAAA;QAOrB,SAAS;QACT,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,gBAAM,CAAC,QAAQ,EAAE,wCAAwC,CAAC,CAAA;YAE1D,wDAAwD;YACxD,QAAQ,GAAG,UAAU,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAA;YAEzD,aAAa;YACb,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;gBACjC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;aACzC;YACD,SAAS;iBACJ;gBACH,0CAA0C;gBAC1C,IAAI,SAAS,GAAG,QAAQ,CAAA;gBACxB,IAAI,GAAG,GAAG,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;gBACvC,OAAO,GAAG,KAAK,SAAS,EAAE;oBACxB,kBAAkB;oBAClB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAA;oBACzC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;oBAE/B,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AAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;QAE7B,aAAa;QACb,IAAI,SAAS,GACX,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;QACvE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC7C,IAAI,SAAS,EAAE;gBACb,SAAS,GAAG,KAAK,CAAA;aAClB;iBAAM;gBACL,MAAM,IAAI,IAAI,CAAC,GAAG,CAAA;aACnB;YAED,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;SAC3B;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAvGD,oBAuGC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.d.ts new file mode 100644 index 0000000000..c5dcc0725f --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.d.ts @@ -0,0 +1,15 @@ +import { MatchKind } from './internal-match-kind'; +import { Pattern } from './internal-pattern'; +/** + * Given an array of patterns, returns an array of paths to search. + * Duplicates and paths under other included paths are filtered out. + */ +export declare function getSearchPaths(patterns: Pattern[]): string[]; +/** + * Matches the patterns against the path + */ +export declare function match(patterns: Pattern[], itemPath: string): MatchKind; +/** + * Checks whether to descend further into the directory + */ +export declare function partialMatch(patterns: Pattern[], itemPath: string): boolean; diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js new file mode 100644 index 0000000000..a7a0440d43 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.partialMatch = exports.match = exports.getSearchPaths = void 0; +const pathHelper = __importStar(require("./internal-path-helper")); +const internal_match_kind_1 = require("./internal-match-kind"); +const IS_WINDOWS = process.platform === 'win32'; +/** + * Given an array of patterns, returns an array of paths to search. + * Duplicates and paths under other included paths are filtered out. + */ +function getSearchPaths(patterns) { + // Ignore negate patterns + patterns = patterns.filter(x => !x.negate); + // Create a map of all search paths + const searchPathMap = {}; + for (const pattern of patterns) { + const key = IS_WINDOWS + ? pattern.searchPath.toUpperCase() + : pattern.searchPath; + searchPathMap[key] = 'candidate'; + } + const result = []; + for (const pattern of patterns) { + // Check if already included + const key = IS_WINDOWS + ? pattern.searchPath.toUpperCase() + : pattern.searchPath; + if (searchPathMap[key] === 'included') { + continue; + } + // Check for an ancestor search path + let foundAncestor = false; + let tempKey = key; + let parent = pathHelper.dirname(tempKey); + while (parent !== tempKey) { + if (searchPathMap[parent]) { + foundAncestor = true; + break; + } + tempKey = parent; + parent = pathHelper.dirname(tempKey); + } + // Include the search pattern in the result + if (!foundAncestor) { + result.push(pattern.searchPath); + searchPathMap[key] = 'included'; + } + } + return result; +} +exports.getSearchPaths = getSearchPaths; +/** + * Matches the patterns against the path + */ +function match(patterns, itemPath) { + let result = internal_match_kind_1.MatchKind.None; + for (const pattern of patterns) { + if (pattern.negate) { + result &= ~pattern.match(itemPath); + } + else { + result |= pattern.match(itemPath); + } + } + return result; +} +exports.match = match; +/** + * Checks whether to descend further into the directory + */ +function partialMatch(patterns, itemPath) { + return patterns.some(x => !x.negate && x.partialMatch(itemPath)); +} +exports.partialMatch = partialMatch; +//# sourceMappingURL=internal-pattern-helper.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js.map new file mode 100644 index 0000000000..ae372853b9 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern-helper.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-pattern-helper.js","sourceRoot":"","sources":["../src/internal-pattern-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mEAAoD;AACpD,+DAA+C;AAG/C,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;;GAGG;AACH,SAAgB,cAAc,CAAC,QAAmB;IAChD,yBAAyB;IACzB,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;IAE1C,mCAAmC;IACnC,MAAM,aAAa,GAA4B,EAAE,CAAA;IACjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;QAC9B,MAAM,GAAG,GAAG,UAAU;YACpB,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE;YAClC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAA;QACtB,aAAa,CAAC,GAAG,CAAC,GAAG,WAAW,CAAA;KACjC;IAED,MAAM,MAAM,GAAa,EAAE,CAAA;IAE3B,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;QAC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E,QAAgB;IAChE,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.d.ts new file mode 100644 index 0000000000..2c2224c84b --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.d.ts @@ -0,0 +1,64 @@ +import { MatchKind } from './internal-match-kind'; +export declare class Pattern { + /** + * Indicates whether matches should be excluded from the result set + */ + readonly negate: boolean; + /** + * The directory to search. The literal path prior to the first glob segment. + */ + readonly searchPath: string; + /** + * The path/pattern segments. Note, only the first segment (the root directory) + * may contain a directory separator character. Use the trailingSeparator field + * to determine whether the pattern ended with a trailing slash. + */ + readonly segments: string[]; + /** + * Indicates the pattern should only match directories, not regular files. + */ + readonly trailingSeparator: boolean; + /** + * The Minimatch object used for matching + */ + private readonly minimatch; + /** + * Used to workaround a limitation with Minimatch when determining a partial + * match and the path is a root directory. For example, when the pattern is + * `/foo/**` or `C:\foo\**` and the path is `/` or `C:\`. + */ + private readonly rootRegExp; + /** + * Indicates that the pattern is implicitly added as opposed to user specified. + */ + private readonly isImplicitPattern; + constructor(pattern: string); + constructor(pattern: string, isImplicitPattern: boolean, segments: undefined, homedir: string); + constructor(negate: boolean, isImplicitPattern: boolean, segments: string[], homedir?: string); + /** + * Matches the pattern against the specified path + */ + match(itemPath: string): MatchKind; + /** + * Indicates whether the pattern may match descendants of the specified path + */ + partialMatch(itemPath: string): boolean; + /** + * Escapes glob patterns within a path + */ + static globEscape(s: string): string; + /** + * Normalizes slashes and ensures absolute root + */ + private static fixupPattern; + /** + * Attempts to unescape a pattern segment to create a literal path segment. + * Otherwise returns empty string. + */ + private static getLiteral; + /** + * Escapes regexp special characters + * https://javascript.info/regexp-escaping + */ + private static regExpEscape; +} diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js new file mode 100644 index 0000000000..a17ffe9709 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js @@ -0,0 +1,255 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Pattern = void 0; +const os = __importStar(require("os")); +const path = __importStar(require("path")); +const pathHelper = __importStar(require("./internal-path-helper")); +const assert_1 = __importDefault(require("assert")); +const minimatch_1 = require("minimatch"); +const internal_match_kind_1 = require("./internal-match-kind"); +const internal_path_1 = require("./internal-path"); +const IS_WINDOWS = process.platform === 'win32'; +class Pattern { + constructor(patternOrNegate, isImplicitPattern = false, segments, homedir) { + /** + * Indicates whether matches should be excluded from the result set + */ + this.negate = false; + // Pattern overload + let pattern; + if (typeof patternOrNegate === 'string') { + pattern = patternOrNegate.trim(); + } + // Segments overload + else { + // Convert to pattern + segments = segments || []; + assert_1.default(segments.length, `Parameter 'segments' must not empty`); + const root = Pattern.getLiteral(segments[0]); + assert_1.default(root && pathHelper.hasAbsoluteRoot(root), `Parameter 'segments' first element must be a root path`); + pattern = new internal_path_1.Path(segments).toString().trim(); + if (patternOrNegate) { + pattern = `!${pattern}`; + } + } + // Negate + while (pattern.startsWith('!')) { + this.negate = !this.negate; + pattern = pattern.substr(1).trim(); + } + // Normalize slashes and ensures absolute root + pattern = Pattern.fixupPattern(pattern, homedir); + // Segments + this.segments = new internal_path_1.Path(pattern).segments; + // Trailing slash indicates the pattern should only match directories, not regular files + this.trailingSeparator = pathHelper + .normalizeSeparators(pattern) + .endsWith(path.sep); + pattern = pathHelper.safeTrimTrailingSeparator(pattern); + // Search path (literal path prior to the first glob segment) + let foundGlob = false; + const searchSegments = this.segments + .map(x => Pattern.getLiteral(x)) + .filter(x => !foundGlob && !(foundGlob = x === '')); + this.searchPath = new internal_path_1.Path(searchSegments).toString(); + // Root RegExp (required when determining partial match) + this.rootRegExp = new RegExp(Pattern.regExpEscape(searchSegments[0]), IS_WINDOWS ? 'i' : ''); + this.isImplicitPattern = isImplicitPattern; + // Create minimatch + const minimatchOptions = { + dot: true, + nobrace: true, + nocase: IS_WINDOWS, + nocomment: true, + noext: true, + nonegate: true + }; + pattern = IS_WINDOWS ? pattern.replace(/\\/g, '/') : pattern; + this.minimatch = new minimatch_1.Minimatch(pattern, minimatchOptions); + } + /** + * Matches the pattern against the specified path + */ + match(itemPath) { + // Last segment is globstar? + if (this.segments[this.segments.length - 1] === '**') { + // Normalize slashes + itemPath = pathHelper.normalizeSeparators(itemPath); + // Append a trailing slash. Otherwise Minimatch will not match the directory immediately + // preceding the globstar. For example, given the pattern `/foo/**`, Minimatch returns + // false for `/foo` but returns true for `/foo/`. Append a trailing slash to handle that quirk. + if (!itemPath.endsWith(path.sep) && this.isImplicitPattern === false) { + // Note, this is safe because the constructor ensures the pattern has an absolute root. + // For example, formats like C: and C:foo on Windows are resolved to an absolute root. + itemPath = `${itemPath}${path.sep}`; + } + } + else { + // Normalize slashes and trim unnecessary trailing slash + itemPath = pathHelper.safeTrimTrailingSeparator(itemPath); + } + // Match + if (this.minimatch.match(itemPath)) { + return this.trailingSeparator ? internal_match_kind_1.MatchKind.Directory : internal_match_kind_1.MatchKind.All; + } + return internal_match_kind_1.MatchKind.None; + } + /** + * Indicates whether the pattern may match descendants of the specified path + */ + partialMatch(itemPath) { + // Normalize slashes and trim unnecessary trailing slash + itemPath = pathHelper.safeTrimTrailingSeparator(itemPath); + // matchOne does not handle root path correctly + if (pathHelper.dirname(itemPath) === itemPath) { + return this.rootRegExp.test(itemPath); + } + return this.minimatch.matchOne(itemPath.split(IS_WINDOWS ? /\\+/ : /\/+/), this.minimatch.set[0], true); + } + /** + * Escapes glob patterns within a path + */ + static globEscape(s) { + return (IS_WINDOWS ? s : s.replace(/\\/g, '\\\\')) // escape '\' on Linux/macOS + .replace(/(\[)(?=[^/]+\])/g, '[[]') // escape '[' when ']' follows within the path segment + .replace(/\?/g, '[?]') // escape '?' + .replace(/\*/g, '[*]'); // escape '*' + } + /** + * Normalizes slashes and ensures absolute root + */ + static fixupPattern(pattern, homedir) { + // Empty + assert_1.default(pattern, 'pattern cannot be empty'); + // Must not contain `.` segment, unless first segment + // Must not contain `..` segment + const literalSegments = new internal_path_1.Path(pattern).segments.map(x => Pattern.getLiteral(x)); + assert_1.default(literalSegments.every((x, i) => (x !== '.' || i === 0) && x !== '..'), `Invalid pattern '${pattern}'. Relative pathing '.' and '..' is not allowed.`); + // Must not contain globs in root, e.g. Windows UNC path \\foo\b*r + assert_1.default(!pathHelper.hasRoot(pattern) || literalSegments[0], `Invalid pattern '${pattern}'. Root segment must not contain globs.`); + // Normalize slashes + pattern = pathHelper.normalizeSeparators(pattern); + // Replace leading `.` segment + if (pattern === '.' || pattern.startsWith(`.${path.sep}`)) { + pattern = Pattern.globEscape(process.cwd()) + pattern.substr(1); + } + // Replace leading `~` segment + else if (pattern === '~' || pattern.startsWith(`~${path.sep}`)) { + homedir = homedir || os.homedir(); + assert_1.default(homedir, 'Unable to determine HOME directory'); + assert_1.default(pathHelper.hasAbsoluteRoot(homedir), `Expected HOME directory to be a rooted path. Actual '${homedir}'`); + pattern = Pattern.globEscape(homedir) + pattern.substr(1); + } + // Replace relative drive root, e.g. pattern is C: or C:foo + else if (IS_WINDOWS && + (pattern.match(/^[A-Z]:$/i) || pattern.match(/^[A-Z]:[^\\]/i))) { + let root = pathHelper.ensureAbsoluteRoot('C:\\dummy-root', pattern.substr(0, 2)); + if (pattern.length > 2 && !root.endsWith('\\')) { + root += '\\'; + } + pattern = Pattern.globEscape(root) + pattern.substr(2); + } + // Replace relative root, e.g. pattern is \ or \foo + else if (IS_WINDOWS && (pattern === '\\' || pattern.match(/^\\[^\\]/))) { + let root = pathHelper.ensureAbsoluteRoot('C:\\dummy-root', '\\'); + if (!root.endsWith('\\')) { + root += '\\'; + } + pattern = Pattern.globEscape(root) + pattern.substr(1); + } + // Otherwise ensure absolute root + else { + pattern = pathHelper.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()), pattern); + } + return pathHelper.normalizeSeparators(pattern); + } + /** + * Attempts to unescape a pattern segment to create a literal path segment. + * Otherwise returns empty string. + */ + static getLiteral(segment) { + let literal = ''; + for (let i = 0; i < segment.length; i++) { + const c = segment[i]; + // Escape + if (c === '\\' && !IS_WINDOWS && i + 1 < segment.length) { + literal += segment[++i]; + continue; + } + // Wildcard + else if (c === '*' || c === '?') { + return ''; + } + // Character set + else if (c === '[' && i + 1 < segment.length) { + let set = ''; + let closed = -1; + for (let i2 = i + 1; i2 < segment.length; i2++) { + const c2 = segment[i2]; + // Escape + if (c2 === '\\' && !IS_WINDOWS && i2 + 1 < segment.length) { + set += segment[++i2]; + continue; + } + // Closed + else if (c2 === ']') { + closed = i2; + break; + } + // Otherwise + else { + set += c2; + } + } + // Closed? + if (closed >= 0) { + // Cannot convert + if (set.length > 1) { + return ''; + } + // Convert to literal + if (set) { + literal += set; + i = closed; + continue; + } + } + // Otherwise fall thru + } + // Append + literal += c; + } + return literal; + } + /** + * Escapes regexp special characters + * https://javascript.info/regexp-escaping + */ + static regExpEscape(s) { + return s.replace(/[[\\^$.|?*+()]/g, '\\$&'); + } +} +exports.Pattern = Pattern; +//# sourceMappingURL=internal-pattern.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js.map new file mode 100644 index 0000000000..08e172d7bc --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-pattern.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-pattern.js","sourceRoot":"","sources":["../src/internal-pattern.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,2CAA4B;AAC5B,mEAAoD;AACpD,oDAA2B;AAC3B,yCAA8E;AAC9E,+DAA+C;AAC/C,mDAAoC;AAEpC,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C,MAAa,OAAO;IAqDlB,YACE,eAAiC,EACjC,iBAAiB,GAAG,KAAK,EACzB,QAAmB,EACnB,OAAgB;QAxDlB;;WAEG;QACM,WAAM,GAAY,KAAK,CAAA;QAuD9B,mBAAmB;QACnB,IAAI,OAAe,CAAA;QACnB,IAAI,OAAO,eAAe,KAAK,QAAQ,EAAE;YACvC,OAAO,GAAG,eAAe,CAAC,IAAI,EAAE,CAAA;SACjC;QACD,oBAAoB;aACf;YACH,qBAAqB;YACrB,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAA;YACzB,gBAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,qCAAqC,CAAC,CAAA;YAC9D,MAAM,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;YAC5C,gBAAM,CACJ,IAAI,IAAI,UAAU,CAAC,eAAe,CAAC,IAAI,CAAC,EACxC,wDAAwD,CACzD,CAAA;YACD,OAA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A;qBACV;oBAED,qBAAqB;oBACrB,IAAI,GAAG,EAAE;wBACP,OAAO,IAAI,GAAG,CAAA;wBACd,CAAC,GAAG,MAAM,CAAA;wBACV,SAAQ;qBACT;iBACF;gBAED,sBAAsB;aACvB;YAED,SAAS;YACT,OAAO,IAAI,CAAC,CAAA;SACb;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;IAED;;;OAGG;IACK,MAAM,CAAC,YAAY,CAAC,CAAS;QACnC,OAAO,CAAC,CAAC,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA;IAC7C,CAAC;CACF;AAzUD,0BAyUC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.d.ts b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.d.ts new file mode 100644 index 0000000000..aac344eb38 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.d.ts @@ -0,0 +1,5 @@ +export declare class SearchState { + readonly path: string; + readonly level: number; + constructor(path: string, level: number); +} diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js new file mode 100644 index 0000000000..5d266ce1f3 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SearchState = void 0; +class SearchState { + constructor(path, level) { + this.path = path; + this.level = level; + } +} +exports.SearchState = SearchState; +//# sourceMappingURL=internal-search-state.js.map \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js.map b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js.map new file mode 100644 index 0000000000..4421012462 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/lib/internal-search-state.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-search-state.js","sourceRoot":"","sources":["../src/internal-search-state.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;IAItB,YAAY,IAAY,EAAE,KAAa;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;CACF;AARD,kCAQC"} \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/@actions/glob/package.json b/node_modules/@actions/cache/node_modules/@actions/glob/package.json new file mode 100644 index 0000000000..4dfd76aa7b --- /dev/null +++ b/node_modules/@actions/cache/node_modules/@actions/glob/package.json @@ -0,0 +1,43 @@ +{ + "name": "@actions/glob", + "version": "0.1.2", + "preview": true, + "description": "Actions glob lib", + "keywords": [ + "github", + "actions", + "glob" + ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/glob", + "license": "MIT", + "main": "lib/glob.js", + "types": "lib/glob.d.ts", + "directories": { + "lib": "lib", + "test": "__tests__" + }, + "files": [ + "lib", + "!.DS_Store" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/actions/toolkit.git", + "directory": "packages/glob" + }, + "scripts": { + "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", + "test": "echo \"Error: run tests from root\" && exit 1", + "tsc": "tsc" + }, + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + }, + "dependencies": { + "@actions/core": "^1.2.6", + "minimatch": "^3.0.4" + } +} diff --git a/node_modules/@actions/glob/lib/glob.d.ts b/node_modules/@actions/glob/lib/glob.d.ts index 56424fc3a8..3f640e8848 100644 --- a/node_modules/@actions/glob/lib/glob.d.ts +++ b/node_modules/@actions/glob/lib/glob.d.ts @@ -1,5 +1,6 @@ import { Globber } from './internal-globber'; import { GlobOptions } from './internal-glob-options'; +import { HashFileOptions } from './internal-hash-file-options'; export { Globber, GlobOptions }; /** * Constructs a globber @@ -8,3 +9,12 @@ export { Globber, GlobOptions }; * @param options Glob options */ export declare function create(patterns: string, options?: GlobOptions): Promise; +/** + * Computes the sha256 hash of a glob + * + * @param patterns Patterns separated by newlines + * @param currentWorkspace Workspace used when matching files + * @param options Glob options + * @param verbose Enables verbose logging + */ +export declare function hashFiles(patterns: string, currentWorkspace?: string, options?: HashFileOptions, verbose?: Boolean): Promise; diff --git a/node_modules/@actions/glob/lib/glob.js b/node_modules/@actions/glob/lib/glob.js index 58cb68331e..fea8afd4a7 100644 --- a/node_modules/@actions/glob/lib/glob.js +++ b/node_modules/@actions/glob/lib/glob.js @@ -9,8 +9,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.create = void 0; +exports.hashFiles = exports.create = void 0; const internal_globber_1 = require("./internal-globber"); +const internal_hash_files_1 = require("./internal-hash-files"); /** * Constructs a globber * @@ -23,4 +24,23 @@ function create(patterns, options) { }); } exports.create = create; +/** + * Computes the sha256 hash of a glob + * + * @param patterns Patterns separated by newlines + * @param currentWorkspace Workspace used when matching files + * @param options Glob options + * @param verbose Enables verbose logging + */ +function hashFiles(patterns, currentWorkspace = '', options, verbose = false) { + return __awaiter(this, void 0, void 0, function* () { + let followSymbolicLinks = true; + if (options && typeof options.followSymbolicLinks === 'boolean') { + followSymbolicLinks = options.followSymbolicLinks; + } + const globber = yield create(patterns, { followSymbolicLinks }); + return internal_hash_files_1.hashFiles(globber, currentWorkspace, verbose); + }); +} +exports.hashFiles = hashFiles; //# sourceMappingURL=glob.js.map \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/glob.js.map b/node_modules/@actions/glob/lib/glob.js.map index b27e7e4af6..91c24ce77e 100644 --- a/node_modules/@actions/glob/lib/glob.js.map +++ b/node_modules/@actions/glob/lib/glob.js.map @@ -1 +1 @@ -{"version":3,"file":"glob.js","sourceRoot":"","sources":["../src/glob.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA0D;AAK1D;;;;;GAKG;AACH,SAAsB,MAAM,CAC1B,QAAgB,EAChB,OAAqB;;QAErB,OAAO,MAAM,iCAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IACvD,CAAC;CAAA;AALD,wBAKC"} \ No newline at end of file +{"version":3,"file":"glob.js","sourceRoot":"","sources":["../src/glob.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA0D;AAG1D,+DAA6D;AAI7D;;;;;GAKG;AACH,SAAsB,MAAM,CAC1B,QAAgB,EAChB,OAAqB;;QAErB,OAAO,MAAM,iCAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IACvD,CAAC;CAAA;AALD,wBAKC;AAED;;;;;;;GAOG;AACH,SAAsB,SAAS,CAC7B,QAAgB,EAChB,gBAAgB,GAAG,EAAE,EACrB,OAAyB,EACzB,UAAmB,KAAK;;QAExB,IAAI,mBAAmB,GAAG,IAAI,CAAA;QAC9B,IAAI,OAAO,IAAI,OAAO,OAAO,CAAC,mBAAmB,KAAK,SAAS,EAAE;YAC/D,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAA;SAClD;QACD,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,QAAQ,EAAE,EAAC,mBAAmB,EAAC,CAAC,CAAA;QAC7D,OAAO,+BAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;IACvD,CAAC;CAAA;AAZD,8BAYC"} \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/internal-glob-options-helper.js b/node_modules/@actions/glob/lib/internal-glob-options-helper.js index 974dfd038d..bd3391ba26 100644 --- a/node_modules/@actions/glob/lib/internal-glob-options-helper.js +++ b/node_modules/@actions/glob/lib/internal-glob-options-helper.js @@ -28,6 +28,7 @@ function getOptions(copy) { const result = { followSymbolicLinks: true, implicitDescendants: true, + matchDirectories: true, omitBrokenSymbolicLinks: true }; if (copy) { @@ -39,6 +40,10 @@ function getOptions(copy) { result.implicitDescendants = copy.implicitDescendants; core.debug(`implicitDescendants '${result.implicitDescendants}'`); } + if (typeof copy.matchDirectories === 'boolean') { + result.matchDirectories = copy.matchDirectories; + core.debug(`matchDirectories '${result.matchDirectories}'`); + } if (typeof copy.omitBrokenSymbolicLinks === 'boolean') { result.omitBrokenSymbolicLinks = copy.omitBrokenSymbolicLinks; core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`); diff --git a/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map b/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map index 93376ddc0a..d2a918c377 100644 --- a/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map +++ b/node_modules/@actions/glob/lib/internal-glob-options-helper.js.map @@ -1 +1 @@ -{"version":3,"file":"internal-glob-options-helper.js","sourceRoot":"","sources":["../src/internal-glob-options-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AAGrC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAkB;IAC3C,MAAM,MAAM,GAAgB;QAC1B,mBAAmB,EAAE,IAAI;QACzB,mBAAmB,EAAE,IAAI;QACzB,uBAAuB,EAAE,IAAI;KAC9B,CAAA;IAED,IAAI,IAAI,EAAE;QACR,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE;YACjD,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAA;YACrD,IAAI,CAAC,KAAK,CAAC,wBAAwB,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAA;SAClE;QAED,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE;YACjD,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAA;YACrD,IAAI,CAAC,KAAK,CAAC,wBAAwB,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAA;SAClE;QAED,IAAI,OAAO,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE;YACrD,MAAM,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAA;YAC7D,IAAI,CAAC,KAAK,CAAC,4BAA4B,MAAM,CAAC,uBAAuB,GAAG,CAAC,CAAA;SAC1E;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AAzBD,gCAyBC"} \ No newline at end of file +{"version":3,"file":"internal-glob-options-helper.js","sourceRoot":"","sources":["../src/internal-glob-options-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AAGrC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAkB;IAC3C,MAAM,MAAM,GAAgB;QAC1B,mBAAmB,EAAE,IAAI;QACzB,mBAAmB,EAAE,IAAI;QACzB,gBAAgB,EAAE,IAAI;QACtB,uBAAuB,EAAE,IAAI;KAC9B,CAAA;IAED,IAAI,IAAI,EAAE;QACR,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE;YACjD,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAA;YACrD,IAAI,CAAC,KAAK,CAAC,wBAAwB,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAA;SAClE;QAED,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,SAAS,EAAE;YACjD,MAAM,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAA;YACrD,IAAI,CAAC,KAAK,CAAC,wBAAwB,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAA;SAClE;QAED,IAAI,OAAO,IAAI,CAAC,gBAAgB,KAAK,SAAS,EAAE;YAC9C,MAAM,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAA;YAC/C,IAAI,CAAC,KAAK,CAAC,qBAAqB,MAAM,CAAC,gBAAgB,GAAG,CAAC,CAAA;SAC5D;QAED,IAAI,OAAO,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE;YACrD,MAAM,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAA;YAC7D,IAAI,CAAC,KAAK,CAAC,4BAA4B,MAAM,CAAC,uBAAuB,GAAG,CAAC,CAAA;SAC1E;KACF;IAED,OAAO,MAAM,CAAA;AACf,CAAC;AA/BD,gCA+BC"} \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/internal-glob-options.d.ts b/node_modules/@actions/glob/lib/internal-glob-options.d.ts index c1cac0f1f4..fe04859938 100644 --- a/node_modules/@actions/glob/lib/internal-glob-options.d.ts +++ b/node_modules/@actions/glob/lib/internal-glob-options.d.ts @@ -19,6 +19,13 @@ export interface GlobOptions { * @default true */ implicitDescendants?: boolean; + /** + * Indicates whether matching directories should be included in the + * result set. + * + * @default true + */ + matchDirectories?: boolean; /** * Indicates whether broken symbolic should be ignored and omitted from the * result set. Otherwise an error will be thrown. diff --git a/node_modules/@actions/glob/lib/internal-globber.js b/node_modules/@actions/glob/lib/internal-globber.js index a6695b5c21..788fb77372 100644 --- a/node_modules/@actions/glob/lib/internal-globber.js +++ b/node_modules/@actions/glob/lib/internal-globber.js @@ -141,7 +141,7 @@ class DefaultGlobber { // Directory if (stats.isDirectory()) { // Matched - if (match & internal_match_kind_1.MatchKind.Directory) { + if (match & internal_match_kind_1.MatchKind.Directory && options.matchDirectories) { yield yield __await(item.path); } // Descend? diff --git a/node_modules/@actions/glob/lib/internal-globber.js.map b/node_modules/@actions/glob/lib/internal-globber.js.map index cd1f05d9ba..a060d4c0d2 100644 --- a/node_modules/@actions/glob/lib/internal-globber.js.map +++ b/node_modules/@actions/glob/lib/internal-globber.js.map @@ -1 +1 @@ -{"version":3,"file":"internal-globber.js","sourceRoot":"","sources":["../src/internal-globber.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AACrC,uCAAwB;AACxB,kFAAmE;AACnE,2CAA4B;AAC5B,yEAA0D;AAE1D,+DAA+C;AAC/C,yDAA0C;AAC1C,mEAAmD;AAEnD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAA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QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;gBAE9D,oDAAoD;gBACpD,OAAO,cAAc,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EAAE;oBAC1C,cAAc,CAAC,GAAG,EAAE,CAAA;iBACrB;gBAED,mBAAmB;gBACnB,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,EAAE;oBACtD,IAAI,CAAC,KAAK,CACR,oCAAoC,IAAI,CAAC,IAAI,mBAAmB,QAAQ,GAAG,CAC5E,CAAA;oBACD,OAAO,SAAS,CAAA;iBACjB;gBAED,6BAA6B;gBAC7B,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;aAC9B;YAED,OAAO,KAAK,CAAA;QACd,CAAC;KAAA;CACF;AAvMD,wCAuMC"} \ No newline at end of file +{"version":3,"file":"internal-globber.js","sourceRoot":"","sources":["../src/internal-globber.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AACrC,uCAAwB;AACxB,kFAAmE;AACnE,2CAA4B;AAC5B,yEAA0D;AAE1D,+DAA+C;AAC/C,yDAA0C;AAC1C,mEAAmD;AAEnD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAiC/C,MAAa,cAAc;IAKzB,YAAoB,OAAqB;QAHxB,aAAQ,GAAc,EAAE,CAAA;QACxB,gBAAW,GAAa,EAAE,CAAA;QAGzC,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;IACtD,CAAC;IAED,cAAc;QACZ,gBAAgB;QAChB,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAA;IACjC,CAAC;IAEK,IAAI;;;YACR,MAAM,MAAM,GAAa,EAAE,CAAA;;gBAC3B,KAA6B,IAAA,KAAA,cAAA,IAAI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G,CAC5E,CAAA;oBACD,OAAO,SAAS,CAAA;iBACjB;gBAED,6BAA6B;gBAC7B,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;aAC9B;YAED,OAAO,KAAK,CAAA;QACd,CAAC;KAAA;CACF;AAvMD,wCAuMC"} \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/internal-hash-file-options.d.ts b/node_modules/@actions/glob/lib/internal-hash-file-options.d.ts new file mode 100644 index 0000000000..57c6d3a7fe --- /dev/null +++ b/node_modules/@actions/glob/lib/internal-hash-file-options.d.ts @@ -0,0 +1,12 @@ +/** + * Options to control globbing behavior + */ +export interface HashFileOptions { + /** + * Indicates whether to follow symbolic links. Generally should set to false + * when deleting files. + * + * @default true + */ + followSymbolicLinks?: boolean; +} diff --git a/node_modules/@actions/glob/lib/internal-hash-file-options.js b/node_modules/@actions/glob/lib/internal-hash-file-options.js new file mode 100644 index 0000000000..843628407d --- /dev/null +++ b/node_modules/@actions/glob/lib/internal-hash-file-options.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=internal-hash-file-options.js.map \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/internal-hash-file-options.js.map b/node_modules/@actions/glob/lib/internal-hash-file-options.js.map new file mode 100644 index 0000000000..b0b03049b5 --- /dev/null +++ b/node_modules/@actions/glob/lib/internal-hash-file-options.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-hash-file-options.js","sourceRoot":"","sources":["../src/internal-hash-file-options.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/internal-hash-files.d.ts b/node_modules/@actions/glob/lib/internal-hash-files.d.ts new file mode 100644 index 0000000000..69bb1ba76d --- /dev/null +++ b/node_modules/@actions/glob/lib/internal-hash-files.d.ts @@ -0,0 +1,2 @@ +import { Globber } from './glob'; +export declare function hashFiles(globber: Globber, currentWorkspace: string, verbose?: Boolean): Promise; diff --git a/node_modules/@actions/glob/lib/internal-hash-files.js b/node_modules/@actions/glob/lib/internal-hash-files.js new file mode 100644 index 0000000000..8db5306d34 --- /dev/null +++ b/node_modules/@actions/glob/lib/internal-hash-files.js @@ -0,0 +1,97 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __asyncValues = (this && this.__asyncValues) || function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.hashFiles = void 0; +const crypto = __importStar(require("crypto")); +const core = __importStar(require("@actions/core")); +const fs = __importStar(require("fs")); +const stream = __importStar(require("stream")); +const util = __importStar(require("util")); +const path = __importStar(require("path")); +function hashFiles(globber, currentWorkspace, verbose = false) { + var e_1, _a; + var _b; + return __awaiter(this, void 0, void 0, function* () { + const writeDelegate = verbose ? core.info : core.debug; + let hasMatch = false; + const githubWorkspace = currentWorkspace + ? currentWorkspace + : (_b = process.env['GITHUB_WORKSPACE']) !== null && _b !== void 0 ? _b : process.cwd(); + const result = crypto.createHash('sha256'); + let count = 0; + try { + for (var _c = __asyncValues(globber.globGenerator()), _d; _d = yield _c.next(), !_d.done;) { + const file = _d.value; + writeDelegate(file); + if (!file.startsWith(`${githubWorkspace}${path.sep}`)) { + writeDelegate(`Ignore '${file}' since it is not under GITHUB_WORKSPACE.`); + continue; + } + if (fs.statSync(file).isDirectory()) { + writeDelegate(`Skip directory '${file}'.`); + continue; + } + const hash = crypto.createHash('sha256'); + const pipeline = util.promisify(stream.pipeline); + yield pipeline(fs.createReadStream(file), hash); + result.write(hash.digest()); + count++; + if (!hasMatch) { + hasMatch = true; + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) yield _a.call(_c); + } + finally { if (e_1) throw e_1.error; } + } + result.end(); + if (hasMatch) { + writeDelegate(`Found ${count} files to hash.`); + return result.digest('hex'); + } + else { + writeDelegate(`No matches found for glob`); + return ''; + } + }); +} +exports.hashFiles = hashFiles; +//# sourceMappingURL=internal-hash-files.js.map \ No newline at end of file diff --git a/node_modules/@actions/glob/lib/internal-hash-files.js.map b/node_modules/@actions/glob/lib/internal-hash-files.js.map new file mode 100644 index 0000000000..662261f8ec --- /dev/null +++ b/node_modules/@actions/glob/lib/internal-hash-files.js.map @@ -0,0 +1 @@ +{"version":3,"file":"internal-hash-files.js","sour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C,QAAQ,CAAC,CAAA;gBAChD,MAAM,QAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAA;gBAC/C,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAA;gBAC3B,KAAK,EAAE,CAAA;gBACP,IAAI,CAAC,QAAQ,EAAE;oBACb,QAAQ,GAAG,IAAI,CAAA;iBAChB;aACF;;;;;;;;;QACD,MAAM,CAAC,GAAG,EAAE,CAAA;QAEZ,IAAI,QAAQ,EAAE;YACZ,aAAa,CAAC,SAAS,KAAK,iBAAiB,CAAC,CAAA;YAC9C,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;SAC5B;aAAM;YACL,aAAa,CAAC,2BAA2B,CAAC,CAAA;YAC1C,OAAO,EAAE,CAAA;SACV;;CACF;AAxCD,8BAwCC"} \ No newline at end of file diff --git a/node_modules/@actions/glob/package.json b/node_modules/@actions/glob/package.json index 4dfd76aa7b..62e6bd2935 100644 --- a/node_modules/@actions/glob/package.json +++ b/node_modules/@actions/glob/package.json @@ -1,6 +1,6 @@ { "name": "@actions/glob", - "version": "0.1.2", + "version": "0.4.0", "preview": true, "description": "Actions glob lib", "keywords": [ @@ -37,7 +37,7 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/core": "^1.2.6", + "@actions/core": "^1.9.1", "minimatch": "^3.0.4" } } diff --git a/package-lock.json b/package-lock.json index ff88eabe06..75bd529a2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/github": "^5.1.1", + "@actions/glob": "^0.4.0", "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.1", "@chrisgavin/safe-which": "^1.0.2", @@ -169,6 +170,15 @@ "uuid": "^3.3.3" } }, + "node_modules/@actions/cache/node_modules/@actions/glob": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.1.2.tgz", + "integrity": "sha512-SclLR7Ia5sEqjkJTPs7Sd86maMDw43p769YxBOxvPvEWuPEhpAnBsQfENOpXjFYMmhCqd127bmf+YdvJqVqR4A==", + "dependencies": { + "@actions/core": "^1.2.6", + "minimatch": "^3.0.4" + } + }, "node_modules/@actions/cache/node_modules/semver": { "version": "6.3.1", "license": "ISC", @@ -210,10 +220,11 @@ } }, "node_modules/@actions/glob": { - "version": "0.1.2", - "license": "MIT", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.4.0.tgz", + "integrity": "sha512-+eKIGFhsFa4EBwaf/GMyzCdWrXWymGXfFmZU3FHQvYS8mPcHtTtZONbkcqqUMzw9mJ/pImEBFET1JNifhqGsAQ==", "dependencies": { - "@actions/core": "^1.2.6", + "@actions/core": "^1.9.1", "minimatch": "^3.0.4" } }, diff --git a/package.json b/package.json index 3c7a01834a..20c9be59fd 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/github": "^5.1.1", + "@actions/glob": "^0.4.0", "@actions/io": "^1.1.3", "@actions/tool-cache": "^2.0.1", "@chrisgavin/safe-which": "^1.0.2", From 51d90f48a60dec70310975908befaaaf41ee848a Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 22 Jul 2024 15:25:54 +0100 Subject: [PATCH 04/24] Add caching utils --- lib/caching-utils.js | 15 +++++++++++++++ lib/caching-utils.js.map | 1 + src/caching-utils.ts | 18 ++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 lib/caching-utils.js create mode 100644 lib/caching-utils.js.map create mode 100644 src/caching-utils.ts diff --git a/lib/caching-utils.js b/lib/caching-utils.js new file mode 100644 index 0000000000..63cd845503 --- /dev/null +++ b/lib/caching-utils.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getTotalCacheSize = getTotalCacheSize; +const util_1 = require("./util"); +/** + * Returns the total size of all the specified paths. + * @param paths The paths for which to calculate the total size. + * @param logger A logger to record some informational messages to. + * @returns The total size of all specified paths. + */ +async function getTotalCacheSize(paths, logger) { + const sizes = await Promise.all(paths.map((cacheDir) => (0, util_1.tryGetFolderBytes)(cacheDir, logger))); + return sizes.map((a) => a || 0).reduce((a, b) => a + b, 0); +} +//# sourceMappingURL=caching-utils.js.map \ No newline at end of file diff --git a/lib/caching-utils.js.map b/lib/caching-utils.js.map new file mode 100644 index 0000000000..cc6155960e --- /dev/null +++ b/lib/caching-utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"caching-utils.js","sourceRoot":"","sources":["../src/caching-utils.ts"],"names":[],"mappings":";;AASA,8CAQC;AAhBD,iCAA2C;AAE3C;;;;;GAKG;AACI,KAAK,UAAU,iBAAiB,CACrC,KAAe,EACf,MAAc;IAEd,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,GAAG,CAC7B,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAA,wBAAiB,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAC7D,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"} \ No newline at end of file diff --git a/src/caching-utils.ts b/src/caching-utils.ts new file mode 100644 index 0000000000..41a098a9ae --- /dev/null +++ b/src/caching-utils.ts @@ -0,0 +1,18 @@ +import { Logger } from "./logging"; +import { tryGetFolderBytes } from "./util"; + +/** + * Returns the total size of all the specified paths. + * @param paths The paths for which to calculate the total size. + * @param logger A logger to record some informational messages to. + * @returns The total size of all specified paths. + */ +export async function getTotalCacheSize( + paths: string[], + logger: Logger, +): Promise { + const sizes = await Promise.all( + paths.map((cacheDir) => tryGetFolderBytes(cacheDir, logger)), + ); + return sizes.map((a) => a || 0).reduce((a, b) => a + b, 0); +} From 2b7af49a3d3fb95d8bb2f2fa743988441baa6382 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 22 Jul 2024 15:29:56 +0100 Subject: [PATCH 05/24] Add bare-bones dependency caching functions --- lib/dependency-caching.js | 125 +++++++++++++++++++++++++++++ lib/dependency-caching.js.map | 1 + src/dependency-caching.ts | 145 ++++++++++++++++++++++++++++++++++ 3 files changed, 271 insertions(+) create mode 100644 lib/dependency-caching.js create mode 100644 lib/dependency-caching.js.map create mode 100644 src/dependency-caching.ts diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js new file mode 100644 index 0000000000..4b0feaa5a5 --- /dev/null +++ b/lib/dependency-caching.js @@ -0,0 +1,125 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.downloadDependencyCaches = downloadDependencyCaches; +exports.uploadDependencyCaches = uploadDependencyCaches; +const os = __importStar(require("os")); +const path_1 = require("path"); +const actionsCache = __importStar(require("@actions/cache")); +const glob = __importStar(require("@actions/glob")); +const caching_utils_1 = require("./caching-utils"); +const util_1 = require("./util"); +const CODEQL_DEPENDENCY_CACHE_PREFIX = "codeql-dependencies"; +const CODEQL_DEPENDENCY_CACHE_VERSION = 1; +const CODEQL_DEFAULT_CACHE_CONFIG = { + java: { + paths: [ + // Maven + (0, path_1.join)(os.homedir(), ".m2", "repository"), + // Gradle + (0, path_1.join)(os.homedir(), ".gradle", "caches"), + ], + hash: [ + // Maven + "**/pom.xml", + // Gradle + "**/*.gradle*", + "**/gradle-wrapper.properties", + "buildSrc/**/Versions.kt", + "buildSrc/**/Dependencies.kt", + "gradle/*.versions.toml", + "**/versions.properties", + ], + }, +}; +/** + * Attempts to restore dependency caches for the languages being analyzed. + * + * @param languages The languages being analyzed. + * @param logger A logger to record some informational messages to. + * @returns A list of languages for which dependency caches were restored. + */ +async function downloadDependencyCaches(languages, logger) { + const restoredCaches = []; + for (const language of languages) { + const cacheConfig = CODEQL_DEFAULT_CACHE_CONFIG[language]; + if (cacheConfig === undefined) { + logger.info(`Skipping download of dependency cache for ${language} as we have no caching configuration for it.`); + continue; + } + const primaryKey = await cacheKey(language, cacheConfig); + const restoreKeys = [await cachePrefix(language)]; + logger.info(`Downloading cache for ${language} with key ${primaryKey} and restore keys ${restoreKeys.join(", ")}`); + const hitKey = await actionsCache.restoreCache(cacheConfig.paths, primaryKey, restoreKeys); + if (hitKey !== undefined) { + logger.info(`Cache hit on key ${hitKey} for ${language}.`); + restoredCaches.push(language); + } + } + return restoredCaches; +} +/** + * Attempts to store caches for the languages that were analyzed. + * + * @param config The configuration for this workflow. + * @param logger A logger to record some informational messages to. + */ +async function uploadDependencyCaches(config, logger) { + for (const language of config.languages) { + const cacheConfig = CODEQL_DEFAULT_CACHE_CONFIG[language]; + if (cacheConfig === undefined) { + logger.info(`Skipping upload of dependency cache for ${language} as we have no caching configuration for it.`); + continue; + } + const globber = await glob.create(cacheConfig.hash.join("\n")); + const size = await (0, caching_utils_1.getTotalCacheSize)(await globber.glob(), logger); + const key = await cacheKey(language, cacheConfig); + logger.info(`Uploading cache of size ${size} for ${language} with key ${key}`); + await actionsCache.saveCache(cacheConfig.paths, key); + } +} +/** + * Computes a cache key for the specified language. + * + * @param language The language being analyzed. + * @param cacheConfig The cache configuration for the language. + * @returns A cache key capturing information about the project(s) being analyzed in the specified language. + */ +async function cacheKey(language, cacheConfig) { + const hash = await glob.hashFiles(cacheConfig.hash.join("\n")); + return `${await cachePrefix(language)}${hash}`; +} +/** + * Constructs a prefix for the cache key, comprised of a CodeQL-specific prefix, a version number that + * can be changed to invalidate old caches, the runner's operating system, and the specified language name. + * + * @param language The language being analyzed. + * @returns The prefix that identifies what a cache is for. + */ +async function cachePrefix(language) { + const runnerOs = (0, util_1.getRequiredEnvParam)("RUNNER_OS"); + return `${CODEQL_DEPENDENCY_CACHE_PREFIX}-${CODEQL_DEPENDENCY_CACHE_VERSION}-${runnerOs}-${language}-`; +} +//# sourceMappingURL=dependency-caching.js.map \ No newline at end of file diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map new file mode 100644 index 0000000000..b6228351b7 --- /dev/null +++ b/lib/dependency-caching.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,4DAsCC;AAQD,wDAsBC;AArHD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAO7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO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/dependency-caching.ts new file mode 100644 index 0000000000..35dcd42a98 --- /dev/null +++ b/src/dependency-caching.ts @@ -0,0 +1,145 @@ +import * as os from "os"; +import { join } from "path"; + +import * as actionsCache from "@actions/cache"; +import * as glob from "@actions/glob"; + +import { getTotalCacheSize } from "./caching-utils"; +import { Config } from "./config-utils"; +import { Language } from "./languages"; +import { Logger } from "./logging"; +import { getRequiredEnvParam } from "./util"; + +interface CacheConfig { + paths: string[]; + hash: string[]; +} + +const CODEQL_DEPENDENCY_CACHE_PREFIX = "codeql-dependencies"; +const CODEQL_DEPENDENCY_CACHE_VERSION = 1; + +const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { + java: { + paths: [ + // Maven + join(os.homedir(), ".m2", "repository"), + // Gradle + join(os.homedir(), ".gradle", "caches"), + ], + hash: [ + // Maven + "**/pom.xml", + // Gradle + "**/*.gradle*", + "**/gradle-wrapper.properties", + "buildSrc/**/Versions.kt", + "buildSrc/**/Dependencies.kt", + "gradle/*.versions.toml", + "**/versions.properties", + ], + }, +}; + +/** + * Attempts to restore dependency caches for the languages being analyzed. + * + * @param languages The languages being analyzed. + * @param logger A logger to record some informational messages to. + * @returns A list of languages for which dependency caches were restored. + */ +export async function downloadDependencyCaches( + languages: Language[], + logger: Logger, +): Promise { + const restoredCaches: Language[] = []; + + for (const language of languages) { + const cacheConfig = CODEQL_DEFAULT_CACHE_CONFIG[language]; + + if (cacheConfig === undefined) { + logger.info( + `Skipping download of dependency cache for ${language} as we have no caching configuration for it.`, + ); + continue; + } + + const primaryKey = await cacheKey(language, cacheConfig); + const restoreKeys: string[] = [await cachePrefix(language)]; + + logger.info( + `Downloading cache for ${language} with key ${primaryKey} and restore keys ${restoreKeys.join( + ", ", + )}`, + ); + + const hitKey = await actionsCache.restoreCache( + cacheConfig.paths, + primaryKey, + restoreKeys, + ); + + if (hitKey !== undefined) { + logger.info(`Cache hit on key ${hitKey} for ${language}.`); + restoredCaches.push(language); + } + } + + return restoredCaches; +} + +/** + * Attempts to store caches for the languages that were analyzed. + * + * @param config The configuration for this workflow. + * @param logger A logger to record some informational messages to. + */ +export async function uploadDependencyCaches(config: Config, logger: Logger) { + for (const language of config.languages) { + const cacheConfig = CODEQL_DEFAULT_CACHE_CONFIG[language]; + + if (cacheConfig === undefined) { + logger.info( + `Skipping upload of dependency cache for ${language} as we have no caching configuration for it.`, + ); + continue; + } + + const globber = await glob.create(cacheConfig.hash.join("\n")); + const size = await getTotalCacheSize(await globber.glob(), logger); + + const key = await cacheKey(language, cacheConfig); + + logger.info( + `Uploading cache of size ${size} for ${language} with key ${key}`, + ); + + await actionsCache.saveCache(cacheConfig.paths, key); + } +} + +/** + * Computes a cache key for the specified language. + * + * @param language The language being analyzed. + * @param cacheConfig The cache configuration for the language. + * @returns A cache key capturing information about the project(s) being analyzed in the specified language. + */ +async function cacheKey( + language: Language, + cacheConfig: CacheConfig, +): Promise { + const hash = await glob.hashFiles(cacheConfig.hash.join("\n")); + return `${await cachePrefix(language)}${hash}`; +} + +/** + * Constructs a prefix for the cache key, comprised of a CodeQL-specific prefix, a version number that + * can be changed to invalidate old caches, the runner's operating system, and the specified language name. + * + * @param language The language being analyzed. + * @returns The prefix that identifies what a cache is for. + */ +async function cachePrefix(language: Language): Promise { + const runnerOs = getRequiredEnvParam("RUNNER_OS"); + return `${CODEQL_DEPENDENCY_CACHE_PREFIX}-${CODEQL_DEPENDENCY_CACHE_VERSION}-${runnerOs}-${language}-`; +} From f64038fc406fea9261253f20e3fc7212accef2c8 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 22 Jul 2024 15:30:56 +0100 Subject: [PATCH 06/24] Store and restore dependency caches in `init` Action --- lib/init-action-post.js | 6 ++++++ lib/init-action-post.js.map | 2 +- lib/init-action.js | 5 +++++ lib/init-action.js.map | 2 +- src/init-action-post.ts | 10 ++++++++++ src/init-action.ts | 6 ++++++ 6 files changed, 29 insertions(+), 2 deletions(-) diff --git a/lib/init-action-post.js b/lib/init-action-post.js index b078b8f0c8..27dc953958 100644 --- a/lib/init-action-post.js +++ b/lib/init-action-post.js @@ -33,6 +33,7 @@ const actions_util_1 = require("./actions-util"); const api_client_1 = require("./api-client"); const config_utils_1 = require("./config-utils"); const debugArtifacts = __importStar(require("./debug-artifacts")); +const dependency_caching_1 = require("./dependency-caching"); const feature_flags_1 = require("./feature-flags"); const initActionPostHelper = __importStar(require("./init-action-post-helper")); const logging_1 = require("./logging"); @@ -78,6 +79,11 @@ async function runWrapper() { }; await (0, status_report_1.sendStatusReport)(statusReport); } + // Store dependency cache(s) if the job was successful and dependency caching is enabled. + if (jobStatus === status_report_1.JobStatus.SuccessStatus && + config.dependencyCachingEnabled) { + await (0, dependency_caching_1.uploadDependencyCaches)(config, logger); + } } void runWrapper(); //# sourceMappingURL=init-action-post.js.map \ No newline at end of file diff --git a/lib/init-action-post.js.map b/lib/init-action-post.js.map index 9cd49ff555..327bca28a2 100644 --- a/lib/init-action-post.js.map +++ b/lib/init-action-post.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAIwB;AACxB,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAOyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,qCAAqC;QACrC,IAAA,4BAAa,GAAE,CAAC;QAEhB,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,a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EAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAE5E,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,QAAQ,EACnB,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,CACP,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,YAAY,GAAyB;YACzC,GAAG,gBAAgB;YACnB,GAAG,uBAAuB;YAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;SACrD,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAIwB;AACxB,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,6DAA8D;AAC9D,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAQyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,qCAAqC;QACrC,IAAA,4BAAa,GAAE,CAAC;QAEhB,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,MAAM,aAAa,GAAG,IAAA,+BAAkB,EACtC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CACzC,CAAC;QACF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T,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,CACP,CAAC;IACF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,MAAM,YAAY,GAAyB;YACzC,GAAG,gBAAgB;YACnB,GAAG,uBAAuB;YAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;SACrD,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC,CAAC;IAED,yFAAyF;IACzF,IACE,SAAS,KAAK,yBAAS,CAAC,aAAa;QACrC,MAAM,CAAC,wBAAwB,EAC/B,CAAC;QACD,MAAM,IAAA,2CAAsB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index 4b404eaca4..72a93b87ef 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -31,6 +31,7 @@ const uuid_1 = require("uuid"); const actions_util_1 = require("./actions-util"); const api_client_1 = require("./api-client"); const configUtils = __importStar(require("./config-utils")); +const dependency_caching_1 = require("./dependency-caching"); const diagnostics_1 = require("./diagnostics"); const environment_1 = require("./environment"); const feature_flags_1 = require("./feature-flags"); @@ -325,6 +326,10 @@ async function run() { logger.info(`Setting C++ build-mode: none to ${value}`); core.exportVariable(bmnVar, value); } + // Restore dependency cache(s), if they exist. + if (config.dependencyCachingEnabled) { + await (0, dependency_caching_1.downloadDependencyCaches)(config.languages, logger); + } // For CLI versions <2.15.1, build tracing caused errors in MacOS ARM machines with // System Integrity Protection (SIP) disabled. if (!(await (0, util_1.codeQlVersionAtLeast)(codeql, "2.15.1")) && diff --git a/lib/init-action.js.map b/lib/init-action.js.map index d8612b8286..d3aca50bdb 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../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AC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QAChD,kBAAkB,EAAE,iBAAiB,IAAI,EAAE;KAC5C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AC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/init-action-post.ts b/src/init-action-post.ts index f28cea4fdb..5a74a93bf0 100644 --- a/src/init-action-post.ts +++ b/src/init-action-post.ts @@ -14,6 +14,7 @@ import { import { getGitHubVersion } from "./api-client"; import { Config, getConfig } from "./config-utils"; import * as debugArtifacts from "./debug-artifacts"; +import { uploadDependencyCaches } from "./dependency-caching"; import { Features } from "./feature-flags"; import * as initActionPostHelper from "./init-action-post-helper"; import { getActionsLogger } from "./logging"; @@ -25,6 +26,7 @@ import { getActionsStatus, ActionName, getJobStatusDisplayName, + JobStatus, } from "./status-report"; import { checkDiskUsage, @@ -116,6 +118,14 @@ async function runWrapper() { }; await sendStatusReport(statusReport); } + + // Store dependency cache(s) if the job was successful and dependency caching is enabled. + if ( + jobStatus === JobStatus.SuccessStatus && + config.dependencyCachingEnabled + ) { + await uploadDependencyCaches(config, logger); + } } void runWrapper(); diff --git a/src/init-action.ts b/src/init-action.ts index 9c78b5f72f..9852064c41 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -17,6 +17,7 @@ import { import { getGitHubVersion } from "./api-client"; import { CodeQL } from "./codeql"; import * as configUtils from "./config-utils"; +import { downloadDependencyCaches } from "./dependency-caching"; import { addDiagnostic, flushDiagnostics, @@ -557,6 +558,11 @@ async function run() { core.exportVariable(bmnVar, value); } + // Restore dependency cache(s), if they exist. + if (config.dependencyCachingEnabled) { + await downloadDependencyCaches(config.languages, logger); + } + // For CLI versions <2.15.1, build tracing caused errors in MacOS ARM machines with // System Integrity Protection (SIP) disabled. if ( From 5e11d57e17738e7465a2e8a640675aa0ef037b79 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 23 Jul 2024 12:03:28 +0100 Subject: [PATCH 07/24] Add caching configuration for C# --- lib/dependency-caching.js | 7 +++++++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 4b0feaa5a5..dcd25f5a65 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -53,6 +53,13 @@ const CODEQL_DEFAULT_CACHE_CONFIG = { "**/versions.properties", ], }, + csharp: { + paths: [(0, path_1.join)(os.homedir(), ".nuget", "packages")], + hash: [ + // NuGet + "**/packages.lock.json", + ], + }, }; /** * Attempts to restore dependency caches for the languages being analyzed. diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index b6228351b7..72cc02ba3f 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,4DAsCC;AAQD,wDAsBC;AArHD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAO7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,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,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index 35dcd42a98..cb59b0ce2c 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -38,6 +38,13 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { "**/versions.properties", ], }, + csharp: { + paths: [join(os.homedir(), ".nuget", "packages")], + hash: [ + // NuGet + "**/packages.lock.json", + ], + }, }; /** From 9d1353fe5fc05c481d64135b95410351920043e2 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 23 Jul 2024 12:08:31 +0100 Subject: [PATCH 08/24] Add caching configuration for Go --- lib/dependency-caching.js | 4 ++++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index dcd25f5a65..b0695bdbc2 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -60,6 +60,10 @@ const CODEQL_DEFAULT_CACHE_CONFIG = { "**/packages.lock.json", ], }, + go: { + paths: [(0, path_1.join)(os.homedir(), "go", "pkg", "mod")], + hash: ["**/go.sum"], + }, }; /** * Attempts to restore dependency caches for the languages being analyzed. diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index 72cc02ba3f..36b8ab9f10 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwDA,4DAsCC;AAQD,wDAsBC;AA5HD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAO7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA8B;YAC9B,yBAAyB;YACzB,6BAA6B;YAC7B,wBAAwB;YACxB,wBAAwB;SACzB;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;QACjD,IAAI,EAAE;YACJ,QAAQ;YACR,uBAAuB;SACxB;KACF;CACF,CAAC;AAEF;;;;;;GAMG;AACI,KAAK,UAAU,wBAAwB,CAC5C,SAAqB,EACrB,MAAc;IAEd,MAAM,cAAc,GAAe,EAAE,CAAC;IAEt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AC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index cb59b0ce2c..b2fcfcbd24 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -45,6 +45,10 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { "**/packages.lock.json", ], }, + go: { + paths: [join(os.homedir(), "go", "pkg", "mod")], + hash: ["**/go.sum"], + }, }; /** From 5afaeede1c13b7a6cd7caa4b742bf86e5ad4ddb0 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 23 Jul 2024 12:38:04 +0100 Subject: [PATCH 09/24] Ensure that we have files to calculate the hash for the cache key from --- lib/dependency-caching.js | 20 ++++++++++++++++++-- lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 28 ++++++++++++++++++++++++++-- 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index b0695bdbc2..515182594e 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -65,6 +65,9 @@ const CODEQL_DEFAULT_CACHE_CONFIG = { hash: ["**/go.sum"], }, }; +async function makeGlobber(files) { + return glob.create(files.join("\n")); +} /** * Attempts to restore dependency caches for the languages being analyzed. * @@ -80,6 +83,13 @@ async function downloadDependencyCaches(languages, logger) { logger.info(`Skipping download of dependency cache for ${language} as we have no caching configuration for it.`); continue; } + // Check that we can find files to calculate the hash for the cache key from, so we don't end up + // with an empty string. + const globber = await makeGlobber(cacheConfig.hash); + if ((await globber.glob()).length === 0) { + logger.info(`Skipping download of dependency cache for ${language} as we cannot calculate a hash for the cache key.`); + continue; + } const primaryKey = await cacheKey(language, cacheConfig); const restoreKeys = [await cachePrefix(language)]; logger.info(`Downloading cache for ${language} with key ${primaryKey} and restore keys ${restoreKeys.join(", ")}`); @@ -104,8 +114,14 @@ async function uploadDependencyCaches(config, logger) { logger.info(`Skipping upload of dependency cache for ${language} as we have no caching configuration for it.`); continue; } - const globber = await glob.create(cacheConfig.hash.join("\n")); - const size = await (0, caching_utils_1.getTotalCacheSize)(await globber.glob(), logger); + // Check that we can find files to calculate the hash for the cache key from, so we don't end up + // with an empty string. + const globber = await makeGlobber(cacheConfig.hash); + if ((await globber.glob()).length === 0) { + logger.info(`Skipping upload of dependency cache for ${language} as we cannot calculate a hash for the cache key.`); + continue; + } + const size = await (0, caching_utils_1.getTotalCacheSize)(cacheConfig.paths, logger); const key = await cacheKey(language, cacheConfig); logger.info(`Uploading cache of size ${size} for ${language} with key ${key}`); await actionsCache.saveCache(cacheConfig.paths, key); diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index 36b8ab9f10..ea8abae2d2 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4DA,4DAsCC;AAQD,wDAsBC;AAhID,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAO7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D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S,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgEA,4DAiDC;AAQD,wDA+BC;AAxJD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAO7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA8B;YAC9B,yBAAyB;YACzB,6BAA6B;YAC7B,w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AAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QAElD,MAAM,CAAC,IAAI,CACT,2BAA2B,IAAI,QAAQ,QAAQ,aAAa,GAAG,EAAE,CAClE,CAAC;QAEF,MAAM,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index b2fcfcbd24..dd6b1757f8 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -51,6 +51,10 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { }, }; +async function makeGlobber(files: string[]): Promise { + return glob.create(files.join("\n")); +} + /** * Attempts to restore dependency caches for the languages being analyzed. * @@ -74,6 +78,17 @@ export async function downloadDependencyCaches( continue; } + // Check that we can find files to calculate the hash for the cache key from, so we don't end up + // with an empty string. + const globber = await makeGlobber(cacheConfig.hash); + + if ((await globber.glob()).length === 0) { + logger.info( + `Skipping download of dependency cache for ${language} as we cannot calculate a hash for the cache key.`, + ); + continue; + } + const primaryKey = await cacheKey(language, cacheConfig); const restoreKeys: string[] = [await cachePrefix(language)]; @@ -115,9 +130,18 @@ export async function uploadDependencyCaches(config: Config, logger: Logger) { continue; } - const globber = await glob.create(cacheConfig.hash.join("\n")); - const size = await getTotalCacheSize(await globber.glob(), logger); + // Check that we can find files to calculate the hash for the cache key from, so we don't end up + // with an empty string. + const globber = await makeGlobber(cacheConfig.hash); + + if ((await globber.glob()).length === 0) { + logger.info( + `Skipping upload of dependency cache for ${language} as we cannot calculate a hash for the cache key.`, + ); + continue; + } + const size = await getTotalCacheSize(cacheConfig.paths, logger); const key = await cacheKey(language, cacheConfig); logger.info( From f0bcca15984355520d79de5fcb6add678c1d78aa Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 26 Jul 2024 13:22:46 +0100 Subject: [PATCH 10/24] Add documentation for `CacheConfig` --- lib/dependency-caching.js | 3 +++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 12 ++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 515182594e..5ec416bc36 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -33,6 +33,9 @@ const caching_utils_1 = require("./caching-utils"); const util_1 = require("./util"); const CODEQL_DEPENDENCY_CACHE_PREFIX = "codeql-dependencies"; const CODEQL_DEPENDENCY_CACHE_VERSION = 1; +/** + * Default caching configurations per language. + */ const CODEQL_DEFAULT_CACHE_CONFIG = { java: { paths: [ diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index ea8abae2d2..e76b888e99 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgEA,4DAiDC;AAQD,wDA+BC;AAxJD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAO7C,MAAM,8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AClG,CAAC;YACF,SAAS;QACX,CAAC;QAED,gGAAgG;QAChG,wBAAwB;QACxB,MAAM,OAAO,GAAG,MAAM,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAEpD,IAAI,CAAC,MAAM,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACxC,MAAM,CAAC,IAAI,CACT,2CAA2C,QAAQ,mDAAmD,CACvG,CAAC;YACF,SAAS;QACX,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAiB,EAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAChE,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QAElD,MAAM,CAAC,IAAI,CACT,2BAA2B,IAAI,QAAQ,QAAQ,aAAa,GAAG,EAAE,CAClE,CAAC;QAEF,MAAM,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;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O,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index dd6b1757f8..9e95bcf2ea 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -10,14 +10,26 @@ import { Language } from "./languages"; import { Logger } from "./logging"; import { getRequiredEnvParam } from "./util"; +/** + * Caching configuration for a particular language. + */ interface CacheConfig { + /** The paths of directories on the runner that should be included in the cache. */ paths: string[]; + /** + * Patterns for the paths of files whose contents affect which dependencies are used + * by a project. We find all files which match these patterns, calculate a hash for + * their contents, and use that hash as part of the cache key. + */ hash: string[]; } const CODEQL_DEPENDENCY_CACHE_PREFIX = "codeql-dependencies"; const CODEQL_DEPENDENCY_CACHE_VERSION = 1; +/** + * Default caching configurations per language. + */ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { java: { paths: [ From 259cc5a39c98cc415250493d8adedf24c3612b75 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 26 Jul 2024 13:25:26 +0100 Subject: [PATCH 11/24] Rename `makeGlobber` parameter --- lib/dependency-caching.js | 4 ++-- lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 5ec416bc36..25dacafe26 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -68,8 +68,8 @@ const CODEQL_DEFAULT_CACHE_CONFIG = { hash: ["**/go.sum"], }, }; -async function makeGlobber(files) { - return glob.create(files.join("\n")); +async function makeGlobber(patterns) { + return glob.create(patterns.join("\n")); } /** * Attempts to restore dependency caches for the languages being analyzed. diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index e76b888e99..006e7a0aae 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version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C3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,4DAiDC;AAQD,wDA+BC;AApKD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA8B;YAC9B,yBAAyB;YACzB,6BAA6B;YAC7B,wBAAwB;YACxB,wBAAwB;SACzB;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;QACjD,IAAI,EAAE;YACJ,QAAQ;YACR,uBAAuB;SACxB;KACF;IACD,EAAE,EAAE;QACF,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC/C,IAAI,EAAE,CAAC,WAAW,CAAC;KACpB;CACF,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AI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index 9e95bcf2ea..ce9e1268aa 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -63,8 +63,8 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { }, }; -async function makeGlobber(files: string[]): Promise { - return glob.create(files.join("\n")); +async function makeGlobber(patterns: string[]): Promise { + return glob.create(patterns.join("\n")); } /** From 471ed9f4c50565c6df4e2b30850715ab5488c009 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 26 Jul 2024 13:30:15 +0100 Subject: [PATCH 12/24] Move `isDefaultSetup` to `actions-util.ts` and change implementation --- lib/actions-util.js | 5 +++++ lib/actions-util.js.map | 2 +- lib/init-action.js | 8 +------- lib/init-action.js.map | 2 +- src/actions-util.ts | 5 +++++ src/init-action.ts | 8 +------- 6 files changed, 14 insertions(+), 16 deletions(-) diff --git a/lib/actions-util.js b/lib/actions-util.js index 468e52de9d..af1ad766fd 100644 --- a/lib/actions-util.js +++ b/lib/actions-util.js @@ -37,6 +37,7 @@ exports.getUploadValue = getUploadValue; exports.getWorkflowRunID = getWorkflowRunID; exports.getWorkflowRunAttempt = getWorkflowRunAttempt; exports.isSelfHostedRunner = isSelfHostedRunner; +exports.isDefaultSetup = isDefaultSetup; exports.prettyPrintInvocation = prettyPrintInvocation; exports.ensureEndsInPeriod = ensureEndsInPeriod; exports.runTool = runTool; @@ -425,6 +426,10 @@ exports.getFileType = getFileType; function isSelfHostedRunner() { return process.env.RUNNER_ENVIRONMENT === "self-hosted"; } +/** Determines whether we are running in default setup. */ +function isDefaultSetup() { + return getWorkflowEventName() === "dynamic"; +} function prettyPrintInvocation(cmd, args) { return [cmd, ...args].map((x) => (x.includes(" ") ? `'${x}'` : x)).join(" "); } diff --git a/lib/actions-util.js.map b/lib/actions-util.js.map index d6b5fc1976..d5b1277200 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,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G,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/init-action.js b/lib/init-action.js index 72a93b87ef..31871ca0a2 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -417,12 +417,6 @@ async function recordZstdAvailability(config, zstdAvailability) { }, })); } -/** Determines whether we are running in default setup. */ -function isDefaultSetup() { - // This is set to something in default setup runs. - // TODO: replace with something better, if there's something. - return process.env["CODE_SCANNING_WORKFLOW_FILE"] !== undefined; -} /** Determines whether dependency caching is enabled. */ function getDependencyCachingEnabled() { // If the workflow specified something always respect that @@ -433,7 +427,7 @@ function getDependencyCachingEnabled() { if (!(0, util_1.isHostedRunner)()) return false; // Disable in advanced workflows by default. - if (!isDefaultSetup()) + if (!(0, actions_util_1.isDefaultSetup)()) return false; // On hosted runners, enable dependency caching by default return true; diff --git a/lib/init-action.js.map b/lib/init-action.js.map index d3aca50bdb..9058be7165 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QACh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CAAC;IAEpC,0DAA0D;IAC1D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDASwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;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AC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,4CAA4C;IAC5C,IAAI,CAAC,IAAA,6BAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,0DAA0D;IAC1D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/actions-util.ts b/src/actions-util.ts index 8d4453428c..8abeb63485 100644 --- a/src/actions-util.ts +++ b/src/actions-util.ts @@ -472,6 +472,11 @@ export function isSelfHostedRunner() { return process.env.RUNNER_ENVIRONMENT === "self-hosted"; } +/** Determines whether we are running in default setup. */ +export function isDefaultSetup(): boolean { + return getWorkflowEventName() === "dynamic"; +} + export function prettyPrintInvocation(cmd: string, args: string[]): string { return [cmd, ...args].map((x) => (x.includes(" ") ? `'${x}'` : x)).join(" "); } diff --git a/src/init-action.ts b/src/init-action.ts index 9852064c41..ee9bb27849 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -13,6 +13,7 @@ import { getRequiredInput, getTemporaryDirectory, persistInputs, + isDefaultSetup, } from "./actions-util"; import { getGitHubVersion } from "./api-client"; import { CodeQL } from "./codeql"; @@ -723,13 +724,6 @@ async function recordZstdAvailability( ); } -/** Determines whether we are running in default setup. */ -function isDefaultSetup(): boolean { - // This is set to something in default setup runs. - // TODO: replace with something better, if there's something. - return process.env["CODE_SCANNING_WORKFLOW_FILE"] !== undefined; -} - /** Determines whether dependency caching is enabled. */ function getDependencyCachingEnabled(): boolean { // If the workflow specified something always respect that From 5b057af8ce28dafb1cacb7ddf4d67741348904e1 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 26 Jul 2024 13:34:24 +0100 Subject: [PATCH 13/24] Store dependency caches in `analyze` Action --- lib/analyze-action.js | 5 +++++ lib/analyze-action.js.map | 2 +- lib/init-action-post.js | 6 ------ lib/init-action-post.js.map | 2 +- src/analyze-action.ts | 6 ++++++ src/init-action-post.ts | 10 ---------- 6 files changed, 13 insertions(+), 18 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 1420ed3729..dc9d51817e 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -38,6 +38,7 @@ const autobuild_1 = require("./autobuild"); const codeql_1 = require("./codeql"); const config_utils_1 = require("./config-utils"); const database_upload_1 = require("./database-upload"); +const dependency_caching_1 = require("./dependency-caching"); const environment_1 = require("./environment"); const feature_flags_1 = require("./feature-flags"); const languages_1 = require("./languages"); @@ -204,6 +205,10 @@ async function run() { trapCacheUploadTime = perf_hooks_1.performance.now() - trapCacheUploadStartTime; // Clean up TRAP caches trapCacheCleanupTelemetry = await (0, trap_caching_1.cleanupTrapCaches)(config, features, logger); + // Store dependency cache(s) if dependency caching is enabled. + if (config.dependencyCachingEnabled) { + await (0, dependency_caching_1.uploadDependencyCaches)(config, logger); + } // We don't upload results in test mode, so don't wait for processing if (util.isInTestMode()) { logger.debug("In test mode. Waiting for processing is disabled."); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index ec46617c69..6b957a696a 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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C,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,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 +{"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,6DAA8D;AAC9D,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mD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,QAAQ;YACX,GAAG,YAAY,CAAC,YAAY;SAC7B,EACD,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,QAAQ,EAAE,CAAC;QACpB,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,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/init-action-post.js b/lib/init-action-post.js index 27dc953958..b078b8f0c8 100644 --- a/lib/init-action-post.js +++ b/lib/init-action-post.js @@ -33,7 +33,6 @@ const actions_util_1 = require("./actions-util"); const api_client_1 = require("./api-client"); const config_utils_1 = require("./config-utils"); const debugArtifacts = __importStar(require("./debug-artifacts")); -const dependency_caching_1 = require("./dependency-caching"); const feature_flags_1 = require("./feature-flags"); const initActionPostHelper = __importStar(require("./init-action-post-helper")); const logging_1 = require("./logging"); @@ -79,11 +78,6 @@ async function runWrapper() { }; await (0, status_report_1.sendStatusReport)(statusReport); } - // Store dependency cache(s) if the job was successful and dependency caching is enabled. - if (jobStatus === status_report_1.JobStatus.SuccessStatus && - config.dependencyCachingEnabled) { - await (0, dependency_caching_1.uploadDependencyCaches)(config, logger); - } } void runWrapper(); //# sourceMappingURL=init-action-post.js.map \ No newline at end of file diff --git a/lib/init-action-post.js.map b/lib/init-action-post.js.map index 327bca28a2..9cd49ff555 100644 --- a/lib/init-action-post.js.map +++ b/lib/init-action-post.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAIwB;AACxB,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,6DAA8D;AAC9D,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAQyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,qCAAqC;QACrC,IAAA,4BAAa,GAAE,CAAC;QAEhB,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,MAAM,aAAa,GAAG,IAAA,+BAAkB,EACtC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CACzC,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,wBAAQ,CAC3B,aAAa,EACb,aAAa,EACb,IAAA,oCAAqB,GAAE,EACvB,MAAM,CACP,CAAC;QAEF,MAAM,GAAG,MAAM,IAAA,wBAAS,EAAC,IAAA,oCAAqB,GAAE,EAAE,MAA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GAAG,uBAAuB;YAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;SACrD,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC,CAAC;IAED,yFAAyF;IACzF,IACE,SAAS,KAAK,yBAAS,CAAC,aAAa;QACrC,MAAM,CAAC,wBAAwB,EAC/B,CAAC;QACD,MAAM,IAAA,2CAAsB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAIwB;AACxB,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAOyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,qCAAqC;QACrC,IAAA,4BAAa,GAAE,CAAC;QAEhB,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,MAAM,aAAa,GAAG,IAAA,+BAAkB,EACtC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CACzC,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,wBAAQ,CAC3B,aAAa,EACb,aAAa,EACb,IAAA,oCAAqB,GAAE,EACvB,MAAM,CACP,CAAC;QAEF,MAAM,GAAG,MAAM,IAAA,wBAAS,EAAC,I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B;YACzC,GAAG,gBAAgB;YACnB,GAAG,uBAAuB;YAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;SACrD,CAAC;QACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 5c32084329..28d24b550f 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -19,6 +19,7 @@ import { runAutobuild } from "./autobuild"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; import { uploadDatabases } from "./database-upload"; +import { uploadDependencyCaches } from "./dependency-caching"; import { EnvVar } from "./environment"; import { Features } from "./feature-flags"; import { Language } from "./languages"; @@ -328,6 +329,11 @@ async function run() { logger, ); + // Store dependency cache(s) if dependency caching is enabled. + if (config.dependencyCachingEnabled) { + await uploadDependencyCaches(config, logger); + } + // We don't upload results in test mode, so don't wait for processing if (util.isInTestMode()) { logger.debug("In test mode. Waiting for processing is disabled."); diff --git a/src/init-action-post.ts b/src/init-action-post.ts index 5a74a93bf0..f28cea4fdb 100644 --- a/src/init-action-post.ts +++ b/src/init-action-post.ts @@ -14,7 +14,6 @@ import { import { getGitHubVersion } from "./api-client"; import { Config, getConfig } from "./config-utils"; import * as debugArtifacts from "./debug-artifacts"; -import { uploadDependencyCaches } from "./dependency-caching"; import { Features } from "./feature-flags"; import * as initActionPostHelper from "./init-action-post-helper"; import { getActionsLogger } from "./logging"; @@ -26,7 +25,6 @@ import { getActionsStatus, ActionName, getJobStatusDisplayName, - JobStatus, } from "./status-report"; import { checkDiskUsage, @@ -118,14 +116,6 @@ async function runWrapper() { }; await sendStatusReport(statusReport); } - - // Store dependency cache(s) if the job was successful and dependency caching is enabled. - if ( - jobStatus === JobStatus.SuccessStatus && - config.dependencyCachingEnabled - ) { - await uploadDependencyCaches(config, logger); - } } void runWrapper(); From f3714aed1f6163596440dad4b566c56d9e1c185e Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 26 Jul 2024 13:42:40 +0100 Subject: [PATCH 14/24] Skip uploading empty caches --- lib/dependency-caching.js | 5 +++++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 9 +++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 25dacafe26..7f9e6adecc 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -125,6 +125,11 @@ async function uploadDependencyCaches(config, logger) { continue; } const size = await (0, caching_utils_1.getTotalCacheSize)(cacheConfig.paths, logger); + // Skip uploading an empty cache. + if (size === 0) { + logger.info(`Skipping upload of dependency cache for ${language} since it is empty.`); + continue; + } const key = await cacheKey(language, cacheConfig); logger.info(`Uploading cache of size ${size} for ${language} with key ${key}`); await actionsCache.saveCache(cacheConfig.paths, key); diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index 006e7a0aae..c42ee9f7f4 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,4DAiDC;AAQD,wDA+BC;AApKD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAA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AC;YACF,SAAS;QACX,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAiB,EAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAChE,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QAElD,MAAM,CAAC,IAAI,CACT,2BAA2B,IAAI,QAAQ,QAAQ,aAAa,GAAG,EAAE,CAClE,CAAC;QAEF,MAAM,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,4DAiDC;AAQD,wDAwCC;AA7KD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE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268aa..5de3e02512 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -154,6 +154,15 @@ export async function uploadDependencyCaches(config: Config, logger: Logger) { } const size = await getTotalCacheSize(cacheConfig.paths, logger); + + // Skip uploading an empty cache. + if (size === 0) { + logger.info( + `Skipping upload of dependency cache for ${language} since it is empty.`, + ); + continue; + } + const key = await cacheKey(language, cacheConfig); logger.info( From 1338dbce25bf3c40905231d964190224d19f7ff3 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 25 Sep 2024 11:10:11 +0100 Subject: [PATCH 15/24] Add env var alternative to `dependency-caching` input --- lib/environment.js | 6 ++++++ lib/environment.js.map | 2 +- lib/init-action.js | 3 ++- lib/init-action.js.map | 2 +- src/environment.ts | 7 +++++++ src/init-action.ts | 4 +++- 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/lib/environment.js b/lib/environment.js index 52d27b2eef..6e27a2ecf4 100644 --- a/lib/environment.js +++ b/lib/environment.js @@ -80,5 +80,11 @@ var EnvVar; * We check this later to ensure that it hasn't been tampered with by a late e.g. `setup-go` step. */ EnvVar["GO_BINARY_LOCATION"] = "CODEQL_ACTION_GO_BINARY"; + /** + * Used as an alternative to the `dependency-caching` input for the `init` Action. + * Useful for experiments where it is easier to set an environment variable than + * change the inputs to the Action. + */ + EnvVar["DEPENDENCY_CACHING"] = "CODEQL_ACTION_DEPENDENCY_CACHING"; })(EnvVar || (exports.EnvVar = EnvVar = {})); //# sourceMappingURL=environment.js.map \ No newline at end of file diff --git a/lib/environment.js.map b/lib/environment.js.map index 964de8cb89..4925b1cddc 100644 --- a/lib/environment.js.map +++ b/lib/environment.js.map @@ -1 +1 @@ -{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MA8FX;AA9FD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD;;;OAGG;IACH,yDAA+C,CAAA;IAE/C,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD,8DAA8D;IAC9D,6EAAmE,CAAA;IAEnE;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;AAChD,CAAC,EA9FW,MAAM,sBAAN,MAAM,QA8FjB"} \ No newline at end of file +{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MAqGX;AArGD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD;;;OAGG;IACH,yDAA+C,CAAA;IAE/C,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD,8DAA8D;IAC9D,6EAAmE,CAAA;IAEnE;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;IAE9C;;;;OAIG;IACH,iEAAuD,CAAA;AACzD,CAAC,EArGW,MAAM,sBAAN,MAAM,QAqGjB"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index 31871ca0a2..0a059cff4d 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -420,7 +420,8 @@ async function recordZstdAvailability(config, zstdAvailability) { /** Determines whether dependency caching is enabled. */ function getDependencyCachingEnabled() { // If the workflow specified something always respect that - const dependencyCaching = (0, actions_util_1.getOptionalInput)("dependency-caching"); + const dependencyCaching = (0, actions_util_1.getOptionalInput)("dependency-caching") || + process.env[environment_1.EnvVar.DEPENDENCY_CACHING]; if (dependencyCaching !== undefined) return dependencyCaching === "true"; // On self-hosted runners which may have dependencies installed centrally, disable caching by default diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 9058be7165..7b7b7c2a75 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDASwB;AACxB,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7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,sBAAsB,CACnC,MAA0B,EAC1B,gBAAkC;IAElC,IAAA,2BAAa,EACX,MAAM;IACN,sFAAsF;IACtF,kDAAkD;IAClD,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EACnB,IAAA,4BAAc,EACZ,iCAAiC,EACjC,wBAAwB,EACxB;QACE,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,wDAAwD;AACxD,SAAS,2BAA2B;IAClC,0DAA0D;IAC1D,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,oBAAoB,CAAC,CAAC;IACjE,IAAI,iBAAiB,KAAK,SAAS;QAAE,OAAO,iBAAiB,KAAK,MAAM,CAAC;IAEzE,qGAAqG;IACrG,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,4CAA4C;IAC5C,IAAI,CAAC,IAAA,6BAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,0DAA0D;IAC1D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;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C,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/environment.ts b/src/environment.ts index 43a56d688f..9659208dee 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -98,4 +98,11 @@ export enum EnvVar { * We check this later to ensure that it hasn't been tampered with by a late e.g. `setup-go` step. */ GO_BINARY_LOCATION = "CODEQL_ACTION_GO_BINARY", + + /** + * Used as an alternative to the `dependency-caching` input for the `init` Action. + * Useful for experiments where it is easier to set an environment variable than + * change the inputs to the Action. + */ + DEPENDENCY_CACHING = "CODEQL_ACTION_DEPENDENCY_CACHING", } diff --git a/src/init-action.ts b/src/init-action.ts index ee9bb27849..09d61ee12b 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -727,7 +727,9 @@ async function recordZstdAvailability( /** Determines whether dependency caching is enabled. */ function getDependencyCachingEnabled(): boolean { // If the workflow specified something always respect that - const dependencyCaching = getOptionalInput("dependency-caching"); + const dependencyCaching = + getOptionalInput("dependency-caching") || + process.env[EnvVar.DEPENDENCY_CACHING]; if (dependencyCaching !== undefined) return dependencyCaching === "true"; // On self-hosted runners which may have dependencies installed centrally, disable caching by default From 8f657e857d2c2b2030b7a46b357ff6480555e72e Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 7 Oct 2024 10:59:35 +0100 Subject: [PATCH 16/24] Add environment variable for custom dependency cache prefix --- lib/dependency-caching.js | 8 +++++++- lib/dependency-caching.js.map | 2 +- lib/environment.js | 5 +++++ lib/environment.js.map | 2 +- src/dependency-caching.ts | 10 +++++++++- src/environment.ts | 6 ++++++ 6 files changed, 29 insertions(+), 4 deletions(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 7f9e6adecc..78db36271d 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -31,6 +31,7 @@ const actionsCache = __importStar(require("@actions/cache")); const glob = __importStar(require("@actions/glob")); const caching_utils_1 = require("./caching-utils"); const util_1 = require("./util"); +const environment_1 = require("./environment"); const CODEQL_DEPENDENCY_CACHE_PREFIX = "codeql-dependencies"; const CODEQL_DEPENDENCY_CACHE_VERSION = 1; /** @@ -155,6 +156,11 @@ async function cacheKey(language, cacheConfig) { */ async function cachePrefix(language) { const runnerOs = (0, util_1.getRequiredEnvParam)("RUNNER_OS"); - return `${CODEQL_DEPENDENCY_CACHE_PREFIX}-${CODEQL_DEPENDENCY_CACHE_VERSION}-${runnerOs}-${language}-`; + const customPrefix = process.env[environment_1.EnvVar.DEPENDENCY_CACHING_PREFIX]; + let prefix = CODEQL_DEPENDENCY_CACHE_PREFIX; + if (customPrefix !== undefined && customPrefix.length > 0) { + prefix = `${prefix}-${customPrefix}`; + } + return `${prefix}-${CODEQL_DEPENDENCY_CACHE_VERSION}-${runnerOs}-${language}-`; } //# sourceMappingURL=dependency-caching.js.map \ No newline at end of file diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index c42ee9f7f4..a0f438a742 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,4DAiDC;AAQD,wDAwCC;AA7KD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,E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AAmD,CACvG,CAAC;YACF,SAAS;QACX,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAiB,EAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAEhE,iCAAiC;QACjC,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC;YACf,MAAM,CAAC,IAAI,CACT,2CAA2C,QAAQ,qBAAqB,CACzE,CAAC;YACF,SAAS;QACX,CAAC;QAED,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QAElD,MAAM,CAAC,IAAI,CACT,2BAA2B,IAAI,QAAQ,QAAQ,aAAa,GAAG,EAAE,CAClE,CAAC;QAEF,MAAM,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,OAAO,GAAG,8BAA8B,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACzG,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,4DAiDC;AAQD,wDAwCC;AA9KD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;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,EAAC,WAAW,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file diff --git a/lib/environment.js b/lib/environment.js index 6e27a2ecf4..66a28a9a45 100644 --- a/lib/environment.js +++ b/lib/environment.js @@ -86,5 +86,10 @@ var EnvVar; * change the inputs to the Action. */ EnvVar["DEPENDENCY_CACHING"] = "CODEQL_ACTION_DEPENDENCY_CACHING"; + /** + * An optional string to add into the cache key used by dependency caching. + * Useful for testing purposes where multiple caches may be stored in the same repository. + */ + EnvVar["DEPENDENCY_CACHING_PREFIX"] = "CODEQL_ACTION_DEPENDENCY_CACHE_PREFIX"; })(EnvVar || (exports.EnvVar = EnvVar = {})); //# sourceMappingURL=environment.js.map \ No newline at end of file diff --git a/lib/environment.js.map b/lib/environment.js.map index 4925b1cddc..fb75e58cc5 100644 --- a/lib/environment.js.map +++ b/lib/environment.js.map @@ -1 +1 @@ -{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MAqGX;AArGD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD;;;OAGG;IACH,yDAA+C,CAAA;IAE/C,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD,8DAA8D;IAC9D,6EAAmE,CAAA;IAEnE;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;IAE9C;;;;OAIG;IACH,iEAAuD,CAAA;AACzD,CAAC,EArGW,MAAM,sBAAN,MAAM,QAqGjB"} \ No newline at end of file +{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MA2GX;AA3GD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD;;;OAGG;IACH,yDAA+C,CAAA;IAE/C,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD,8DAA8D;IAC9D,6EAAmE,CAAA;IAEnE;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;IAE9C;;;;OAIG;IACH,iEAAuD,CAAA;IAEvD;;;OAGG;IACH,6EAAmE,CAAA;AACrE,CAAC,EA3GW,MAAM,sBAAN,MAAM,QA2GjB"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index 5de3e02512..389b7e6559 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -9,6 +9,7 @@ import { Config } from "./config-utils"; import { Language } from "./languages"; import { Logger } from "./logging"; import { getRequiredEnvParam } from "./util"; +import { EnvVar } from "./environment"; /** * Caching configuration for a particular language. @@ -197,5 +198,12 @@ async function cacheKey( */ async function cachePrefix(language: Language): Promise { const runnerOs = getRequiredEnvParam("RUNNER_OS"); - return `${CODEQL_DEPENDENCY_CACHE_PREFIX}-${CODEQL_DEPENDENCY_CACHE_VERSION}-${runnerOs}-${language}-`; + const customPrefix = process.env[EnvVar.DEPENDENCY_CACHING_PREFIX]; + let prefix = CODEQL_DEPENDENCY_CACHE_PREFIX; + + if (customPrefix !== undefined && customPrefix.length > 0) { + prefix = `${prefix}-${customPrefix}`; + } + + return `${prefix}-${CODEQL_DEPENDENCY_CACHE_VERSION}-${runnerOs}-${language}-`; } diff --git a/src/environment.ts b/src/environment.ts index 9659208dee..3431be731e 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -105,4 +105,10 @@ export enum EnvVar { * change the inputs to the Action. */ DEPENDENCY_CACHING = "CODEQL_ACTION_DEPENDENCY_CACHING", + + /** + * An optional string to add into the cache key used by dependency caching. + * Useful for testing purposes where multiple caches may be stored in the same repository. + */ + DEPENDENCY_CACHING_PREFIX = "CODEQL_ACTION_DEPENDENCY_CACHE_PREFIX", } From c0b58699103adf7594034c0445327e253efb16d9 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 7 Oct 2024 11:25:44 +0100 Subject: [PATCH 17/24] Add message when no cache was found for a language --- lib/dependency-caching.js | 3 +++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 78db36271d..eea6ce1777 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -102,6 +102,9 @@ async function downloadDependencyCaches(languages, logger) { logger.info(`Cache hit on key ${hitKey} for ${language}.`); restoredCaches.push(language); } + else { + logger.info(`No suitable cache found for ${language}.`); + } } return restoredCaches; } diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index a0f438a742..74804a5404 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,4DAiDC;AAQD,wDAwCC;AA9KD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAC7C,+CAAuC;AAgBvC,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,E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AAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,4DAmDC;AAQD,wDAwCC;AAhLD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAC7C,+CAAuC;AAgBvC,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA8B;YAC9B,yBAAyB;YACzB,6BAA6B;YAC7B,wBAAwB;YACxB,wBAAwB;SACzB;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;QACjD,IAAI,EAAE;YACJ,QAAQ;YACR,uBAAuB;SACxB;KACF;IACD,EAAE,EAAE;QACF,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC/C,IAAI,EAAE,CAAC,WAAW,CAAC;KACpB;CACF,CAAC;AAEF,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,OAAO,IAAI,CAAC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AC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index 389b7e6559..00649b22f8 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -120,6 +120,8 @@ export async function downloadDependencyCaches( if (hitKey !== undefined) { logger.info(`Cache hit on key ${hitKey} for ${language}.`); restoredCaches.push(language); + } else { + logger.info(`No suitable cache found for ${language}.`); } } From 7d69964c8090347cc0e944961611d7f1b9fedd9e Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 7 Oct 2024 12:07:36 +0100 Subject: [PATCH 18/24] Fix import ordering --- lib/dependency-caching.js | 2 +- lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index eea6ce1777..4f59c78846 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -30,8 +30,8 @@ const path_1 = require("path"); const actionsCache = __importStar(require("@actions/cache")); const glob = __importStar(require("@actions/glob")); const caching_utils_1 = require("./caching-utils"); -const util_1 = require("./util"); const environment_1 = require("./environment"); +const util_1 = require("./util"); const CODEQL_DEPENDENCY_CACHE_PREFIX = "codeql-dependencies"; const CODEQL_DEPENDENCY_CACHE_VERSION = 1; /** diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index 74804a5404..452f0b7ea3 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,4DAmDC;AAQD,wDAwCC;AAhLD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAIpD,iCAA6C;AAC7C,+CAAuC;AAgBvC,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA8B;YAC9B,yBAAyB;YACzB,6BAA6B;YAC7B,wBAAwB;YACxB,wBAAwB;SACzB;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,E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AI,KAAK,CAAC,EAAE,CAAC;YACf,MAAM,CAAC,IAAI,CACT,2CAA2C,QAAQ,qBAAqB,CACzE,CAAC;YACF,SAAS;QACX,CAAC;QAED,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QAElD,MAAM,CAAC,IAAI,CACT,2BAA2B,IAAI,QAAQ,QAAQ,aAAa,GAAG,EAAE,CAClE,CAAC;QAEF,MAAM,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6E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AAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index 00649b22f8..446e6b4948 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -6,10 +6,10 @@ import * as glob from "@actions/glob"; import { getTotalCacheSize } from "./caching-utils"; import { Config } from "./config-utils"; +import { EnvVar } from "./environment"; import { Language } from "./languages"; import { Logger } from "./logging"; import { getRequiredEnvParam } from "./util"; -import { EnvVar } from "./environment"; /** * Caching configuration for a particular language. From 668531eca8d29f642b30e6d81370a8097cd2673f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 14 Oct 2024 09:26:28 +0100 Subject: [PATCH 19/24] Support Paket --- lib/dependency-caching.js | 2 ++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 4f59c78846..6b8006e780 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -62,6 +62,8 @@ const CODEQL_DEFAULT_CACHE_CONFIG = { hash: [ // NuGet "**/packages.lock.json", + // Paket + "**/paket.lock", ], }, go: { diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index 452f0b7ea3..00090fa5d0 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA6EA,4DAmDC;AAQD,wDAwCC;AAhLD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAEpD,+CAAuC;AAGvC,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA8B;YAC9B,yBAAyB;YACzB,6BAA6B;YAC7B,wBAAwB;YACxB,wBAAwB;SACzB;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;QACjD,IAAI,EAAE;YACJ,QAAQ;YACR,uBAAuB;SACxB;KACF;IACD,EAAE,EAAE;QACF,KAAK,EAAE,CAAC,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC/C,IAAI,EAA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CAClE,CAAC;QAEF,MAAM,YAAY,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,QAAQ,CACrB,QAAkB,EAClB,WAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA+EA,4DAmDC;AAQD,wDAwCC;AAlLD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAEpD,+CAAuC;AAGvC,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE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,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index 446e6b4948..e5c507b3b3 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -56,6 +56,8 @@ const CODEQL_DEFAULT_CACHE_CONFIG: { [language: string]: CacheConfig } = { hash: [ // NuGet "**/packages.lock.json", + // Paket + "**/paket.lock", ], }, go: { From 79faaf13960ee63327e096b7dcafaba6cdd9561f Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 14 Oct 2024 09:51:23 +0100 Subject: [PATCH 20/24] Add `CachingKind` enum to control whether to restore or store caches --- lib/analyze-action.js | 3 +- lib/analyze-action.js.map | 2 +- lib/caching-utils.js | 91 ++++++++++++++++++++++++++++++++++++ lib/caching-utils.js.map | 2 +- lib/config-utils.js | 5 +- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 5 +- lib/config-utils.test.js.map | 2 +- lib/init-action.js | 21 ++------- lib/init-action.js.map | 2 +- src/analyze-action.ts | 3 +- src/caching-utils.ts | 73 ++++++++++++++++++++++++++++- src/config-utils.test.ts | 5 +- src/config-utils.ts | 11 +++-- src/init-action.ts | 25 ++-------- 15 files changed, 195 insertions(+), 57 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index dc9d51817e..728f66591b 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -35,6 +35,7 @@ const actionsUtil = __importStar(require("./actions-util")); const analyze_1 = require("./analyze"); const api_client_1 = require("./api-client"); const autobuild_1 = require("./autobuild"); +const caching_utils_1 = require("./caching-utils"); const codeql_1 = require("./codeql"); const config_utils_1 = require("./config-utils"); const database_upload_1 = require("./database-upload"); @@ -206,7 +207,7 @@ async function run() { // Clean up TRAP caches trapCacheCleanupTelemetry = await (0, trap_caching_1.cleanupTrapCaches)(config, features, logger); // Store dependency cache(s) if dependency caching is enabled. - if (config.dependencyCachingEnabled) { + if ((0, caching_utils_1.shouldStoreCache)(config.dependencyCachingEnabled)) { await (0, dependency_caching_1.uploadDependencyCaches)(config, logger); } // We don't upload results in test mode, so don't wait for processing diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 6b957a696a..b940ecd47e 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,6DAA8D;AAC9D,+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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;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,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 +{"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,mDAAmD;AACnD,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+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,gBA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BAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,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/caching-utils.js b/lib/caching-utils.js index 63cd845503..6e0d703d5c 100644 --- a/lib/caching-utils.js +++ b/lib/caching-utils.js @@ -1,6 +1,37 @@ "use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); +exports.CachingKind = void 0; exports.getTotalCacheSize = getTotalCacheSize; +exports.shouldStoreCache = shouldStoreCache; +exports.shouldRestoreCache = shouldRestoreCache; +exports.getCachingKind = getCachingKind; +exports.getDependencyCachingEnabled = getDependencyCachingEnabled; +const core = __importStar(require("@actions/core")); +const actions_util_1 = require("./actions-util"); +const environment_1 = require("./environment"); const util_1 = require("./util"); /** * Returns the total size of all the specified paths. @@ -12,4 +43,64 @@ async function getTotalCacheSize(paths, logger) { const sizes = await Promise.all(paths.map((cacheDir) => (0, util_1.tryGetFolderBytes)(cacheDir, logger))); return sizes.map((a) => a || 0).reduce((a, b) => a + b, 0); } +/* Enumerates caching modes. */ +var CachingKind; +(function (CachingKind) { + /** Do not restore or store any caches. */ + CachingKind["None"] = "none"; + /** Store caches, but do not restore any existing ones. */ + CachingKind["Store"] = "store"; + /** Restore existing caches, but do not store any new ones. */ + CachingKind["Restore"] = "restore"; + /** Restore existing caches, and store new ones. */ + CachingKind["Full"] = "full"; +})(CachingKind || (exports.CachingKind = CachingKind = {})); +/** Returns a value indicating whether new caches should be stored, based on `kind`. */ +function shouldStoreCache(kind) { + return kind === CachingKind.Full || kind === CachingKind.Store; +} +/** Returns a value indicating whether existing caches should be restored, based on `kind`. */ +function shouldRestoreCache(kind) { + return kind === CachingKind.Full || kind === CachingKind.Restore; +} +/** + * Parses the `upload` input into an `UploadKind`, converting unspecified and deprecated upload + * inputs appropriately. + */ +function getCachingKind(input) { + switch (input) { + case undefined: + case "none": + case "off": + case "false": + return CachingKind.None; + case "full": + case "on": + case "true": + return CachingKind.Full; + case "store": + return CachingKind.Store; + case "restore": + return CachingKind.Restore; + default: + core.warning(`Unrecognized 'dependency-caching' input: ${input}. Defaulting to 'none'.`); + return CachingKind.None; + } +} +/** Determines whether dependency caching is enabled. */ +function getDependencyCachingEnabled() { + // If the workflow specified something always respect that + const dependencyCaching = (0, actions_util_1.getOptionalInput)("dependency-caching") || + process.env[environment_1.EnvVar.DEPENDENCY_CACHING]; + if (dependencyCaching !== undefined) + return getCachingKind(dependencyCaching); + // On self-hosted runners which may have dependencies installed centrally, disable caching by default + if (!(0, util_1.isHostedRunner)()) + return CachingKind.None; + // Disable in advanced workflows by default. + if (!(0, actions_util_1.isDefaultSetup)()) + return CachingKind.None; + // On hosted runners, enable dependency caching by default + return CachingKind.Full; +} //# sourceMappingURL=caching-utils.js.map \ No newline at end of file diff --git a/lib/caching-utils.js.map b/lib/caching-utils.js.map index cc6155960e..8c751ed8b9 100644 --- a/lib/caching-utils.js.map +++ b/lib/caching-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"caching-utils.js","sourceRoot":"","sources":["../src/caching-utils.ts"],"names":[],"mappings":";;AASA,8CAQC;AAhBD,iCAA2C;AAE3C;;;;;GAKG;AACI,KAAK,UAAU,iBAAiB,CACrC,KAAe,EACf,MAAc;IAEd,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,GAAG,CAC7B,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAA,wBAAiB,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAC7D,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"} \ No newline at end of file +{"version":3,"file":"caching-utils.js","sourceRoot":"","sources":["../src/caching-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,8CAQC;AAeD,4CAEC;AAGD,gDAEC;AAMD,wCAqBC;AAGD,kEAeC;AAxFD,oDAAsC;AAEtC,iDAAkE;AAClE,+CAAuC;AAEvC,iCAA2D;AAE3D;;;;;GAKG;AACI,KAAK,UAAU,iBAAiB,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AAO;YACV,OAAO,WAAW,CAAC,KAAK,CAAC;QAC3B,KAAK,SAAS;YACZ,OAAO,WAAW,CAAC,OAAO,CAAC;QAC7B;YACE,IAAI,CAAC,OAAO,CACV,4CAA4C,KAAK,yBAAyB,CAC3E,CAAC;YACF,OAAO,WAAW,CAAC,IAAI,CAAC;IAC5B,CAAC;AACH,CAAC;AAED,wDAAwD;AACxD,SAAgB,2BAA2B;IACzC,0DAA0D;IAC1D,MAAM,iBAAiB,GACrB,IAAA,+BAAgB,EAAC,oBAAoB,CAAC;QACtC,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,kBAAkB,CAAC,CAAC;IACzC,IAAI,iBAAiB,KAAK,SAAS;QAAE,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAE9E,qGAAqG;IACrG,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,WAAW,CAAC,IAAI,CAAC;IAE/C,4CAA4C;IAC5C,IAAI,CAAC,IAAA,6BAAc,GAAE;QAAE,OAAO,WAAW,CAAC,IAAI,CAAC;IAE/C,0DAA0D;IAC1D,OAAO,WAAW,CAAC,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.js b/lib/config-utils.js index 4b7480fb2f..ef2e5a8e83 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -53,6 +53,7 @@ const perf_hooks_1 = require("perf_hooks"); const yaml = __importStar(require("js-yaml")); const semver = __importStar(require("semver")); const api = __importStar(require("./api-client")); +const caching_utils_1 = require("./caching-utils"); const feature_flags_1 = require("./feature-flags"); const languages_1 = require("./languages"); const trap_caching_1 = require("./trap-caching"); @@ -232,7 +233,7 @@ async function getDefaultConfig({ languagesInput, queriesInput, packsInput, buil augmentationProperties, trapCaches, trapCacheDownloadTime, - dependencyCachingEnabled, + dependencyCachingEnabled: (0, caching_utils_1.getCachingKind)(dependencyCachingEnabled), }; } async function downloadCacheWithTime(trapCachingEnabled, codeQL, languages, logger) { @@ -282,7 +283,7 @@ async function loadConfig({ languagesInput, queriesInput, packsInput, buildModeI augmentationProperties, trapCaches, trapCacheDownloadTime, - dependencyCachingEnabled, + dependencyCachingEnabled: (0, caching_utils_1.getCachingKind)(dependencyCachingEnabled), }; } /** diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 76fd482b1d..374b0c4ba2 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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgMA,gDAWC;AAED,8FAIC;AAED,sFAIC;AAED,sFAOC;AAED,8EAEC;AAED,gFAEC;AAcD,kDAKC;AAED,4DAEC;AAMD,gDAwBC;AAYD,oCAyDC;AAYD,0CAoBC;AAsCD,4CA6DC;AA+HD,sDAuBC;AAqCD,kDAuCC;AAoBD,0DAgEC;AAED,8DAEC;AAiCD,gCA6BC;AAgBD,8EAOC;AAkED,8DAEC;AAkBD,8BAYC;AAcD,gDAkCC;AAsCD,0CAwBC;AAGD,kDAsCC;AA7mCD,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AAEpC,mDAA6D;AAC7D,2CAAsD;AAGtD,iDAAoD;AACpD,iCAKgB;AAEhB,qDAAqD;AAErD,MAAM,cAAc,GAAG,OAAO,CAAC;AAuJ/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF,SAAgB,kBAAkB,CAChC,OAAe,EACf,UAAmB;IAEnB,OAAO,UAAU;QACf,CAAC,CAAC,0BAA0B,CACxB,UAAU,EACV,cAAc,EACd,IAAI,OAAO,uBAAuB,CACnC;QACH,CAAC,CAAC,IAAI,OAAO,uBAAuB,CA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AyB,EACzB,SAAqB,EACrB,QAA2B,EAC3B,MAAc;IAEd,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAS,CAAC,CAAC,QAAQ,CAAC,KAAkB,CAAC,EAAE,CAAC;QAC3D,MAAM,IAAI,yBAAkB,CAC1B,wBAAwB,KAAK,iCAAiC,MAAM,CAAC,MAAM,CACzE,gBAAS,CACV,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC;IACJ,CAAC;IAED,IACE,SAAS,CAAC,QAAQ,CAAC,oBAAQ,CAAC,MAAM,CAAC;QACnC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,sBAAsB,CAAC,CAAC,EACzD,CAAC;QACD,MAAM,CAAC,OAAO,CACZ,sGAAsG,CACvG,CAAC;QACF,OAAO,gBAAS,CAAC,SAAS,CAAC;IAC7B,CAAC;IAED,IACE,SAAS,CAAC,QAAQ,CAAC,oBAAQ,CAAC,IAAI,CAAC;QACjC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,2BAA2B,CAAC,CAAC,EAC9D,CAAC;QACD,MAAM,CAAC,OAAO,CACZ,wGAAwG,CACzG,CAAC;QACF,OAAO,gBAAS,CAAC,SAAS,CAAC;IAC7B,CAAC;IACD,OAAO,KAAkB,CAAC;AAC5B,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index 5b799b5256..42c95445ed 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -33,6 +33,7 @@ const ava_1 = __importDefault(require("ava")); const yaml = __importStar(require("js-yaml")); const sinon = __importStar(require("sinon")); const api = __importStar(require("./api-client")); +const caching_utils_1 = require("./caching-utils"); const codeql_1 = require("./codeql"); const configUtils = __importStar(require("./config-utils")); const feature_flags_1 = require("./feature-flags"); @@ -53,7 +54,7 @@ function createTestInitConfigInputs(overrides) { configInput: undefined, buildModeInput: undefined, trapCachingEnabled: false, - dependencyCachingEnabled: false, + dependencyCachingEnabled: caching_utils_1.CachingKind.None, debugMode: false, debugArtifactName: "", debugDatabaseName: "", @@ -287,7 +288,7 @@ function mockListLanguages(languages) { augmentationProperties: configUtils.defaultAugmentationProperties, trapCaches: {}, trapCacheDownloadTime: 0, - dependencyCachingEnabled: false, + dependencyCachingEnabled: caching_utils_1.CachingKind.None, }; const languagesInput = "javascript"; const configFilePath = createConfigFile(inputFileContents, tempDir); diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index d824443b9a..bb145c7dcc 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAKkB;AAClB,4DAA8C;AAC9C,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AACzB,iCAOgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,oBAAa,CAAC,MAAM,EAAmB,CAAC;AAEtE,SAAS,0BAA0B,CACjC,SAAgD;IAEhD,OAAO,MAAM,CAAC,MAAM,CAClB,EAAE,EACF;QACE,cAAc,EAAE,SAAS;QACzB,YAAY,EAAE,SAAS;QACvB,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;QACrB,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,SAAS;QACzB,kBAAkB,EAAE,KAAK;QACzB,wBAAwB,EAAE,KAAK;QAC/B,SAA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AAG,MAAM,WAAW,CAAC,mBAAmB,CACrD,MAAM,EACN,CAAC,oBAAQ,CAAC,MAAM,CAAC,EACjB,IAAA,8BAAc,EAAC,CAAC,OAAO,CAAC,CAAC,EACzB,IAAA,kCAAkB,EAAC,QAAQ,CAAC,CAC7B,CAAC;QACF,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,gBAAS,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAC5B,CAAC,CAAC,CAAC;IAEH,IAAA,aAAI,EAAC,wCAAwC,WAAW,gBAAgB,WAAW,iCAAiC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QAChI,MAAM,QAAQ,GAAoB,EAAE,CAAC;QACrC,MAAM,SAAS,GAAG,MAAM,WAAW,CAAC,mBAAmB,CACrD,MAAM,EACN,CAAC,QAAQ,CAAC,EACV,IAAA,8BAAc,EAAC,CAAC,OAAO,CAAC,CAAC,EACzB,IAAA,kCAAkB,EAAC,QAAQ,CAAC,CAC7B,CAAC;QACF,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,gBAAS,CAAC,SAAS,CAAC,CAAC;QACrC,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE;YACpB;gBACE,OAAO,EAAE,YAAY,WAAW,2FAA2F;gBAC3H,IAAI,EAAE,SAAS;aAChB;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,mDAA8C;AAC9C,qCAKkB;AAClB,4DAA8C;AAC9C,mDAA0C;AAC1C,2CAAuC;AACvC,uCAA4C;AAC5C,6CAAk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ACrC,CAAC,CAAC,SAAS,CAAC,QAAQ,EAAE;YACpB;gBACE,OAAO,EAAE,YAAY,WAAW,2FAA2F;gBAC3H,IAAI,EAAE,SAAS;aAChB;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index 0a059cff4d..03e803adc7 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -30,6 +30,7 @@ const safe_which_1 = require("@chrisgavin/safe-which"); const uuid_1 = require("uuid"); const actions_util_1 = require("./actions-util"); const api_client_1 = require("./api-client"); +const caching_utils_1 = require("./caching-utils"); const configUtils = __importStar(require("./config-utils")); const dependency_caching_1 = require("./dependency-caching"); const diagnostics_1 = require("./diagnostics"); @@ -182,7 +183,7 @@ async function run() { dbLocation: (0, actions_util_1.getOptionalInput)("db-location"), configInput: (0, actions_util_1.getOptionalInput)("config"), trapCachingEnabled: getTrapCachingEnabled(), - dependencyCachingEnabled: getDependencyCachingEnabled(), + dependencyCachingEnabled: (0, caching_utils_1.getDependencyCachingEnabled)(), // Debug mode is enabled if: // - The `init` Action is passed `debug: true`. // - Actions step debugging is enabled (e.g. by [enabling debug logging for a rerun](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow), @@ -327,7 +328,7 @@ async function run() { core.exportVariable(bmnVar, value); } // Restore dependency cache(s), if they exist. - if (config.dependencyCachingEnabled) { + if ((0, caching_utils_1.shouldRestoreCache)(config.dependencyCachingEnabled)) { await (0, dependency_caching_1.downloadDependencyCaches)(config.languages, logger); } // For CLI versions <2.15.1, build tracing caused errors in MacOS ARM machines with @@ -417,22 +418,6 @@ async function recordZstdAvailability(config, zstdAvailability) { }, })); } -/** Determines whether dependency caching is enabled. */ -function getDependencyCachingEnabled() { - // If the workflow specified something always respect that - const dependencyCaching = (0, actions_util_1.getOptionalInput)("dependency-caching") || - process.env[environment_1.EnvVar.DEPENDENCY_CACHING]; - if (dependencyCaching !== undefined) - return dependencyCaching === "true"; - // On self-hosted runners which may have dependencies installed centrally, disable caching by default - if (!(0, util_1.isHostedRunner)()) - return false; - // Disable in advanced workflows by default. - if (!(0, actions_util_1.isDefaultSetup)()) - return false; - // On hosted runners, enable dependency caching by default - return true; -} async function runWrapper() { try { await run(); diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 7b7b7c2a75..af02be9913 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDASwB;AACxB,6CAAgD;AAEhD,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAA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IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,4CAA4C;IAC5C,IAAI,CAAC,IAAA,6BAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,0DAA0D;IAC1D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAGyB;AAEzB,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,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ACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 28d24b550f..3aad23934d 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -16,6 +16,7 @@ import { } from "./analyze"; import { getApiDetails, getGitHubVersion } from "./api-client"; import { runAutobuild } from "./autobuild"; +import { shouldStoreCache } from "./caching-utils"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; import { uploadDatabases } from "./database-upload"; @@ -330,7 +331,7 @@ async function run() { ); // Store dependency cache(s) if dependency caching is enabled. - if (config.dependencyCachingEnabled) { + if (shouldStoreCache(config.dependencyCachingEnabled)) { await uploadDependencyCaches(config, logger); } diff --git a/src/caching-utils.ts b/src/caching-utils.ts index 41a098a9ae..a6defbf9ab 100644 --- a/src/caching-utils.ts +++ b/src/caching-utils.ts @@ -1,5 +1,9 @@ +import * as core from "@actions/core"; + +import { getOptionalInput, isDefaultSetup } from "./actions-util"; +import { EnvVar } from "./environment"; import { Logger } from "./logging"; -import { tryGetFolderBytes } from "./util"; +import { isHostedRunner, tryGetFolderBytes } from "./util"; /** * Returns the total size of all the specified paths. @@ -16,3 +20,70 @@ export async function getTotalCacheSize( ); return sizes.map((a) => a || 0).reduce((a, b) => a + b, 0); } + +/* Enumerates caching modes. */ +export enum CachingKind { + /** Do not restore or store any caches. */ + None = "none", + /** Store caches, but do not restore any existing ones. */ + Store = "store", + /** Restore existing caches, but do not store any new ones. */ + Restore = "restore", + /** Restore existing caches, and store new ones. */ + Full = "full", +} + +/** Returns a value indicating whether new caches should be stored, based on `kind`. */ +export function shouldStoreCache(kind: CachingKind): boolean { + return kind === CachingKind.Full || kind === CachingKind.Store; +} + +/** Returns a value indicating whether existing caches should be restored, based on `kind`. */ +export function shouldRestoreCache(kind: CachingKind): boolean { + return kind === CachingKind.Full || kind === CachingKind.Restore; +} + +/** + * Parses the `upload` input into an `UploadKind`, converting unspecified and deprecated upload + * inputs appropriately. + */ +export function getCachingKind(input: string | undefined): CachingKind { + switch (input) { + case undefined: + case "none": + case "off": + case "false": + return CachingKind.None; + case "full": + case "on": + case "true": + return CachingKind.Full; + case "store": + return CachingKind.Store; + case "restore": + return CachingKind.Restore; + default: + core.warning( + `Unrecognized 'dependency-caching' input: ${input}. Defaulting to 'none'.`, + ); + return CachingKind.None; + } +} + +/** Determines whether dependency caching is enabled. */ +export function getDependencyCachingEnabled(): CachingKind { + // If the workflow specified something always respect that + const dependencyCaching = + getOptionalInput("dependency-caching") || + process.env[EnvVar.DEPENDENCY_CACHING]; + if (dependencyCaching !== undefined) return getCachingKind(dependencyCaching); + + // On self-hosted runners which may have dependencies installed centrally, disable caching by default + if (!isHostedRunner()) return CachingKind.None; + + // Disable in advanced workflows by default. + if (!isDefaultSetup()) return CachingKind.None; + + // On hosted runners, enable dependency caching by default + return CachingKind.Full; +} diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 695dbf94d3..cc8c6e9280 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -7,6 +7,7 @@ import * as yaml from "js-yaml"; import * as sinon from "sinon"; import * as api from "./api-client"; +import { CachingKind } from "./caching-utils"; import { CodeQL, getCachedCodeQL, @@ -52,7 +53,7 @@ function createTestInitConfigInputs( configInput: undefined, buildModeInput: undefined, trapCachingEnabled: false, - dependencyCachingEnabled: false, + dependencyCachingEnabled: CachingKind.None, debugMode: false, debugArtifactName: "", debugDatabaseName: "", @@ -348,7 +349,7 @@ test("load non-empty input", async (t) => { augmentationProperties: configUtils.defaultAugmentationProperties, trapCaches: {}, trapCacheDownloadTime: 0, - dependencyCachingEnabled: false, + dependencyCachingEnabled: CachingKind.None, }; const languagesInput = "javascript"; diff --git a/src/config-utils.ts b/src/config-utils.ts index ca15d42784..2326e660c2 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -6,6 +6,7 @@ import * as yaml from "js-yaml"; import * as semver from "semver"; import * as api from "./api-client"; +import { CachingKind, getCachingKind } from "./caching-utils"; import { CodeQL } from "./codeql"; import { Feature, FeatureEnablement } from "./feature-flags"; import { Language, parseLanguage } from "./languages"; @@ -137,8 +138,8 @@ export interface Config { */ trapCacheDownloadTime: number; - /** A value indicating whether dependency caching is enabled. */ - dependencyCachingEnabled: boolean; + /** A value indicating how dependency caching should be used. */ + dependencyCachingEnabled: CachingKind; } /** @@ -396,7 +397,7 @@ export interface InitConfigInputs { configInput: string | undefined; buildModeInput: string | undefined; trapCachingEnabled: boolean; - dependencyCachingEnabled: boolean; + dependencyCachingEnabled: string | undefined; debugMode: boolean; debugArtifactName: string; debugDatabaseName: string; @@ -481,7 +482,7 @@ export async function getDefaultConfig({ augmentationProperties, trapCaches, trapCacheDownloadTime, - dependencyCachingEnabled, + dependencyCachingEnabled: getCachingKind(dependencyCachingEnabled), }; } @@ -587,7 +588,7 @@ async function loadConfig({ augmentationProperties, trapCaches, trapCacheDownloadTime, - dependencyCachingEnabled, + dependencyCachingEnabled: getCachingKind(dependencyCachingEnabled), }; } diff --git a/src/init-action.ts b/src/init-action.ts index 09d61ee12b..7b291e3514 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -13,9 +13,12 @@ import { getRequiredInput, getTemporaryDirectory, persistInputs, - isDefaultSetup, } from "./actions-util"; import { getGitHubVersion } from "./api-client"; +import { + getDependencyCachingEnabled, + shouldRestoreCache, +} from "./caching-utils"; import { CodeQL } from "./codeql"; import * as configUtils from "./config-utils"; import { downloadDependencyCaches } from "./dependency-caching"; @@ -560,7 +563,7 @@ async function run() { } // Restore dependency cache(s), if they exist. - if (config.dependencyCachingEnabled) { + if (shouldRestoreCache(config.dependencyCachingEnabled)) { await downloadDependencyCaches(config.languages, logger); } @@ -724,24 +727,6 @@ async function recordZstdAvailability( ); } -/** Determines whether dependency caching is enabled. */ -function getDependencyCachingEnabled(): boolean { - // If the workflow specified something always respect that - const dependencyCaching = - getOptionalInput("dependency-caching") || - process.env[EnvVar.DEPENDENCY_CACHING]; - if (dependencyCaching !== undefined) return dependencyCaching === "true"; - - // On self-hosted runners which may have dependencies installed centrally, disable caching by default - if (!isHostedRunner()) return false; - - // Disable in advanced workflows by default. - if (!isDefaultSetup()) return false; - - // On hosted runners, enable dependency caching by default - return true; -} - async function runWrapper() { try { await run(); From 0cb71294e513c6cd1f61cc5597f34fad677f5b59 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 28 Oct 2024 11:16:31 +0000 Subject: [PATCH 21/24] Disable dependency caching by default on hosted runners for now --- lib/caching-utils.js | 5 +++-- lib/caching-utils.js.map | 2 +- src/caching-utils.ts | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/caching-utils.js b/lib/caching-utils.js index 6e0d703d5c..d8ccc56aa9 100644 --- a/lib/caching-utils.js +++ b/lib/caching-utils.js @@ -100,7 +100,8 @@ function getDependencyCachingEnabled() { // Disable in advanced workflows by default. if (!(0, actions_util_1.isDefaultSetup)()) return CachingKind.None; - // On hosted runners, enable dependency caching by default - return CachingKind.Full; + // On hosted runners, disable dependency caching by default. + // TODO: Review later whether we can enable this by default. + return CachingKind.None; } //# sourceMappingURL=caching-utils.js.map \ No newline at end of file diff --git a/lib/caching-utils.js.map b/lib/caching-utils.js.map index 8c751ed8b9..a9da9a97ee 100644 --- a/lib/caching-utils.js.map +++ b/lib/caching-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"caching-utils.js","sourceRoot":"","sources":["../src/caching-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,8CAQC;AAeD,4CAEC;AAGD,gDAEC;AAMD,wCAqBC;AAGD,kEAeC;AAxFD,o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4CAA4C,KAAK,yBAAyB,CAC3E,CAAC;YACF,OAAO,WAAW,CAAC,IAAI,CAAC;IAC5B,CAAC;AACH,CAAC;AAED,wDAAwD;AACxD,SAAgB,2BAA2B;IACzC,0DAA0D;IAC1D,MAAM,iBAAiB,GACrB,IAAA,+BAAgB,EAAC,oBAAoB,CAAC;QACtC,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,kBAAkB,CAAC,CAAC;IACzC,IAAI,iBAAiB,KAAK,SAAS;QAAE,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAE9E,qGAAqG;IACrG,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,WAAW,CAAC,IAAI,CAAC;IAE/C,4CAA4C;IAC5C,IAAI,CAAC,IAAA,6BAAc,GAAE;QAAE,OAAO,WAAW,CAAC,IAAI,CAAC;IAE/C,4DAA4D;IAC5D,4DAA4D;IAC5D,OAAO,WAAW,CAAC,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/src/caching-utils.ts b/src/caching-utils.ts index a6defbf9ab..ec45182385 100644 --- a/src/caching-utils.ts +++ b/src/caching-utils.ts @@ -84,6 +84,7 @@ export function getDependencyCachingEnabled(): CachingKind { // Disable in advanced workflows by default. if (!isDefaultSetup()) return CachingKind.None; - // On hosted runners, enable dependency caching by default - return CachingKind.Full; + // On hosted runners, disable dependency caching by default. + // TODO: Review later whether we can enable this by default. + return CachingKind.None; } From 21e6a62b156d008e81fc06020a763ff4ac39424e Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 29 Oct 2024 11:52:15 +0000 Subject: [PATCH 22/24] Use common `getTotalCacheSize` for TRAP caching --- lib/analyze-action.js | 2 +- lib/analyze-action.js.map | 2 +- lib/init-action.js | 3 +-- lib/init-action.js.map | 2 +- lib/trap-caching.js | 5 ----- lib/trap-caching.js.map | 2 +- src/analyze-action.ts | 5 ++--- src/init-action.ts | 4 ++-- src/trap-caching.ts | 12 ------------ 9 files changed, 9 insertions(+), 28 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 728f66591b..69e33fdc83 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -64,7 +64,7 @@ async function sendStatusReport(startedAt, config, stats, error, trapCacheUpload const trapCacheUploadStatusReport = { ...report, trap_cache_upload_duration_ms: Math.round(trapCacheUploadTime || 0), - trap_cache_upload_size_bytes: Math.round(await (0, trap_caching_1.getTotalCacheSize)(config.trapCaches, logger)), + trap_cache_upload_size_bytes: Math.round(await (0, caching_utils_1.getTotalCacheSize)(Object.values(config.trapCaches), logger)), }; await statusReport.sendStatusReport(trapCacheUploadStatusReport); } diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index b940ecd47e..6bd9aa1608 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,mDAAmD;AACnD,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+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,gBAA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AAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,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 +{"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,mDAAsE;AACtE,qCAAqC;AACrC,iDAAmD;AACnD,uDAAoD;AACpD,6DAA8D;AAC9D,+CAAuC;AACvC,mDAA2C;AAC3C,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,8DAAgD;AAChD,mDAMyB;AACzB,iDAIwB;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,gCAAg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MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,EAAE,GAAG,QAAQ,EAAE,EACf,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,MAAM,gBAAgB,CACpB,SAAS,EACT,MAAM,EACN,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAEY,QAAA,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/init-action.js b/lib/init-action.js index 03e803adc7..d3316ca809 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -43,7 +43,6 @@ const repository_1 = require("./repository"); const setup_codeql_1 = require("./setup-codeql"); const status_report_1 = require("./status-report"); const tools_features_1 = require("./tools-features"); -const trap_caching_1 = require("./trap-caching"); const util_1 = require("./util"); const workflow_1 = require("./workflow"); async function sendCompletedStatusReport(startedAt, config, configFile, toolsDownloadStatusReport, toolsFeatureFlagsValid, toolsSource, toolsVersion, logger, error) { @@ -113,7 +112,7 @@ async function sendCompletedStatusReport(startedAt, config, configFile, toolsDow queries: queries.join(","), packs: JSON.stringify(packs), trap_cache_languages: Object.keys(config.trapCaches).join(","), - trap_cache_download_size_bytes: Math.round(await (0, trap_caching_1.getTotalCacheSize)(config.trapCaches, logger)), + trap_cache_download_size_bytes: Math.round(await (0, caching_utils_1.getTotalCacheSize)(Object.values(config.trapCaches), logger)), trap_cache_download_duration_ms: Math.round(config.trapCacheDownloadTime), query_filters: JSON.stringify(config.originalUserInput["query-filters"] ?? []), registries: JSON.stringify(configUtils.parseRegistriesWithoutCredentials((0, actions_util_1.getOptionalInput)("registries")) ?? []), diff --git a/lib/init-action.js.map b/lib/init-action.js.map index af02be9913..54d14e5ebd 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAGyB;AAEzB,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iDAAmD;AACnD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+B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,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,uDAAmD;AACnD,+BAAoC;AAEpC,iDAQwB;AACxB,6CAAgD;AAChD,mDAIyB;AAEzB,4DAA8C;AAC9C,6DAAgE;AAChE,+CAKuB;AACvB,+CAAuC;AACvC,mDAAoD;AACpD,iCAMgB;AAChB,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAMyB;AAGzB,qDAAgD;AAChD,iCAkBgB;AAChB,yCAA8C;AAmD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,UAA8B,EAC9B,yBAAgE,EAChE,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,IAAI,EACf,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,MAAM,EACN,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QAChD,kBAAkB,EAAE,iBA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CAAC;IACD,MAAM,yBAAyB,CAC7B,SAAS,EACT,MAAM,EACN,UAAU,EACV,yBAAyB,EACzB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,MAAM,CACP,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB;IAC5B,0DAA0D;IAC1D,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAE7D,6FAA6F;IAC7F,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,KAAK,CAAC;IAEpC,oDAAoD;IACpD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,KAAK,UAAU,sBAAsB,CACnC,MAA0B,EAC1B,gBAAkC;IAElC,IAAA,2BAAa,EACX,MAAM;IACN,sFAAsF;IACtF,kDAAkD;IAClD,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EACnB,IAAA,4BAAc,EACZ,iCAAiC,EACjC,wBAAwB,EACxB;QACE,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE;YACV,eAAe,EAAE,KAAK;YACtB,UAAU,EAAE,KAAK;YACjB,SAAS,EAAE,IAAI;SAChB;KACF,CACF,CACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI,CAAC;QACH,MAAM,GAAG,EAAE,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,sBAAe,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/trap-caching.js b/lib/trap-caching.js index c4d6cca4b5..3f9e446af6 100644 --- a/lib/trap-caching.js +++ b/lib/trap-caching.js @@ -27,7 +27,6 @@ exports.downloadTrapCaches = downloadTrapCaches; exports.uploadTrapCaches = uploadTrapCaches; exports.cleanupTrapCaches = cleanupTrapCaches; exports.getLanguagesSupportingCaching = getLanguagesSupportingCaching; -exports.getTotalCacheSize = getTotalCacheSize; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const actionsCache = __importStar(require("@actions/cache")); @@ -227,10 +226,6 @@ async function getLanguagesSupportingCaching(codeql, languages, logger) { } return result; } -async function getTotalCacheSize(trapCaches, logger) { - const sizes = await Promise.all(Object.values(trapCaches).map((cacheDir) => (0, util_1.tryGetFolderBytes)(cacheDir, logger))); - return sizes.map((a) => a || 0).reduce((a, b) => a + b, 0); -} async function cacheKey(codeql, language, baseSha) { return `${await cachePrefix(codeql, language)}${baseSha}`; } diff --git a/lib/trap-caching.js.map b/lib/trap-caching.js.map index f9f34ebc0e..c440f9229a 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":";;;;;;;;;;;;;;;;;;;;;;;;;AA+CA,gDAwEC;AASD,4CAwCC;AAQD,8CAwEC;AAuBD,sEAyCC;AAED,8CAUC;AApUD,uCAAyB;AACzB,2CAA6B;AAE7B,6DAA+C;AAE/C,4DAA8C;AAC9C,wDAA0C;AAG1C,uCAAmC;AACnC,mDAA6D;AAG7D,iCAKgB;AAEhB,8DAA8D;AAC9D,+DAA+D;AAC/D,6DAA6D;AAC7D,6DAA6D;AAC7D,2BAA2B;AAC3B,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,MAAM,wBAAwB,GAAG,aAAa,CAAC;AAE/C,6DAA6D;AAC7D,+CAA+C;AAC/C,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,4DAA4D;AAC5D,2DAA2D;AAC3D,wDAAwD;AACxD,0DAA0D;AAC1D,MAAM,sBAAsB,GAAG,OAAO,CAAC,CAAC,cAAc;AAEtD;;;;;;;GAOG;AACI,KAAK,UAA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C,EAAE,CAAC;YACpD,IAAI,CAAC,CAAC,WAAW,IAAI,gBAAgB,CAAC,EAAE,CAAC;gBACvC,MAAM,CAAC,IAAI,CACT,GAAG,IAAI,2CAA2C,WAAW,UAAU,CACxE,CAAC;gBACF,SAAS,KAAK,CAAC;YACjB,CAAC;QACH,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;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,GAAG,wBAAwB,IAAI,aAAa,IACjD,CAAC,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,OAC9B,IAAI,QAAQ,GAAG,CAAC;AAClB,CAAC"} \ No newline at end of file diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 3aad23934d..8b76a96198 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -16,7 +16,7 @@ import { } from "./analyze"; import { getApiDetails, getGitHubVersion } from "./api-client"; import { runAutobuild } from "./autobuild"; -import { shouldStoreCache } from "./caching-utils"; +import { getTotalCacheSize, shouldStoreCache } from "./caching-utils"; import { getCodeQL } from "./codeql"; import { Config, getConfig } from "./config-utils"; import { uploadDatabases } from "./database-upload"; @@ -36,7 +36,6 @@ import { } from "./status-report"; import { cleanupTrapCaches, - getTotalCacheSize, TrapCacheCleanupStatusReport, uploadTrapCaches, } from "./trap-caching"; @@ -94,7 +93,7 @@ async function sendStatusReport( ...report, trap_cache_upload_duration_ms: Math.round(trapCacheUploadTime || 0), trap_cache_upload_size_bytes: Math.round( - await getTotalCacheSize(config.trapCaches, logger), + await getTotalCacheSize(Object.values(config.trapCaches), logger), ), }; await statusReport.sendStatusReport(trapCacheUploadStatusReport); diff --git a/src/init-action.ts b/src/init-action.ts index 7b291e3514..5eb2b7c4e2 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -17,6 +17,7 @@ import { import { getGitHubVersion } from "./api-client"; import { getDependencyCachingEnabled, + getTotalCacheSize, shouldRestoreCache, } from "./caching-utils"; import { CodeQL } from "./codeql"; @@ -51,7 +52,6 @@ import { import { ZstdAvailability } from "./tar"; import { ToolsDownloadStatusReport } from "./tools-download"; import { ToolsFeature } from "./tools-features"; -import { getTotalCacheSize } from "./trap-caching"; import { checkDiskUsage, checkForTimeout, @@ -230,7 +230,7 @@ async function sendCompletedStatusReport( packs: JSON.stringify(packs), trap_cache_languages: Object.keys(config.trapCaches).join(","), trap_cache_download_size_bytes: Math.round( - await getTotalCacheSize(config.trapCaches, logger), + await getTotalCacheSize(Object.values(config.trapCaches), logger), ), trap_cache_download_duration_ms: Math.round(config.trapCacheDownloadTime), query_filters: JSON.stringify( diff --git a/src/trap-caching.ts b/src/trap-caching.ts index 9ef4d9aa1e..df790e3e41 100644 --- a/src/trap-caching.ts +++ b/src/trap-caching.ts @@ -312,18 +312,6 @@ export async function getLanguagesSupportingCaching( return result; } -export async function getTotalCacheSize( - trapCaches: Partial>, - logger: Logger, -): Promise { - const sizes = await Promise.all( - Object.values(trapCaches).map((cacheDir) => - tryGetFolderBytes(cacheDir, logger), - ), - ); - return sizes.map((a) => a || 0).reduce((a, b) => a + b, 0); -} - async function cacheKey( codeql: CodeQL, language: Language, From ed74b24893739df1ccefa1361345bfc1d8381013 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 29 Oct 2024 11:56:25 +0000 Subject: [PATCH 23/24] Remove part about deprecated values in docs for `getCachingKind` --- lib/caching-utils.js | 3 +-- lib/caching-utils.js.map | 2 +- src/caching-utils.ts | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/caching-utils.js b/lib/caching-utils.js index d8ccc56aa9..cfe037bb3a 100644 --- a/lib/caching-utils.js +++ b/lib/caching-utils.js @@ -64,8 +64,7 @@ function shouldRestoreCache(kind) { return kind === CachingKind.Full || kind === CachingKind.Restore; } /** - * Parses the `upload` input into an `UploadKind`, converting unspecified and deprecated upload - * inputs appropriately. + * Parses the `upload` input into an `UploadKind`. */ function getCachingKind(input) { switch (input) { diff --git a/lib/caching-utils.js.map b/lib/caching-utils.js.map index a9da9a97ee..9ed47b5057 100644 --- a/lib/caching-utils.js.map +++ b/lib/caching-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"caching-utils.js","sourceRoot":"","sources":["../src/caching-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,8CAQC;AAeD,4CAEC;AAGD,gDAEC;AAMD,wCAqBC;AAGD,kEAgBC;AAzFD,oDAAsC;AAEtC,iDAAkE;AAClE,+CAAuC;AAEvC,iCAA2D;AAE3D;;;;;GAKG;AACI,KAAK,UAAU,iBAAiB,CACrC,KAAe,EACf,MAAc;IAEd,MAAM,KAAK,GAAG,MAAM,OAAO,CAAC,GAAG,CAC7B,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAA,wBAAiB,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAC7D,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;AAED,+BAA+B;AAC/B,IAAY,WASX;AATD,WAAY,WAAW;IACrB,0CAA0C;IAC1C,4BAAa,CAAA;IACb,0DAA0D;IAC1D,8BAAe,CAAA;IACf,8DAA8D;IAC9D,kCAAmB,CAAA;IACnB,mDAAmD;IACnD,4BAAa,CAAA;AACf,CAAC,EATW,WAAW,2BAAX,WAAW,Q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IAAI,KAAK,WAAW,CAAC,IAAI,IAAI,IAAI,KAAK,WAAW,CAAC,OAAO,CAAC;AACnE,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAAC,KAAyB;IACtD,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,SAAS,CAAC;QACf,KAAK,MAAM,CAAC;QACZ,KAAK,KAAK,CAAC;QACX,KAAK,OAAO;YACV,OAAO,WAAW,CAAC,IAAI,CAAC;QAC1B,KAAK,MAAM,CAAC;QACZ,KAAK,IAAI,CAAC;QACV,KAAK,MAAM;YACT,OAAO,WAAW,CAAC,IAAI,CAAC;QAC1B,KAAK,OAAO;YACV,OAAO,WAAW,CAAC,KAAK,CAAC;QAC3B,KAAK,SAAS;YACZ,OAAO,WAAW,CAAC,OAAO,CAAC;QAC7B;YACE,IAAI,CAAC,OAAO,CACV,4CAA4C,KAAK,yBAAyB,CAC3E,CAAC;YACF,OAAO,WAAW,CAAC,IAAI,CAAC;IAC5B,CAAC;AACH,CAAC;AAED,wDAAwD;AACxD,SAAgB,2BAA2B;IACzC,0DAA0D;IAC1D,MAAM,iBAAiB,GACrB,IAAA,+BAAgB,EAAC,oBAAoB,CAAC;QACtC,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,kBAAkB,CAAC,CAAC;IACzC,IAAI,iBAAiB,KAAK,SAAS;QAAE,OAAO,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAE9E,qGAAqG;IACrG,IAAI,CAAC,IAAA,qBAAc,GAAE;QAAE,OAAO,WAAW,CAAC,IAAI,CAAC;IAE/C,4CAA4C;IAC5C,IAAI,CAAC,IAAA,6BAAc,GAAE;QAAE,OAAO,WAAW,CAAC,IAAI,CAAC;IAE/C,4DAA4D;IAC5D,4DAA4D;IAC5D,OAAO,WAAW,CAAC,IAAI,CAAC;AAC1B,CAAC"} \ No newline at end of file diff --git a/src/caching-utils.ts b/src/caching-utils.ts index ec45182385..b0f228aa4d 100644 --- a/src/caching-utils.ts +++ b/src/caching-utils.ts @@ -44,8 +44,7 @@ export function shouldRestoreCache(kind: CachingKind): boolean { } /** - * Parses the `upload` input into an `UploadKind`, converting unspecified and deprecated upload - * inputs appropriately. + * Parses the `upload` input into an `UploadKind`. */ export function getCachingKind(input: string | undefined): CachingKind { switch (input) { From bab8f1df69efc3588a299b71243661555b5ef077 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 29 Oct 2024 12:04:46 +0000 Subject: [PATCH 24/24] Document future cache size considerations --- lib/dependency-caching.js | 10 ++++++++++ lib/dependency-caching.js.map | 2 +- src/dependency-caching.ts | 10 ++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/lib/dependency-caching.js b/lib/dependency-caching.js index 6b8006e780..cf682babad 100644 --- a/lib/dependency-caching.js +++ b/lib/dependency-caching.js @@ -130,6 +130,16 @@ async function uploadDependencyCaches(config, logger) { logger.info(`Skipping upload of dependency cache for ${language} as we cannot calculate a hash for the cache key.`); continue; } + // Calculate the size of the files that we would store in the cache. We use this to determine whether the + // cache should be saved or not. For example, if there are no files to store, then we skip creating the + // cache. In the future, we could also: + // - Skip uploading caches with a size below some threshold: this makes sense for avoiding the overhead + // of storing and restoring small caches, but does not help with alert wobble if a package repository + // cannot be reached in a given run. + // - Skip uploading caches with a size above some threshold: this could be a concern if other workflows + // use the cache quota that we compete with. In that case, we do not wish to use up all of the quota + // with the dependency caches. For this, we could use the Cache API to check whether other workflows + // are using the quota and how full it is. const size = await (0, caching_utils_1.getTotalCacheSize)(cacheConfig.paths, logger); // Skip uploading an empty cache. if (size === 0) { diff --git a/lib/dependency-caching.js.map b/lib/dependency-caching.js.map index 00090fa5d0..2dd4e1e239 100644 --- a/lib/dependency-caching.js.map +++ b/lib/dependency-caching.js.map @@ -1 +1 @@ -{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA+EA,4DAmDC;AAQD,wDAwCC;AAlL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AAC;IAC/D,OAAO,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,KAAK,UAAU,WAAW,CAAC,QAAkB;IAC3C,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,WAAW,CAAC,CAAC;IAClD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,yBAAyB,CAAC,CAAC;IACnE,IAAI,MAAM,GAAG,8BAA8B,CAAC;IAE5C,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file +{"version":3,"file":"dependency-caching.js","sourceRoot":"","sources":["../src/dependency-caching.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA+EA,4DAmDC;AAQD,wDAkDC;AA5LD,uCAAyB;AACzB,+BAA4B;AAE5B,6DAA+C;AAC/C,oDAAsC;AAEtC,mDAAoD;AAEpD,+CAAuC;AAGvC,iCAA6C;AAgB7C,MAAM,8BAA8B,GAAG,qBAAqB,CAAC;AAC7D,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,2BAA2B,GAAwC;IACvE,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ;YACR,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC;YACvC,SAAS;YACT,IAAA,WAAI,EAAC,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,CAAC;SACxC;QACD,IAAI,EAAE;YACJ,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,cAAc;YACd,8BAA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C,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1D,MAAM,GAAG,GAAG,MAAM,IAAI,YAAY,EAAE,CAAC;IACvC,CAAC;IAED,OAAO,GAAG,MAAM,IAAI,+BAA+B,IAAI,QAAQ,IAAI,QAAQ,GAAG,CAAC;AACjF,CAAC"} \ No newline at end of file diff --git a/src/dependency-caching.ts b/src/dependency-caching.ts index e5c507b3b3..5b86049c54 100644 --- a/src/dependency-caching.ts +++ b/src/dependency-caching.ts @@ -158,6 +158,16 @@ export async function uploadDependencyCaches(config: Config, logger: Logger) { continue; } + // Calculate the size of the files that we would store in the cache. We use this to determine whether the + // cache should be saved or not. For example, if there are no files to store, then we skip creating the + // cache. In the future, we could also: + // - Skip uploading caches with a size below some threshold: this makes sense for avoiding the overhead + // of storing and restoring small caches, but does not help with alert wobble if a package repository + // cannot be reached in a given run. + // - Skip uploading caches with a size above some threshold: this could be a concern if other workflows + // use the cache quota that we compete with. In that case, we do not wish to use up all of the quota + // with the dependency caches. For this, we could use the Cache API to check whether other workflows + // are using the quota and how full it is. const size = await getTotalCacheSize(cacheConfig.paths, logger); // Skip uploading an empty cache.