Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ require (
golang.org/x/sys v0.42.0 // indirect
golang.org/x/text v0.35.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 // indirect
google.golang.org/genproto/googleapis/rpc 87f3d3e198d3 // indirect

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | πŸ”΄ Critical | ⚑ Quick win

Invalid pseudo-version syntax on google.golang.org/genproto/googleapis/rpc.

Line 150 is missing the required pseudo-version prefix. Go modules demand the format v0.0.0-YYYYMMDDHHMMSS-commithash. The current entry 87f3d3e198d3 is a bare commit hash and will fail go mod operations.

The old version follows the correct format: v0.0.0-20260401024825-9d38bb4040a9. The update must restore this structure with the appropriate timestamp for commit 87f3d3e198d3.

Required fix: Restore pseudo-version prefix
-	google.golang.org/genproto/googleapis/rpc 87f3d3e198d3 // indirect
+	google.golang.org/genproto/googleapis/rpc v0.0.0-YYYYMMDDHHMMSS-87f3d3e198d3 // indirect

Replace YYYYMMDDHHMMSS with the actual commit timestamp for hash 87f3d3e198d3 from the google-genproto repository. Run go get -m google.golang.org/genproto/googleapis/rpc@87f3d3e198d3 to auto-resolve the correct pseudo-version.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@go.mod` at line 150, The go.mod file has an invalid pseudo-version entry for
the module google.golang.org/genproto/googleapis/rpc. The current entry uses
only a bare commit hash (87f3d3e198d3) instead of the required Go pseudo-version
format (v0.0.0-YYYYMMDDHHMMSS-commithash). To fix this, run the command go get
-m google.golang.org/genproto/googleapis/rpc@87f3d3e198d3 which will
automatically resolve and update the dependency to the correct pseudo-version
format with the proper timestamp for that commit hash.

Source: Coding guidelines

google.golang.org/grpc v1.80.0 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down