Skip to content

Address Archived Dependencies #21270

@ahrtr

Description

@ahrtr

What would you like to be added?

Priority 2: Address Archived Dependencies

  • Replace github.com/opentracing/opentracing-go — Medium risk. The OpenTracing project is archived and fully merged into OpenTelemetry. Migrate any remaining OpenTracing usage to OTel.

  • Replace github.com/pkg/errors — Medium risk. Migrate to fmt.Errorf with %w. Etcd is using v0.8.1 (not even the latest archived version v0.9.1).

  • Replace github.com/json-iterator/go — Medium risk. Evaluate whether standard encoding/json suffices or wait for Go 1.25's encoding/json/v2.

  • Remove github.com/golang/mock — Already replaced by go.uber.org/mock in active code, but still in go.sum. Clean up the reference.

Refer to https://gist.github.com/dims/20fa8ab4fb1bbeef470d96228753677f#priority-2-address-archived-dependencies

cc @dims

Why is this needed?

follow best practice

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions