chore(deps): update google.golang.org/genproto digest to afd174a#455
chore(deps): update google.golang.org/genproto digest to afd174a#455renovate-sh-app[bot] wants to merge 1 commit intomainfrom
Conversation
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
| // These replace directives force all dependencies to use compatible versions from | ||
| // the same snapshot. Remove once upstream dependencies (dskit -> gogo/status) are updated. | ||
| replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20251124214823-79d6a2a48846 | ||
| replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20251222181119-0a764e51fe1b |
There was a problem hiding this comment.
Inconsistent genproto replace directives break same-snapshot requirement
Medium Severity
The replace directive for google.golang.org/genproto is updated to snapshot 0a764e51fe1b (December 22, 2025), but the replace directives for google.golang.org/genproto/googleapis/rpc and google.golang.org/genproto/googleapis/api remain pinned to snapshot 79d6a2a48846 (November 24, 2025). The comment above these directives explicitly states they should use "compatible versions from the same snapshot" to avoid build failures. This inconsistency could cause interface mismatches or compatibility issues between the genproto modules.
ea5233a to
6e49d75
Compare
650fd45 to
5ca87bf
Compare
a9b586a to
d1ced21
Compare
d1ced21 to
2bf9520
Compare
2bf9520 to
37d6f57
Compare
37d6f57 to
3389d1e
Compare
| go 1.24.0 | ||
|
|
||
| toolchain go1.24.4 | ||
| go 1.25.0 |
There was a problem hiding this comment.
Go version bump may break builds
Medium Severity
The module go version is bumped from 1.24.0 to 1.25.0 and the toolchain go1.24.4 line is removed. This can break consumers/CI environments that rely on the pinned toolchain or don’t have Go 1.25 available yet, even though the PR’s stated intent is only a genproto digest update.
|
Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.
Or push these changes by commenting: Preview (24f74275b7)diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,9 @@
module github.com/grafana/alerting
-go 1.25.0
+go 1.24.0
+toolchain go1.24.4
+
require (
github.com/Masterminds/sprig/v3 v3.2.1
github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b |
fef3325 to
b213dfc
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Genproto replace directives use mismatched snapshot versions
- Updated the
googleapis/rpcandgoogleapis/apireplace directives ingo.modto the same 20260223185530-2f722ef697dc snapshot asgoogle.golang.org/genprototo restore snapshot compatibility.
- Updated the
Or push these changes by commenting:
@cursor push 37697bf8e0
Preview (37697bf8e0)
diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -166,6 +166,6 @@
// the same snapshot. Remove once upstream dependencies (dskit -> gogo/status) are updated.
replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20260223185530-2f722ef697dc
-replace google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846
+replace google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20260223185530-2f722ef697dc
-replace google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20251124214823-79d6a2a48846
+replace google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20260223185530-2f722ef697dc| // These replace directives force all dependencies to use compatible versions from | ||
| // the same snapshot. Remove once upstream dependencies (dskit -> gogo/status) are updated. | ||
| replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20251124214823-79d6a2a48846 | ||
| replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20260223185530-2f722ef697dc |
There was a problem hiding this comment.
Genproto replace directives use mismatched snapshot versions
Medium Severity
The comment on line 165 explicitly states these replace directives must use "compatible versions from the same snapshot." The google.golang.org/genproto replace was updated to snapshot 20260223185530-2f722ef697dc, but the googleapis/rpc and googleapis/api replacements still point to the old snapshot 20251124214823-79d6a2a48846. This version skew between the monolithic module and its sub-modules breaks the stated invariant and could cause incompatibilities if protobuf definitions changed between the two snapshots (~3 months apart).
Additional Locations (1)
b213dfc to
d043952
Compare
d043952 to
96e3673
Compare
5340755 to
240ebba
Compare
240ebba to
d9b712b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Go version in go.mod conflicts with go.work
- Updated go.work to go 1.25.0 so the workspace version is no longer lower than the module go directive.
Or push these changes by commenting:
@cursor push 7190d1b5b1
Preview (7190d1b5b1)
diff --git a/go.work b/go.work
--- a/go.work
+++ b/go.work
@@ -1,4 +1,4 @@
-go 1.24.4
+go 1.25.0
use (
.2d00185 to
69238e6
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 4 total unresolved issues (including 3 from previous reviews).
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: go.mod and go.work have mismatched Go versions
- I restored
go.modtogo 1.24.0and re-addedtoolchain go1.24.4, aligning it withgo.workand avoiding an unintended minimum Go version bump.
- I restored
Or push these changes by commenting:
@cursor push be43d11612
Preview (be43d11612)
diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,9 @@
module github.com/grafana/alerting
-go 1.25.0
+go 1.24.0
+toolchain go1.24.4
+
require (
github.com/Masterminds/sprig/v3 v3.2.1
github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52bc36d4a8 to
67dd311
Compare
67dd311 to
9ffa9c0
Compare
9ffa9c0 to
a8908b4
Compare
| datasource | package | from | to | | ---------- | -------------------------- | ---------------------------------- | ---------------------------------- | | go | google.golang.org/genproto | v0.0.0-20251124214823-79d6a2a48846 | v0.0.0-20260414002931-afd174a4e478 | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
a8908b4 to
580d8d7
Compare



This PR contains the following updates:
79d6a2a→afd174aConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Need help?
You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.