chore(deps): upgrade github.com/cenkalti/backoff to v7 - #756
Open
chimanjain wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades the github.com/cenkalti/backoff dependency from v5 to v7 across the metadata fetcher/config packages, updating imports and module metadata accordingly.
Changes:
- Bump
github.com/cenkalti/backofffromv5.0.3tov7.0.0ingo.mod/go.sum. - Update
backoffimports in fetcher, fetcher tests, and config code to use thev7module path.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| metadata/fetcher/fetcher.go | Switch backoff import to /v7 for fetch retry logic. |
| metadata/fetcher/fetcher_test.go | Update test import to /v7 to match production code. |
| metadata/config/config.go | Switch backoff import to /v7 for retry configuration API. |
| go.mod | Require github.com/cenkalti/backoff/v7 v7.0.0. |
| go.sum | Update sums for github.com/cenkalti/backoff/v7 v7.0.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
chimanjain
force-pushed
the
upgrade-backoff
branch
2 times, most recently
from
August 10, 2026 10:45
26fbecb to
49038ca
Compare
Signed-off-by: Chiman Jain <chimanjain15@gmail.com>
Signed-off-by: Chiman Jain <chimanjain15@gmail.com>
chimanjain
force-pushed
the
upgrade-backoff
branch
from
August 29, 2026 08:22
49038ca to
1680d59
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade
github.com/cenkalti/backofffromv5tov7.Defined a type alias
fetcher.RetryOptionin thefetcherpackage and updated exported function signatures in fetcher and config packages to use this type alias instead of exposingbackoff.RetryOptiondirectly.