Skip to content

chore(deps): upgrade github.com/cenkalti/backoff to v7 - #756

Open
chimanjain wants to merge 2 commits into
theupdateframework:masterfrom
chimanjain:upgrade-backoff
Open

chore(deps): upgrade github.com/cenkalti/backoff to v7#756
chimanjain wants to merge 2 commits into
theupdateframework:masterfrom
chimanjain:upgrade-backoff

Conversation

@chimanjain

@chimanjain chimanjain commented Jul 18, 2026

Copy link
Copy Markdown

Upgrade github.com/cenkalti/backoff from v5 to v7.

Defined a type alias fetcher.RetryOption in the fetcher package and updated exported function signatures in fetcher and config packages to use this type alias instead of exposing backoff.RetryOption directly.

Copilot AI review requested due to automatic review settings July 18, 2026 13:04
@chimanjain
chimanjain requested a review from a team as a code owner July 18, 2026 13:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/backoff from v5.0.3 to v7.0.0 in go.mod/go.sum.
  • Update backoff imports in fetcher, fetcher tests, and config code to use the v7 module 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.

Comment thread metadata/config/config.go Outdated
Comment thread metadata/fetcher/fetcher.go
@chimanjain
chimanjain force-pushed the upgrade-backoff branch 2 times, most recently from 26fbecb to 49038ca Compare August 10, 2026 10:45
Signed-off-by: Chiman Jain <chimanjain15@gmail.com>
Signed-off-by: Chiman Jain <chimanjain15@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants