chore(deps): update google.golang.org/genproto/googleapis/api digest to afd174a#456
Conversation
| replace google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846 | ||
|
|
||
| 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-20251222181119-0a764e51fe1b |
There was a problem hiding this comment.
Version mismatch breaks same-snapshot constraint for genproto modules
Medium Severity
The comment at lines 162-167 explicitly states that the three genproto replace directives must use "compatible versions from the same snapshot" to avoid build failures. This PR updates only google.golang.org/genproto/googleapis/api to v0.0.0-20251222181119-0a764e51fe1b (December 22 snapshot) while leaving the other two modules at v0.0.0-20251124214823-79d6a2a48846 (November 24 snapshot). This version mismatch violates the documented constraint and may cause the build compatibility issues the comment warns about.
Additional Locations (1)
d60f9d6 to
a03f20b
Compare
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
a03f20b to
da60d82
Compare
504dac0 to
2a79aba
Compare
e6afb58 to
4f71b36
Compare
4f71b36 to
33ed497
Compare
33ed497 to
a43211d
Compare
a43211d to
be64bf5
Compare
| module github.com/grafana/alerting | ||
|
|
||
| go 1.24.0 | ||
|
|
There was a problem hiding this comment.
Unintended Go version and toolchain change
High Severity
The commit changes go to 1.25.0 and removes the toolchain go1.24.4 pin even though the PR intent is a genproto digest update. This can silently switch the compiler version in CI/dev, causing new build failures or behavior differences unrelated to the dependency bump.
|
Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.
Or push these changes by commenting: Preview (04bb0b39a8)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 |
9240f76 to
93d3ddf
Compare
93d3ddf to
cea2dea
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Autofix Details
Bugbot Autofix prepared fixes for both issues found in the latest run.
- ✅ Fixed: Genproto replace directives no longer use same snapshot
- Updated the
google.golang.org/genproto/googleapis/apireplace directive to the same20251124snapshot as the other coordinated genproto replaces.
- Updated the
- ✅ Fixed: Go version in go.mod conflicts with go.work
- Reverted the
godirective ingo.modfrom1.25.0to1.24.0so the module no longer exceeds the workspace Go version.
- Reverted the
Or push these changes by commenting:
@cursor push 39fa54cfa9
Preview (39fa54cfa9)
diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/grafana/alerting
-go 1.25.0
+go 1.24.0
require (
github.com/Masterminds/sprig/v3 v3.2.1
@@ -167,4 +167,4 @@
replace google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846
-replace google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171
+replace google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20251124214823-79d6a2a48846cea2dea to
a7582c5
Compare
9e11a73 to
10a3907
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Unintentional Go minimum version bump to 1.25.0
- The updated genproto digest requires Go 1.25, so I fixed the real regression by aligning go.work to go 1.25.0 with go.mod to restore a consistent, passing setup.
Or push these changes by commenting:
@cursor push 6cecad1504
Preview (6cecad1504)
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 (
.| go 1.24.0 | ||
|
|
||
| toolchain go1.24.4 | ||
| go 1.25.0 |
There was a problem hiding this comment.
Unintentional Go minimum version bump to 1.25.0
Medium Severity
The go directive was bumped from 1.24.0 (with toolchain go1.24.4) to 1.25.0, which is a major minimum-version increase for a PR that only intends to update a genproto digest. This also creates an inconsistency with go.work, which still specifies go 1.24.4. This version bump raises the minimum Go version required by all consumers of this module and likely wasn't intentional.
9d59f6c to
3b01592
Compare
3b01592 to
4e4e011
Compare
77f120d to
b59d757
Compare
4b3a24f to
22648c1
Compare
22648c1 to
4a7b24b
Compare
4a7b24b to
0447565
Compare
…to afd174a | datasource | package | from | to | | ---------- | ----------------------------------------- | ---------------------------------- | ---------------------------------- | | go | google.golang.org/genproto/googleapis/api | 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>
0447565 to
39b0312
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.