Skip to content

Conversation

wy65701436
Copy link
Contributor

Fixes #22257

Add support for SKIP_LOG_AUDIT_DATABASE env to control audit log database storage during Harbor initialization.

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.

Fixes goharbor#22257

Add support for SKIP_LOG_AUDIT_DATABASE env to control audit log database storage during Harbor initialization.

Signed-off-by: wang yan <[email protected]>
Copy link

codecov bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 15.94203% with 58 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release-2.14.0@27b26e2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/core/main.go 0.00% 30 Missing ⚠️
src/pkg/config/db/dao/dao.go 0.00% 11 Missing ⚠️
src/pkg/config/db/db.go 0.00% 11 Missing ⚠️
src/pkg/config/db/cache.go 0.00% 2 Missing ⚠️
src/pkg/config/inmemory/manager.go 0.00% 2 Missing ⚠️
src/pkg/config/rest/rest.go 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##             release-2.14.0   #22469   +/-   ##
=================================================
  Coverage                  ?   65.86%           
=================================================
  Files                     ?     1073           
  Lines                     ?   116087           
  Branches                  ?     2931           
=================================================
  Hits                      ?    76457           
  Misses                    ?    35393           
  Partials                  ?     4237           
Flag Coverage Δ
unittests 65.86% <15.94%> (?)

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

Files with missing lines Coverage Δ
src/lib/config/config.go 86.04% <ø> (ø)
src/pkg/config/manager.go 46.09% <100.00%> (ø)
src/pkg/config/store/store.go 65.62% <100.00%> (ø)
src/pkg/config/db/cache.go 59.25% <0.00%> (ø)
src/pkg/config/inmemory/manager.go 63.63% <0.00%> (ø)
src/pkg/config/rest/rest.go 61.90% <0.00%> (ø)
src/pkg/config/db/dao/dao.go 44.23% <0.00%> (ø)
src/pkg/config/db/db.go 44.23% <0.00%> (ø)
src/core/main.go 0.00% <0.00%> (ø)
🚀 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.

Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@MinerYang MinerYang left a comment

Choose a reason for hiding this comment

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

lgtm

@wy65701436 wy65701436 merged commit a5d598b into goharbor:release-2.14.0 Oct 17, 2025
13 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