From 817492a9624e04ead1281c028877299048ab793b Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 25 Aug 2026 09:41:30 +0200 Subject: [PATCH 1/3] fix: Upgrade node version Signed-off-by: Marcel Klehr --- lib/Migration/InstallDeps.php | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Migration/InstallDeps.php b/lib/Migration/InstallDeps.php index 9b3d34db..08c60dee 100644 --- a/lib/Migration/InstallDeps.php +++ b/lib/Migration/InstallDeps.php @@ -35,7 +35,7 @@ use Psr\Log\LoggerInterface; final class InstallDeps implements IRepairStep { - public const NODE_VERSION = 'v20.9.0'; + public const NODE_VERSION = 'v24.19.0'; public const NODE_SERVER_OFFICIAL = 'https://nodejs.org/dist/'; public const NODE_SERVER_UNOFFICIAL = 'https://unofficial-builds.nodejs.org/download/release/'; diff --git a/package.json b/package.json index f371d1a5..d7f83927 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,8 @@ "vue": "3.x" }, "engines": { - "node": "20.x", - "npm": "10.x" + "node": "24.x", + "npm": "11.x" }, "browserslist": [ "extends @nextcloud/browserslist-config" From 8d3dd045fc4783963e713c194c4d7c6e3700fbe1 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 25 Aug 2026 09:51:27 +0200 Subject: [PATCH 2/3] fix(ci): Fix psalm issues Signed-off-by: Marcel Klehr --- lib/BackgroundJobs/ClusterFacesJob.php | 2 +- psalm-baseline.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/BackgroundJobs/ClusterFacesJob.php b/lib/BackgroundJobs/ClusterFacesJob.php index a8e78adf..81908657 100644 --- a/lib/BackgroundJobs/ClusterFacesJob.php +++ b/lib/BackgroundJobs/ClusterFacesJob.php @@ -36,7 +36,7 @@ protected function run($argument): void { $userId = (string)$argument['userId']; try { $iniValue = ini_get('memory_limit'); - if ($iniValue === false) { + if ($iniValue === false || $iniValue === '') { $batchSize = 10_000; } else { $memoryBytes = ini_parse_quantity($iniValue); diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 5828aa4e..190286a6 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -10,6 +10,11 @@ + + + + + @@ -942,6 +947,9 @@ + + + From 50fbf12ab783d55c87c179084f16439ef478706a Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 25 Aug 2026 10:38:51 +0200 Subject: [PATCH 3/3] fix(nodejs): Downgrade to node v22 Signed-off-by: Marcel Klehr --- lib/Migration/InstallDeps.php | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Migration/InstallDeps.php b/lib/Migration/InstallDeps.php index 08c60dee..4f074c23 100644 --- a/lib/Migration/InstallDeps.php +++ b/lib/Migration/InstallDeps.php @@ -35,7 +35,7 @@ use Psr\Log\LoggerInterface; final class InstallDeps implements IRepairStep { - public const NODE_VERSION = 'v24.19.0'; + public const NODE_VERSION = 'v22.23.2'; public const NODE_SERVER_OFFICIAL = 'https://nodejs.org/dist/'; public const NODE_SERVER_UNOFFICIAL = 'https://unofficial-builds.nodejs.org/download/release/'; diff --git a/package.json b/package.json index d7f83927..47d9af49 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "vue": "3.x" }, "engines": { - "node": "24.x", + "node": "22.x", "npm": "11.x" }, "browserslist": [