refactor: replace juju errors with pkg errors - #1364
Merged
zhenghaoz merged 13 commits intoAug 19, 2026
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1364 +/- ##
==========================================
+ Coverage 71.97% 71.98% +0.01%
==========================================
Files 94 94
Lines 18838 18838
==========================================
+ Hits 13558 13560 +2
Misses 3846 3846
+ Partials 1434 1432 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
zhangzhenghao
force-pushed
the
refactor/replace-juju-errors
branch
from
August 18, 2026 17:14
e3fd8cb to
0e9937c
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.
Summary
github.com/juju/errorsimports withgithub.com/pkg/errorserrors.Isbehavior with package-level sentinel errors where neededgithub.com/juju/errorsdependency and checksumsVerification
go build -p 1 ./client ./master ./server ./workergo test -p 1 ./common/... ./config ./dataset ./logics ./model/... ./storage/...git diff --checkgithub.com/juju/errorsA local
go test -p 1 -timeout 30m ./...attempt could not link the largeclient.testbinary because the execution environment returneddisk quota exceeded; the affected library packages above pass and the remaining large-package coverage is delegated to CI.