Skip to content

chore(renovate): enable updates for indirect Go dependencies - #118

Merged
carole-lavillonniere merged 1 commit into
localstackfrom
chore/renovate-indirect-gomod
Aug 13, 2026
Merged

chore(renovate): enable updates for indirect Go dependencies#118
carole-lavillonniere merged 1 commit into
localstackfrom
chore/renovate-indirect-gomod

Conversation

@carole-lavillonniere

@carole-lavillonniere carole-lavillonniere commented Aug 13, 2026

Copy link
Copy Markdown

Renovate was not opening PR for go indirect dependencies.

We currently have a CVE in this indirect dep:

  • golang.org/x/net is // indirect in our go.mod.
  • v0.56.0 has been available since 2026-06-09
  • it fixes CVE-2026-46600 (HIGH), which Trivy reports in var/rapid/init on all 34 lambda-images runtimes
  • Renovate has never opened a PR for it, and would never have
  • the previous bump, fix(deps): bump golang.org/x/net to v0.55.0 for CVEs fixes #110 (bump golang.org/x/net to v0.55), was hand-written for the same reason

Once merged, Renovate should open a "Go dependencies (non-major)" PR bumping x/net to v0.56.0 and automerge it when CI is green.

Renovate's gomod manager skips deps marked `// indirect` unless a rule
enables them, so transitive modules were never proposed for update. That
is where Go CVEs usually land.

golang.org/x/net is the current example: v0.56.0 has been available since
2026-06-09 and fixes CVE-2026-46600 (HIGH), but go.mod still pins v0.55.0
because the dep is indirect. The last bump to v0.55 (#110) was hand-written
for the same reason.

The new rule only sets `enabled`, so the grouping and automerge from the
"Go dependencies (non-major)" rule still apply, and it is placed before the
major rule so major bumps stay disabled.

Validated with renovate-config-validator.
@carole-lavillonniere
carole-lavillonniere marked this pull request as draft August 13, 2026 13:04
@carole-lavillonniere
carole-lavillonniere marked this pull request as ready for review August 13, 2026 14:05
@carole-lavillonniere
carole-lavillonniere merged commit 4a8b502 into localstack Aug 13, 2026
4 of 6 checks passed
@carole-lavillonniere
carole-lavillonniere deleted the chore/renovate-indirect-gomod branch August 13, 2026 14:05
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