etcd-io / etcd-io/etcd

Address Archived Dependencies

Open
#21,270 3 comments 0 reactions 1 assignee View on GitHub

@pjsharath28 is already working on this.

Since Feb 9, 2026.

stage/tracked type/feature
Dominant language
Go
Stars
52.3k
Forks
10.5k
Avg merge
3d 3h
Merged PRs (30d)
42

Description

### 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.