chore(deps): update google.golang.org/genproto/googleapis/api digest to a57be14#456
Conversation
go.mod
Outdated
| 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.
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-79d6a2a48846| 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-20260226221140-a57be14db171 |
There was a problem hiding this comment.
Genproto replace directives no longer use same snapshot
High Severity
The comment at lines 160–165 explicitly states these three replace directives must pin genproto modules to "compatible versions from the same snapshot." After this change, googleapis/api is pinned to the 20260226 snapshot (a57be14db171) while genproto and googleapis/rpc remain pinned to the 20251124 snapshot (79d6a2a48846). This version skew between coordinated replace directives can cause build failures or runtime incompatibilities due to mismatched protobuf definitions.
Additional Locations (1)
| go 1.24.0 | ||
|
|
||
| toolchain go1.24.4 | ||
| go 1.25.0 |
There was a problem hiding this comment.
Go version in go.mod conflicts with go.work
Medium Severity
The go directive was bumped from 1.24.0 to 1.25.0, but the workspace file go.work still declares go 1.24.4. When a module in a workspace requires a higher Go version than go.work, Go can error with "module . listed in go.work file requires go >= 1.25.0, but go.work lists go 1.24.4" (depending on GOTOOLCHAIN setting). This mismatch was likely an unintended side effect of Renovate running go mod tidy with a Go 1.25 toolchain.
cea2dea to
a7582c5
Compare
…to a57be14 | datasource | package | from | to | | ---------- | ----------------------------------------- | ---------------------------------- | ---------------------------------- | | go | google.golang.org/genproto/googleapis/api | v0.0.0-20251124214823-79d6a2a48846 | v0.0.0-20260226221140-a57be14db171 | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
a7582c5 to
683ea0f
Compare



This PR contains the following updates:
79d6a2a→a57be14Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.