Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build locally due to missing redis/v9 revision v9.5.3 #6424

Open
martinsirbe opened this issue Jul 22, 2024 · 2 comments
Open

Unable to build locally due to missing redis/v9 revision v9.5.3 #6424

martinsirbe opened this issue Jul 22, 2024 · 2 comments

Comments

@martinsirbe
Copy link

Do you want to request a feature or report a bug?

Bug

What is the current behaviour?

Building Tyk locally fails due to an issue with the redis/v9 revision not being found.

What is the expected behaviour?

The build process should complete successfully without errors related to the redis/v9 dependency.

If the current behaviour is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  1. Clone the Tyk repository.
  2. Run go mod.
  3. The following error occurs:
    go: github.com/TykTechnologies/tyk/internal/redis imports
        github.com/redis/go-redis/v9: reading github.com/redis/go-redis/go.mod at revision v9.5.3: unknown revision v9.5.3

Which versions of Tyk are affected by this issue? Did this work in previous versions of Tyk?

This issue is present in the latest version as referenced in this commit:

tyk/go.mod

Line 82 in 1c5a54c

github.com/redis/go-redis/v9 v9.5.3

It is unclear if this issue existed in previous versions.

@titpetric
Copy link
Contributor

titpetric commented Jul 28, 2024

I can't reproduce this (I asumed go mod download in step 2):

go: github.com/TykTechnologies/tyk/internal/redis imports
    github.com/redis/go-redis/v9:
        reading github.com/redis/go-redis/go.mod at revision v9.5.3:
        unknown revision v9.5.3

what is your go env, go version, could you provide reproduce steps demonstrating the issue?

@titpetric
Copy link
Contributor

I've seen the upstream has added a go mod retraction and the git tag remains as the fallback. I don't think this is applicable anymore, and we'll be bumping to redis 9.6.1 for a future release. I'm leaving the issue open until that's done. Thank you for the heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants