-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Issue Report: Go Module Dependency Resolution for vast-data/go-vast-client
Problem Description
When trying to run a Go project that imports github.com/vast-data/go-vast-client, the following error occurred:
go: github.com/vast-data/[email protected]: invalid version: unknown revision 789012345678
Root Cause
The go.mod file contained an invalid pseudo-version for the github.com/vast-data/go-vast-client dependency:
require github.com/vast-data/go-vast-client v0.0.0-20231220123456-789012345678
This version does not exist in the repository.
Solution
-
Updated the dependency version to use the latest valid commit from the repository:
require github.com/vast-data/go-vast-client v0.0.0-20250711164404-f1ac13757255 -
Upgraded Go version requirement - The dependency requires Go 1.23.8 or newer:
go 1.23.8 -
Ran
go mod tidyto download dependencies and updatego.sum
Additional Notes
- The
github.com/vast-data/go-vast-clientrepository exists and is public - The latest commit as of July 2025 is
f1ac1375725578bc657015248b1b27324a9d7139 - The dependency has several indirect dependencies that are automatically resolved
Verification
After applying the fix, the program runs successfully (though it encounters network connectivity issues with the target Vast Data system, which is a separate issue).
Files Modified
go.mod- Updated module version and Go version requirementgo.sum- Automatically updated bygo mod tidy
Metadata
Metadata
Assignees
Labels
No labels