Skip to content

rename default.json5 → default.json so Renovate resolves the preset - #4

Merged
bikramnehra merged 1 commit into
mainfrom
fix/renovate-preset-default-json
Aug 4, 2026
Merged

rename default.json5 → default.json so Renovate resolves the preset#4
bikramnehra merged 1 commit into
mainfrom
fix/renovate-preset-default-json

Conversation

@bikramnehra

Copy link
Copy Markdown
Contributor

Problem

Renovate has been silent on both forge and forge-infra since 2026-07-20. Each repo has an open "Action Required: Fix Renovate Configuration" issue from Renovate itself with:

Cannot find preset's package (github>HyperbolicLabs/.github)

Why

The github>OWNER/REPO shortcut resolves to default.json at the repo root by documented default. .json5 support at that default path is version-dependent in Renovate, and Mend's hosted scanner returns this exact error when the lookup misses — which is what's happening here. Renaming to the canonical filename sidesteps the whole issue.

Change

default.json5default.json. Byte-identical content. Renovate parses .json presets with a JSON5 parser, so the existing comments and trailing commas keep working — the extension is the only thing changing.

Downstream

No consumer changes needed. forge/renovate.json5 and forge-infra/renovate.json5 both already reference this preset as extends: ["github>HyperbolicLabs/.github"] — that string now resolves to a file that exists.

Verification

Next Monday's Mend scan should pick this up. Both repos should start receiving grouped weekly PRs again (terraform providers, GitHub Actions, gomod bumps in forge, Helm charts in forge-infra ApplicationSets).

Both forge and forge-infra have gone silent on Renovate since
2026-07-20: same-day "Action Required: Fix Renovate Configuration"
issue in each, error `Cannot find preset's package
(github>HyperbolicLabs/.github)`.

Renovate's `github>OWNER/REPO` shortcut resolves to `default.json` at
the repo root by documented default. `.json5` is supported in newer
Renovate versions but the resolution is finicky and version-dependent —
this exact error is what Mend's hosted scanner returns when the
default-path lookup misses. Renaming to the canonical filename
sidesteps the whole issue.

Content is byte-identical. Renovate parses .json presets with a JSON5
parser, so the existing comments and trailing commas keep working.

Downstream repos need no changes — their `extends: ["github>HyperbolicLabs/.github"]`
lines already resolve here.
@bikramnehra
bikramnehra merged commit b4f3e0a into main Aug 4, 2026
1 check failed
@bikramnehra
bikramnehra deleted the fix/renovate-preset-default-json branch August 4, 2026 23:16
bikramnehra added a commit that referenced this pull request Aug 4, 2026
The rename PR (#4) moved default.json5 → default.json but missed the
CI workflow, which is hardcoded to the old filename. Every run since
has failed with `File does not exist "default.json5"` — PR #4 and PR #5
both merged past a red check because the check isn't required.

Point the validator at default.json. Confirmed locally: exit 0, "Config
validated successfully" (with the harmless JSON5-in-.json deprecation
warn, which does not fail --strict).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant