aws / aws/eks-anywhere

Stop using deprecated `github.com/pkg/errors` module

Open
#5,897 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

# Summary

The `github.com/pkg/errors` module is no longer supported and has been archived. Depending on archived/unsupported libraries is generally a bad practice. The only feature the package added to the standard library was collecting stack traces.

# Resolutions

1. Copy the sources from `github.com/pkg/errors` into the EKSA code base.
2. Depend on a different library.
3. Use the std lib only and accept we won't get stack traces.

Contributor guide

Open the contributing guide

Research direction

The issue does not name any files, tests, or entry points. Start by locating EKSA's uses of github.com/pkg/errors and reviewing the dependency configuration, then determine which of the three listed resolutions is accepted. Done means the archived module is no longer used and the chosen error-handling behavior is covered by the relevant existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.