From d5f20ff0baed826e414ed4c53a521d62eacc1db3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 12 Sep 2026 12:46:29 +0000 Subject: [PATCH] Keep Maven Central out of Renovate's lookup path Renovate runs have been aborting with "External host error causing abort - skipping", so no dependency updates land. Renovate's maven manager appends Maven Central to every Maven dependency's registryUrls unconditionally, regardless of the repositories declared in the poms (modules/manager/maven/extract.js, cleanResult). The maven datasource uses registryStrategy "merge", so Central is queried for every dep, and a 429 or 5xx from Central is turned into an ExternalHostError that can take the whole run down (modules/datasource/maven/util.js). Every dependency in this repo is org.cyclops.*, served by GitHub Packages, so pinning that groupId to its real registry removes Central from the lookup path entirely. Rules for the commented-out mekanism and refinedstorage deps are included so re-enabling them does not reintroduce the problem. Also applies the config migration Renovate reports: matchPackagePrefixes becomes matchPackageNames with a glob. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01MahadNA3gehFpLYemERXRn --- renovate.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 7b509d6..b49cce2 100644 --- a/renovate.json +++ b/renovate.json @@ -8,6 +8,12 @@ { "matchHost": "https://maven.pkg.github.com/CyclopsMC/packages", "token": "{{ secrets.RENOVATE_GITHUB_COM_TOKEN }}" + }, + { + "description": "Backstop only, not working protection. abortOnError is already falsy by default and abortIgnoreStatusCodes is only read when it is true, so this entry changes nothing by itself. The registryUrls rules below are the actual fix.", + "matchHost": "repo.maven.apache.org", + "abortOnError": false, + "abortIgnoreStatusCodes": [429] } ], "packageRules": [ @@ -28,8 +34,26 @@ }, { "matchManagers": ["maven"], - "matchPackagePrefixes": ["org.cyclops."], + "matchPackageNames": ["org.cyclops.{/,}**"], "groupName": "Cyclops packages" + }, + { + "description": "Renovate appends Maven Central to every Maven dependency regardless of the repositories declared in the poms, and a 429 from Central raises an ExternalHostError that can abort the run. Pinning each groupId to the registry that actually serves it keeps Central out of the lookup path.", + "matchManagers": ["maven"], + "matchPackageNames": ["org.cyclops.{/,}**"], + "registryUrls": ["https://maven.pkg.github.com/CyclopsMC/packages"] + }, + { + "description": "Not active today, these dependencies are commented out in the poms. Kept so re-enabling them does not reintroduce a Central lookup.", + "matchManagers": ["maven"], + "matchPackageNames": ["mekanism{/,}**"], + "registryUrls": ["https://modmaven.dev/"] + }, + { + "description": "Not active today, commented out in the 26.2 neoforge pom. refinedstorage-neoforge resolves only from creeperhost.", + "matchManagers": ["maven"], + "matchPackageNames": ["com.refinedmods.refinedstorage{/,}**"], + "registryUrls": ["https://maven.creeperhost.net/"] } ] }