Skip to content

Go Module Dependency Resolution for vast-data/go-vast-client #5

@raymondbernard

Description

@raymondbernard

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

  1. 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
    
  2. Upgraded Go version requirement - The dependency requires Go 1.23.8 or newer:

    go 1.23.8
    
  3. Ran go mod tidy to download dependencies and update go.sum

Additional Notes

  • The github.com/vast-data/go-vast-client repository 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 requirement
  • go.sum - Automatically updated by go mod tidy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions