Skip to content
Closed
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 @@ -136,7 +136,7 @@ require (
golang.org/x/time v0.14.0 // indirect
google.golang.org/api v0.266.0 // indirect
google.golang.org/genproto v0.0.0-20260209200024-4cfbd4190f57 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect
google.golang.org/genproto/googleapis/api 3dc84a4a5aaa // 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 Go module version syntax.

Line 139 is missing the v0.0.0- prefix and timestamp required for Go pseudo-versions. Current format 3dc84a4a5aaa will cause go mod commands to fail.

Expected format: v0.0.0-YYYYMMDDHHMMSS-3dc84a4a5aaa

Run this script to validate the syntax and retrieve the correct pseudo-version:

#!/bin/bash
# Validate go.mod syntax and find correct version

# Check if go.mod is valid
go mod verify 2>&1 || true

# Try to tidy and see what version Go resolves
cp go.mod go.mod.backup
go mod tidy 2>&1 || true
if [ $? -eq 0 ]; then
  echo "=== Corrected version from go mod tidy ==="
  grep "google.golang.org/genproto/googleapis/api" go.mod
fi
mv go.mod.backup go.mod

# Query the module proxy for the commit
echo "=== Querying module proxy for commit 3dc84a4a5aaa ==="
curl -s "https://proxy.golang.org/google.golang.org/genproto/googleapis/api/@v/list" | tail -5

As per coding guidelines, ensure bingo get is run before validation per HyperFleet standards for Go-module dependency updates.

πŸ€– 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 139, The go.mod entry for module
google.golang.org/genproto/googleapis/api uses an invalid pseudo-version
"3dc84a4a5aaa"; replace it with the full Go pseudo-version format
v0.0.0-YYYYMMDDHHMMSS-3dc84a4a5aaa by querying the module proxy or running go
mod tidy to resolve the correct timestamped pseudo-version for commit
3dc84a4a5aaa, update the line referencing
google.golang.org/genproto/googleapis/api accordingly, then run the repository's
standard bingo get and go mod tidy/verify to ensure the corrected version is
accepted.

google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 // indirect
google.golang.org/grpc v1.80.0 // indirect
google.golang.org/protobuf v1.36.11 // indirect
Expand Down