Skip to content

Missing Git tags for contrib submodules (contrib/otel/v3, contrib/encoding/json/v3, contrib/registry/kubernetes/v3) #3846

Description

@dagehuifei

What happened:

After upgrading to github.com/go-kratos/kratos/v3 v3.0.0, go mod tidy fails to resolve the contrib submodules. The contrib directories have their own go.mod files (making them separate Go modules), but no corresponding Git tags were created for them.

What you expected to happen:

go mod tidy should resolve contrib submodules at v3.0.0 without errors.

current:
replace (
github.com/go-kratos/kratos/contrib/encoding/json/v3 => github.com/go-kratos/kratos/contrib/encoding/json/v3 v3.0.0-20260621094049-2726761cdd77
github.com/go-kratos/kratos/contrib/otel/v3 => github.com/go-kratos/kratos/contrib/otel/v3 v3.0.0-20260621094049-2726761cdd77
github.com/go-kratos/kratos/contrib/registry/kubernetes/v3 => github.com/go-kratos/kratos/contrib/registry/kubernetes/v3 v3.0.0-20260621094049-2726761cdd77
)

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

git tag contrib/otel/v3/v3.0.0
git tag contrib/encoding/json/v3/v3.0.0
git tag contrib/registry/kubernetes/v3/v3.0.0
git push origin contrib/otel/v3/v3.0.0 contrib/encoding/json/v3/v3.0.0 contrib/registry/kubernetes/v3/v3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions