Skip to content

(cherry-pick) Upgrade harbor go.mod OSS packages#23328

Merged
stonezdj merged 1 commit into
goharbor:release-2.15.0from
stonezdj:2.15_cherry-pick-golang-upgrade
Jun 8, 2026
Merged

(cherry-pick) Upgrade harbor go.mod OSS packages#23328
stonezdj merged 1 commit into
goharbor:release-2.15.0from
stonezdj:2.15_cherry-pick-golang-upgrade

Conversation

@stonezdj

@stonezdj stonezdj commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Upgrade AWS sdk to v2 version
upgrade jackc/pgx/v4 to jackc/pgx/v5
Remove dependency to github.com/pkg/errors
Other OSS packages

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

  Upgrade AWS sdk to v2 version
  upgrade jackc/pgx/v4 to jackc/pgx/v5
  Remove dependency to github.com/pkg/errors
  Other OSS packages

Signed-off-by: stonezdj <[email protected]>
@stonezdj
stonezdj requested a review from a team as a code owner June 8, 2026 02:01
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 51.11111% with 22 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release-2.15.0@38530e5). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/pkg/reg/adapter/awsecr/adapter.go 33.33% 10 Missing ⚠️
src/pkg/reg/adapter/awsecr/auth.go 68.00% 6 Missing and 2 partials ⚠️
src/pkg/p2p/preheat/provider/preheat_image.go 0.00% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##             release-2.15.0   #23328   +/-   ##
=================================================
  Coverage                  ?   65.97%           
=================================================
  Files                     ?     1074           
  Lines                     ?   116753           
  Branches                  ?     2952           
=================================================
  Hits                      ?    77023           
  Misses                    ?    35452           
  Partials                  ?     4278           
Flag Coverage Δ
unittests 65.97% <51.11%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/cmd/exporter/main.go 0.00% <ø> (ø)
src/common/dao/pgsql.go 68.04% <100.00%> (ø)
src/lib/orm/error.go 95.65% <ø> (ø)
src/pkg/p2p/preheat/provider/preheat_image.go 27.58% <0.00%> (ø)
src/pkg/reg/adapter/awsecr/auth.go 67.64% <68.00%> (ø)
src/pkg/reg/adapter/awsecr/adapter.go 66.03% <33.33%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wy65701436 wy65701436 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@wy65701436 wy65701436 added the release-note/update Update or Fix label Jun 8, 2026
@stonezdj stonezdj changed the title Upgrade harbor go.mod OSS packages (cherry-pick) Upgrade harbor go.mod OSS packages Jun 8, 2026
@stonezdj
stonezdj enabled auto-merge (squash) June 8, 2026 06:24

@chlins chlins left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@stonezdj
stonezdj merged commit a4027b1 into goharbor:release-2.15.0 Jun 8, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants