From 132a1da9c35c6e04b6fb70ef4bc36af3e735be2b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 11:26:35 +0000 Subject: [PATCH 1/3] Bump the npm-dependencies group across 1 directory with 4 updates Bumps the npm-dependencies group with 4 updates in the /sources directory: [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache), @gradle-tech/develocity-agent, [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin). Updates `@actions/cache` from 4.0.3 to 4.0.5 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache) Updates `@gradle-tech/develocity-agent` from 1.0.1 to 1.0.2 Updates `@types/node` from 24.2.0 to 24.3.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.39.0 to 8.40.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.40.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@actions/cache" dependency-version: 4.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: "@gradle-tech/develocity-agent" dependency-version: 1.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: "@types/node" dependency-version: 24.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.40.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies ... Signed-off-by: dependabot[bot] --- sources/package-lock.json | 150 +++++++++++++++++++------------------- sources/package.json | 8 +- 2 files changed, 79 insertions(+), 79 deletions(-) diff --git a/sources/package-lock.json b/sources/package-lock.json index 1c167d08..725b20d5 100644 --- a/sources/package-lock.json +++ b/sources/package-lock.json @@ -11,7 +11,7 @@ "license": "MIT", "dependencies": { "@actions/artifact": "2.3.2", - "@actions/cache": "4.0.3", + "@actions/cache": "4.0.5", "@actions/core": "1.11.1", "@actions/exec": "1.1.1", "@actions/github": "6.0.1", @@ -26,14 +26,14 @@ "which": "5.0.0" }, "devDependencies": { - "@gradle-tech/develocity-agent": "1.0.1", + "@gradle-tech/develocity-agent": "1.0.2", "@jest/globals": "30.0.5", "@types/jest": "30.0.0", - "@types/node": "24.2.0", + "@types/node": "24.3.0", "@types/semver": "7.7.0", "@types/unzipper": "0.10.11", "@types/which": "3.0.4", - "@typescript-eslint/eslint-plugin": "8.39.0", + "@typescript-eslint/eslint-plugin": "8.40.0", "@vercel/ncc": "0.38.3", "dedent": "1.6.0", "eslint": "9.24.0", @@ -115,9 +115,9 @@ } }, "node_modules/@actions/cache": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.3.tgz", - "integrity": "sha512-SvrqFtYJ7I48A/uXNkoJrnukx5weQv1fGquhs3+4nkByZThBH109KTIqj5x/cGV7JGNvb8dLPVywUOqX1fjiXg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.5.tgz", + "integrity": "sha512-RjLz1/vvntOfp3FpkY3wB0MjVRbLq7bfQEuQG9UUTKwdtcYmFrKVmuD+9B6ADbzbkSfHM+dM4sMjdr3R4XIkFg==", "license": "MIT", "dependencies": { "@actions/core": "^1.11.1", @@ -128,7 +128,7 @@ "@azure/abort-controller": "^1.1.0", "@azure/ms-rest-js": "^2.6.0", "@azure/storage-blob": "^12.13.0", - "@protobuf-ts/plugin": "^2.9.4", + "@protobuf-ts/runtime-rpc": "^2.11.1", "semver": "^6.3.1" } }, @@ -1252,9 +1252,9 @@ } }, "node_modules/@gradle-tech/develocity-agent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@gradle-tech/develocity-agent/-/develocity-agent-1.0.1.tgz", - "integrity": "sha512-wmzCSCGEA5HXfVtZZqwkcSK10gnF4s0iQsHYE0D0DSos+c/O94hJHjySIv6A+/WSEWy5NtejboakXN2eucGaTw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@gradle-tech/develocity-agent/-/develocity-agent-1.0.2.tgz", + "integrity": "sha512-rViLM3Sb71VYGmieJv1nsVB0Aofct3gdB2IhwdHBxKsMbEvvcEAYslzWtbHeZg0CPiyzSL7ml4QiG80XJe+CoA==", "dev": true, "license": "SEE LICENSE AT https://gradle.com/help/legal-terms-of-use", "engines": { @@ -2247,18 +2247,18 @@ } }, "node_modules/@protobuf-ts/runtime": { - "version": "2.9.6", - "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime/-/runtime-2.9.6.tgz", - "integrity": "sha512-C0CfpKx4n4LBbUrajOdRj2BTbd3qBoK0SiKWLq7RgCoU6xiN4wesBMFHUOBp3fFzKeZwgU8Q2KtzaqzIvPLRXg==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime/-/runtime-2.11.1.tgz", + "integrity": "sha512-KuDaT1IfHkugM2pyz+FwiY80ejWrkH1pAtOBOZFuR6SXEFTsnb/jiQWQ1rCIrcKx2BtyxnxW6BWwsVSA/Ie+WQ==", "license": "(Apache-2.0 AND BSD-3-Clause)" }, "node_modules/@protobuf-ts/runtime-rpc": { - "version": "2.9.6", - "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime-rpc/-/runtime-rpc-2.9.6.tgz", - "integrity": "sha512-0UeqDRzNxgsh08lY5eWzFJNfD3gZ8Xf+WG1HzbIAbVAigzigwjwsYNNhTeas5H3gco1U5owTzCg177aambKOOw==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@protobuf-ts/runtime-rpc/-/runtime-rpc-2.11.1.tgz", + "integrity": "sha512-4CqqUmNA+/uMz00+d3CYKgElXO9VrEbucjnBFEjqI4GuDrEQ32MaI3q+9qPBvIGOlL4PmHXrzM32vBPWRhQKWQ==", "license": "Apache-2.0", "dependencies": { - "@protobuf-ts/runtime": "^2.9.6" + "@protobuf-ts/runtime": "^2.11.1" } }, "node_modules/@sinclair/typebox": { @@ -2396,9 +2396,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "24.2.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.2.0.tgz", - "integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==", + "version": "24.3.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.3.0.tgz", + "integrity": "sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==", "dev": true, "license": "MIT", "dependencies": { @@ -2454,17 +2454,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.0.tgz", - "integrity": "sha512-bhEz6OZeUR+O/6yx9Jk6ohX6H9JSFTaiY0v9/PuKT3oGK0rn0jNplLmyFUGV+a9gfYnVNwGDwS/UkLIuXNb2Rw==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.40.0.tgz", + "integrity": "sha512-w/EboPlBwnmOBtRbiOvzjD+wdiZdgFeo17lkltrtn7X37vagKKWJABvyfsJXTlHe6XBzugmYgd4A4nW+k8Mixw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.39.0", - "@typescript-eslint/type-utils": "8.39.0", - "@typescript-eslint/utils": "8.39.0", - "@typescript-eslint/visitor-keys": "8.39.0", + "@typescript-eslint/scope-manager": "8.40.0", + "@typescript-eslint/type-utils": "8.40.0", + "@typescript-eslint/utils": "8.40.0", + "@typescript-eslint/visitor-keys": "8.40.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -2478,7 +2478,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.39.0", + "@typescript-eslint/parser": "^8.40.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -2494,17 +2494,17 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.39.0.tgz", - "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.40.0.tgz", + "integrity": "sha512-jCNyAuXx8dr5KJMkecGmZ8KI61KBUhkCob+SD+C+I5+Y1FWI2Y3QmY4/cxMCC5WAsZqoEtEETVhUiUMIGCf6Bw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.39.0", - "@typescript-eslint/types": "8.39.0", - "@typescript-eslint/typescript-estree": "8.39.0", - "@typescript-eslint/visitor-keys": "8.39.0", + "@typescript-eslint/scope-manager": "8.40.0", + "@typescript-eslint/types": "8.40.0", + "@typescript-eslint/typescript-estree": "8.40.0", + "@typescript-eslint/visitor-keys": "8.40.0", "debug": "^4.3.4" }, "engines": { @@ -2520,14 +2520,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.39.0.tgz", - "integrity": "sha512-CTzJqaSq30V/Z2Og9jogzZt8lJRR5TKlAdXmWgdu4hgcC9Kww5flQ+xFvMxIBWVNdxJO7OifgdOK4PokMIWPew==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.40.0.tgz", + "integrity": "sha512-/A89vz7Wf5DEXsGVvcGdYKbVM9F7DyFXj52lNYUDS1L9yJfqjW/fIp5PgMuEJL/KeqVTe2QSbXAGUZljDUpArw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.39.0", - "@typescript-eslint/types": "^8.39.0", + "@typescript-eslint/tsconfig-utils": "^8.40.0", + "@typescript-eslint/types": "^8.40.0", "debug": "^4.3.4" }, "engines": { @@ -2542,14 +2542,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.39.0.tgz", - "integrity": "sha512-8QOzff9UKxOh6npZQ/4FQu4mjdOCGSdO3p44ww0hk8Vu+IGbg0tB/H1LcTARRDzGCC8pDGbh2rissBuuoPgH8A==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.40.0.tgz", + "integrity": "sha512-y9ObStCcdCiZKzwqsE8CcpyuVMwRouJbbSrNuThDpv16dFAj429IkM6LNb1dZ2m7hK5fHyzNcErZf7CEeKXR4w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.39.0", - "@typescript-eslint/visitor-keys": "8.39.0" + "@typescript-eslint/types": "8.40.0", + "@typescript-eslint/visitor-keys": "8.40.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2560,9 +2560,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.0.tgz", - "integrity": "sha512-Fd3/QjmFV2sKmvv3Mrj8r6N8CryYiCS8Wdb/6/rgOXAWGcFuc+VkQuG28uk/4kVNVZBQuuDHEDUpo/pQ32zsIQ==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.40.0.tgz", + "integrity": "sha512-jtMytmUaG9d/9kqSl/W3E3xaWESo4hFDxAIHGVW/WKKtQhesnRIJSAJO6XckluuJ6KDB5woD1EiqknriCtAmcw==", "dev": true, "license": "MIT", "engines": { @@ -2577,15 +2577,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.39.0.tgz", - "integrity": "sha512-6B3z0c1DXVT2vYA9+z9axjtc09rqKUPRmijD5m9iv8iQpHBRYRMBcgxSiKTZKm6FwWw1/cI4v6em35OsKCiN5Q==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.40.0.tgz", + "integrity": "sha512-eE60cK4KzAc6ZrzlJnflXdrMqOBaugeukWICO2rB0KNvwdIMaEaYiywwHMzA1qFpTxrLhN9Lp4E/00EgWcD3Ow==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.39.0", - "@typescript-eslint/typescript-estree": "8.39.0", - "@typescript-eslint/utils": "8.39.0", + "@typescript-eslint/types": "8.40.0", + "@typescript-eslint/typescript-estree": "8.40.0", + "@typescript-eslint/utils": "8.40.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -2602,9 +2602,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.39.0.tgz", - "integrity": "sha512-ArDdaOllnCj3yn/lzKn9s0pBQYmmyme/v1HbGIGB0GB/knFI3fWMHloC+oYTJW46tVbYnGKTMDK4ah1sC2v0Kg==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.40.0.tgz", + "integrity": "sha512-ETdbFlgbAmXHyFPwqUIYrfc12ArvpBhEVgGAxVYSwli26dn8Ko+lIo4Su9vI9ykTZdJn+vJprs/0eZU0YMAEQg==", "dev": true, "license": "MIT", "engines": { @@ -2616,16 +2616,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.0.tgz", - "integrity": "sha512-ndWdiflRMvfIgQRpckQQLiB5qAKQ7w++V4LlCHwp62eym1HLB/kw7D9f2e8ytONls/jt89TEasgvb+VwnRprsw==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.40.0.tgz", + "integrity": "sha512-k1z9+GJReVVOkc1WfVKs1vBrR5MIKKbdAjDTPvIK3L8De6KbFfPFt6BKpdkdk7rZS2GtC/m6yI5MYX+UsuvVYQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.39.0", - "@typescript-eslint/tsconfig-utils": "8.39.0", - "@typescript-eslint/types": "8.39.0", - "@typescript-eslint/visitor-keys": "8.39.0", + "@typescript-eslint/project-service": "8.40.0", + "@typescript-eslint/tsconfig-utils": "8.40.0", + "@typescript-eslint/types": "8.40.0", + "@typescript-eslint/visitor-keys": "8.40.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2671,16 +2671,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.39.0.tgz", - "integrity": "sha512-4GVSvNA0Vx1Ktwvf4sFE+exxJ3QGUorQG1/A5mRfRNZtkBT2xrA/BCO2H0eALx/PnvCS6/vmYwRdDA41EoffkQ==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.40.0.tgz", + "integrity": "sha512-Cgzi2MXSZyAUOY+BFwGs17s7ad/7L+gKt6Y8rAVVWS+7o6wrjeFN4nVfTpbE25MNcxyJ+iYUXflbs2xR9h4UBg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.39.0", - "@typescript-eslint/types": "8.39.0", - "@typescript-eslint/typescript-estree": "8.39.0" + "@typescript-eslint/scope-manager": "8.40.0", + "@typescript-eslint/types": "8.40.0", + "@typescript-eslint/typescript-estree": "8.40.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2695,13 +2695,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.39.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.0.tgz", - "integrity": "sha512-ldgiJ+VAhQCfIjeOgu8Kj5nSxds0ktPOSO9p4+0VDH2R2pLvQraaM5Oen2d7NxzMCm+Sn/vJT+mv2H5u6b/3fA==", + "version": "8.40.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.40.0.tgz", + "integrity": "sha512-8CZ47QwalyRjsypfwnbI3hKy5gJDPmrkLjkgMxhi0+DZZ2QNx2naS6/hWoVYUHU7LU2zleF68V9miaVZvhFfTA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/types": "8.40.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { diff --git a/sources/package.json b/sources/package.json index cb84c88c..23a11eff 100644 --- a/sources/package.json +++ b/sources/package.json @@ -33,7 +33,7 @@ "license": "MIT", "dependencies": { "@actions/artifact": "2.3.2", - "@actions/cache": "4.0.3", + "@actions/cache": "4.0.5", "@actions/core": "1.11.1", "@actions/exec": "1.1.1", "@actions/github": "6.0.1", @@ -48,14 +48,14 @@ "which": "5.0.0" }, "devDependencies": { - "@gradle-tech/develocity-agent": "1.0.1", + "@gradle-tech/develocity-agent": "1.0.2", "@jest/globals": "30.0.5", "@types/jest": "30.0.0", - "@types/node": "24.2.0", + "@types/node": "24.3.0", "@types/semver": "7.7.0", "@types/unzipper": "0.10.11", "@types/which": "3.0.4", - "@typescript-eslint/eslint-plugin": "8.39.0", + "@typescript-eslint/eslint-plugin": "8.40.0", "@vercel/ncc": "0.38.3", "dedent": "1.6.0", "eslint": "9.24.0", From dc4f93dda9e33aec5bd5c33f85a21fa9d139d434 Mon Sep 17 00:00:00 2001 From: Jerome Prinet Date: Thu, 21 Aug 2025 09:56:46 +0200 Subject: [PATCH 2/3] Apply patch on @actions/cache 4.0.5 module --- sources/patches/@actions+cache+4.0.3.patch | 183 --------------------- sources/patches/@actions+cache+4.0.5.patch | 28 ++++ 2 files changed, 28 insertions(+), 183 deletions(-) delete mode 100644 sources/patches/@actions+cache+4.0.3.patch create mode 100644 sources/patches/@actions+cache+4.0.5.patch diff --git a/sources/patches/@actions+cache+4.0.3.patch b/sources/patches/@actions+cache+4.0.3.patch deleted file mode 100644 index bdf62e06..00000000 --- a/sources/patches/@actions+cache+4.0.3.patch +++ /dev/null @@ -1,183 +0,0 @@ -diff --git a/node_modules/@actions/cache/lib/cache.d.ts b/node_modules/@actions/cache/lib/cache.d.ts -index ef0928b..4e2f570 100644 ---- a/node_modules/@actions/cache/lib/cache.d.ts -+++ b/node_modules/@actions/cache/lib/cache.d.ts -@@ -21,7 +21,7 @@ export declare function isFeatureAvailable(): boolean; - * @param enableCrossOsArchive an optional boolean enabled to restore on windows any cache created on any platform - * @returns string returns the key for the cache hit, otherwise returns undefined - */ --export declare function restoreCache(paths: string[], primaryKey: string, restoreKeys?: string[], options?: DownloadOptions, enableCrossOsArchive?: boolean): Promise; -+export declare function restoreCache(paths: string[], primaryKey: string, restoreKeys?: string[], options?: DownloadOptions, enableCrossOsArchive?: boolean): Promise; - /** - * Saves a list of files with the specified key - * -@@ -31,4 +31,12 @@ export declare function restoreCache(paths: string[], primaryKey: string, restor - * @param options cache upload options - * @returns number returns cacheId if the cache was saved successfully and throws an error if save fails - */ --export declare function saveCache(paths: string[], key: string, options?: UploadOptions, enableCrossOsArchive?: boolean): Promise; -+export declare function saveCache(paths: string[], key: string, options?: UploadOptions, enableCrossOsArchive?: boolean): Promise; -+ -+// PATCHED: Add `CacheEntry` as return type for save/restore functions -+// This allows us to track and report on cache entry sizes. -+export declare class CacheEntry { -+ key: string; -+ size?: number; -+ constructor(key: string, size?: number); -+} -\ No newline at end of file -diff --git a/node_modules/@actions/cache/lib/cache.js b/node_modules/@actions/cache/lib/cache.js -index e9e45c9..336733b 100644 ---- a/node_modules/@actions/cache/lib/cache.js -+++ b/node_modules/@actions/cache/lib/cache.js -@@ -154,18 +154,21 @@ function restoreCacheV1(paths, primaryKey, restoreKeys, options, enableCrossOsAr - core.info(`Cache Size: ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B)`); - yield (0, tar_1.extractTar)(archivePath, compressionMethod); - core.info('Cache restored successfully'); -- return cacheEntry.cacheKey; -- } -- catch (error) { -- const typedError = error; -- if (typedError.name === ValidationError.name) { -- throw error; -- } -- else { -- // Supress all non-validation cache related errors because caching should be optional -- core.warning(`Failed to restore: ${error.message}`); -- } -+ -+ // PATCHED - Include size of restored entry -+ return new CacheEntry(cacheEntry.cacheKey, archiveFileSize);; - } -+ // PATCHED - propagate errors -+ // catch (error) { -+ // const typedError = error; -+ // if (typedError.name === ValidationError.name) { -+ // throw error; -+ // } -+ // else { -+ // // Supress all non-validation cache related errors because caching should be optional -+ // core.warning(`Failed to restore: ${error.message}`); -+ // } -+ // } - finally { - // Try to delete the archive to save space - try { -@@ -232,18 +235,21 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr - } - yield (0, tar_1.extractTar)(archivePath, compressionMethod); - core.info('Cache restored successfully'); -- return response.matchedKey; -- } -- catch (error) { -- const typedError = error; -- if (typedError.name === ValidationError.name) { -- throw error; -- } -- else { -- // Supress all non-validation cache related errors because caching should be optional -- core.warning(`Failed to restore: ${error.message}`); -- } -+ -+ // PATCHED - Include size of restored entry -+ return new CacheEntry(response.matchedKey, archiveFileSize);; - } -+ // PATCHED - propagate errors -+ // catch (error) { -+ // const typedError = error; -+ // if (typedError.name === ValidationError.name) { -+ // throw error; -+ // } -+ // else { -+ // // Supress all non-validation cache related errors because caching should be optional -+ // core.warning(`Failed to restore: ${error.message}`); -+ // } -+ // } - finally { - try { - if (archivePath) { -@@ -334,19 +340,23 @@ function saveCacheV1(paths, key, options, enableCrossOsArchive = false) { - } - core.debug(`Saving Cache (ID: ${cacheId})`); - yield cacheHttpClient.saveCache(cacheId, archivePath, '', options); -+ -+ // PATCHED - Include size of saved entry -+ return new CacheEntry(key, archiveFileSize); - } -- catch (error) { -- const typedError = error; -- if (typedError.name === ValidationError.name) { -- throw error; -- } -- else if (typedError.name === ReserveCacheError.name) { -- core.info(`Failed to save: ${typedError.message}`); -- } -- else { -- core.warning(`Failed to save: ${typedError.message}`); -- } -- } -+ // PATCHED - propagate errors -+ // catch (error) { -+ // const typedError = error; -+ // if (typedError.name === ValidationError.name) { -+ // throw error; -+ // } -+ // else if (typedError.name === ReserveCacheError.name) { -+ // core.info(`Failed to save: ${typedError.message}`); -+ // } -+ // else { -+ // core.warning(`Failed to save: ${typedError.message}`); -+ // } -+ // } - finally { - // Try to delete the archive to save space - try { -@@ -430,19 +440,23 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { - throw new Error(`Unable to finalize cache with key ${key}, another job may be finalizing this cache.`); - } - cacheId = parseInt(finalizeResponse.entryId); -+ -+ // PATCHED - Include size of saved entry -+ return new CacheEntry(key, archiveFileSize); - } -- catch (error) { -- const typedError = error; -- if (typedError.name === ValidationError.name) { -- throw error; -- } -- else if (typedError.name === ReserveCacheError.name) { -- core.info(`Failed to save: ${typedError.message}`); -- } -- else { -- core.warning(`Failed to save: ${typedError.message}`); -- } -- } -+ // PATCHED - propagate errors -+ // catch (error) { -+ // const typedError = error; -+ // if (typedError.name === ValidationError.name) { -+ // throw error; -+ // } -+ // else if (typedError.name === ReserveCacheError.name) { -+ // core.info(`Failed to save: ${typedError.message}`); -+ // } -+ // else { -+ // core.warning(`Failed to save: ${typedError.message}`); -+ // } -+ // } - finally { - // Try to delete the archive to save space - try { -@@ -455,4 +469,11 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { - return cacheId; - }); - } -+// PATCHED - CacheEntry class -+class CacheEntry { -+ constructor(key, size) { -+ this.key = key; -+ this.size = size; -+ } -+} - //# sourceMappingURL=cache.js.map -\ No newline at end of file diff --git a/sources/patches/@actions+cache+4.0.5.patch b/sources/patches/@actions+cache+4.0.5.patch new file mode 100644 index 00000000..ac79adae --- /dev/null +++ b/sources/patches/@actions+cache+4.0.5.patch @@ -0,0 +1,28 @@ +diff --git a/node_modules/@actions/cache/lib/cache.d.ts b/node_modules/@actions/cache/lib/cache.d.ts +index ef0928b..d06e675 100644 +--- a/node_modules/@actions/cache/lib/cache.d.ts ++++ b/node_modules/@actions/cache/lib/cache.d.ts +@@ -21,7 +21,8 @@ export declare function isFeatureAvailable(): boolean; + * @param enableCrossOsArchive an optional boolean enabled to restore on windows any cache created on any platform + * @returns string returns the key for the cache hit, otherwise returns undefined + */ +-export declare function restoreCache(paths: string[], primaryKey: string, restoreKeys?: string[], options?: DownloadOptions, enableCrossOsArchive?: boolean): Promise; ++export declare function restoreCache(paths: string[], primaryKey: string, restoreKeys?: string[], options?: DownloadOptions, enableCrossOsArchive?: boolean): Promise; ++ + /** + * Saves a list of files with the specified key + * +@@ -31,4 +32,12 @@ export declare function restoreCache(paths: string[], primaryKey: string, restor + * @param options cache upload options + * @returns number returns cacheId if the cache was saved successfully and throws an error if save fails + */ +-export declare function saveCache(paths: string[], key: string, options?: UploadOptions, enableCrossOsArchive?: boolean): Promise; ++export declare function saveCache(paths: string[], key: string, options?: UploadOptions, enableCrossOsArchive?: boolean): Promise; ++ ++// PATCHED: Add `CacheEntry` as return type for save/restore functions ++// This allows us to track and report on cache entry sizes. ++export declare class CacheEntry { ++ key: string; ++ size?: number; ++ constructor(key: string, size?: number); ++} From 3e248a48d8790b308e08f749d820f57b3961414d Mon Sep 17 00:00:00 2001 From: Jerome Prinet Date: Thu, 21 Aug 2025 12:25:30 +0200 Subject: [PATCH 3/3] Fix patch --- sources/patches/@actions+cache+4.0.5.patch | 220 +++++++++++++++++++++ 1 file changed, 220 insertions(+) diff --git a/sources/patches/@actions+cache+4.0.5.patch b/sources/patches/@actions+cache+4.0.5.patch index ac79adae..0ad85789 100644 --- a/sources/patches/@actions+cache+4.0.5.patch +++ b/sources/patches/@actions+cache+4.0.5.patch @@ -26,3 +26,223 @@ index ef0928b..d06e675 100644 + size?: number; + constructor(key: string, size?: number); +} +diff --git a/node_modules/@actions/cache/lib/cache.js b/node_modules/@actions/cache/lib/cache.js +index 41f2a37..2fe1600 100644 +--- a/node_modules/@actions/cache/lib/cache.js ++++ b/node_modules/@actions/cache/lib/cache.js +@@ -165,26 +165,29 @@ function restoreCacheV1(paths, primaryKey, restoreKeys, options, enableCrossOsAr + core.info(`Cache Size: ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B)`); + yield (0, tar_1.extractTar)(archivePath, compressionMethod); + core.info('Cache restored successfully'); +- return cacheEntry.cacheKey; +- } +- catch (error) { +- const typedError = error; +- if (typedError.name === ValidationError.name) { +- throw error; +- } +- else { +- // warn on cache restore failure and continue build +- // Log server errors (5xx) as errors, all other errors as warnings +- if (typedError instanceof http_client_1.HttpClientError && +- typeof typedError.statusCode === 'number' && +- typedError.statusCode >= 500) { +- core.error(`Failed to restore: ${error.message}`); +- } +- else { +- core.warning(`Failed to restore: ${error.message}`); +- } +- } ++ ++ // PATCHED - Include size of restored entry ++ return new CacheEntry(cacheEntry.cacheKey, archiveFileSize); + } ++ // PATCHED - propagate errors ++ // catch (error) { ++ // const typedError = error; ++ // if (typedError.name === ValidationError.name) { ++ // throw error; ++ // } ++ // else { ++ // // warn on cache restore failure and continue build ++ // // Log server errors (5xx) as errors, all other errors as warnings ++ // if (typedError instanceof http_client_1.HttpClientError && ++ // typeof typedError.statusCode === 'number' && ++ // typedError.statusCode >= 500) { ++ // core.error(`Failed to restore: ${error.message}`); ++ // } ++ // else { ++ // core.warning(`Failed to restore: ${error.message}`); ++ // } ++ // } ++ //} + finally { + // Try to delete the archive to save space + try { +@@ -257,26 +260,29 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr + } + yield (0, tar_1.extractTar)(archivePath, compressionMethod); + core.info('Cache restored successfully'); +- return response.matchedKey; +- } +- catch (error) { +- const typedError = error; +- if (typedError.name === ValidationError.name) { +- throw error; +- } +- else { +- // Supress all non-validation cache related errors because caching should be optional +- // Log server errors (5xx) as errors, all other errors as warnings +- if (typedError instanceof http_client_1.HttpClientError && +- typeof typedError.statusCode === 'number' && +- typedError.statusCode >= 500) { +- core.error(`Failed to restore: ${error.message}`); +- } +- else { +- core.warning(`Failed to restore: ${error.message}`); +- } +- } ++ ++ // PATCHED - Include size of restored entry ++ return new CacheEntry(response.matchedKey, archiveFileSize); + } ++ // PATCHED - propagate errors ++ // catch (error) { ++ // const typedError = error; ++ // if (typedError.name === ValidationError.name) { ++ // throw error; ++ // } ++ // else { ++ // // Supress all non-validation cache related errors because caching should be optional ++ // // Log server errors (5xx) as errors, all other errors as warnings ++ // if (typedError instanceof http_client_1.HttpClientError && ++ // typeof typedError.statusCode === 'number' && ++ // typedError.statusCode >= 500) { ++ // core.error(`Failed to restore: ${error.message}`); ++ // } ++ // else { ++ // core.warning(`Failed to restore: ${error.message}`); ++ // } ++ // } ++ //} + finally { + try { + if (archivePath) { +@@ -367,27 +373,31 @@ function saveCacheV1(paths, key, options, enableCrossOsArchive = false) { + } + core.debug(`Saving Cache (ID: ${cacheId})`); + yield cacheHttpClient.saveCache(cacheId, archivePath, '', options); ++ ++ // PATCHED - Include size of saved entry ++ return new CacheEntry(key, archiveFileSize); + } +- catch (error) { +- const typedError = error; +- if (typedError.name === ValidationError.name) { +- throw error; +- } +- else if (typedError.name === ReserveCacheError.name) { +- core.info(`Failed to save: ${typedError.message}`); +- } +- else { +- // Log server errors (5xx) as errors, all other errors as warnings +- if (typedError instanceof http_client_1.HttpClientError && +- typeof typedError.statusCode === 'number' && +- typedError.statusCode >= 500) { +- core.error(`Failed to save: ${typedError.message}`); +- } +- else { +- core.warning(`Failed to save: ${typedError.message}`); +- } +- } +- } ++ // PATCHED - propagate errors ++ //catch (error) { ++ // const typedError = error; ++ // if (typedError.name === ValidationError.name) { ++ // throw error; ++ // } ++ // else if (typedError.name === ReserveCacheError.name) { ++ // core.info(`Failed to save: ${typedError.message}`); ++ // } ++ // else { ++ // // Log server errors (5xx) as errors, all other errors as warnings ++ // if (typedError instanceof http_client_1.HttpClientError && ++ // typeof typedError.statusCode === 'number' && ++ // typedError.statusCode >= 500) { ++ // core.error(`Failed to save: ${typedError.message}`); ++ // } ++ // else { ++ // core.warning(`Failed to save: ${typedError.message}`); ++ // } ++ // } ++ //} + finally { + // Try to delete the archive to save space + try { +@@ -471,27 +481,31 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { + throw new Error(`Unable to finalize cache with key ${key}, another job may be finalizing this cache.`); + } + cacheId = parseInt(finalizeResponse.entryId); ++ ++ // PATCHED - Include size of saved entry ++ return new CacheEntry(key, archiveFileSize); + } +- catch (error) { +- const typedError = error; +- if (typedError.name === ValidationError.name) { +- throw error; +- } +- else if (typedError.name === ReserveCacheError.name) { +- core.info(`Failed to save: ${typedError.message}`); +- } +- else { +- // Log server errors (5xx) as errors, all other errors as warnings +- if (typedError instanceof http_client_1.HttpClientError && +- typeof typedError.statusCode === 'number' && +- typedError.statusCode >= 500) { +- core.error(`Failed to save: ${typedError.message}`); +- } +- else { +- core.warning(`Failed to save: ${typedError.message}`); +- } +- } +- } ++ // PATCHED - propagate errors ++ //catch (error) { ++ // const typedError = error; ++ // if (typedError.name === ValidationError.name) { ++ // throw error; ++ // } ++ // else if (typedError.name === ReserveCacheError.name) { ++ // core.info(`Failed to save: ${typedError.message}`); ++ // } ++ // else { ++ // // Log server errors (5xx) as errors, all other errors as warnings ++ // if (typedError instanceof http_client_1.HttpClientError && ++ // typeof typedError.statusCode === 'number' && ++ // typedError.statusCode >= 500) { ++ // core.error(`Failed to save: ${typedError.message}`); ++ // } ++ // else { ++ // core.warning(`Failed to save: ${typedError.message}`); ++ // } ++ // } ++ //} + finally { + // Try to delete the archive to save space + try { +@@ -504,4 +518,12 @@ function saveCacheV2(paths, key, options, enableCrossOsArchive = false) { + return cacheId; + }); + } ++// PATCHED - CacheEntry class ++class CacheEntry { ++ constructor(key, size) { ++ this.key = key; ++ this.size = size; ++ } ++} ++ + //# sourceMappingURL=cache.js.map +\ No newline at end of file