From be13c49144e97dec26653de23913f640e55a746b Mon Sep 17 00:00:00 2001 From: mathieuHa Date: Sun, 5 Jul 2026 19:36:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20ci(renovate):=20fix=20OOM=20cras?= =?UTF-8?q?h=20and=20stop=20using=20Mend's=20default=20gitAuthor=20(#347)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 2026-07-03 runs surfaced two config problems: - The grouped "renovate/all" branch made Renovate fetch and hold the changelog of every upgrade instance separately (Traefik v3.0.0->v3.7.6 was fetched ~10x, once per compose file), which blew the default 4GB V8 heap: "FATAL ERROR: ... JavaScript heap out of memory" (exit 134), killing the run after the branch was pushed but before the PR was opened. Disable changelog fetching (release notes were truncated in the grouped PR body anyway) and raise the Node heap to 8GB as a safety net. - No gitAuthor was set, so commits were authored as Mend's renovate@whitesourcesoftware.com, which GitHub flags "Unverified" (Vigilant Mode) and Renovate warns about on every run. Use the token owner's noreply address instead. Co-authored-by: Claude Fable 5 --- .github/workflows/renovate.yml | 3 +++ renovate.json | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index b119786..68f5ff9 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -35,4 +35,7 @@ jobs: RENOVATE_REPOSITORIES: ${{ github.repository }} RENOVATE_ONBOARDING: "false" RENOVATE_REQUIRE_CONFIG: "required" + # The grouped "all" branch holds many upgrades; changelog/PR-body + # rendering for it blew the default 4GB V8 heap (exit 134 OOM). + NODE_OPTIONS: "--max-old-space-size=8192" LOG_LEVEL: ${{ github.event.inputs.logLevel || 'info' }} diff --git a/renovate.json b/renovate.json index e1ab9c8..51ef9ca 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,8 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"], + "gitAuthor": "Renovate Bot <22881669+maxlerebourg@users.noreply.github.com>", + "fetchChangeLogs": "off", "labels": ["dependencies"], "ignorePaths": ["**/vendor/**", "**/node_modules/**"], "rangeStrategy": "bump",