• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yylego / kratos-errors
79%

Build:
DEFAULT BRANCH: main
Repo Added 11 Mar 2026 06:19PM UTC
Token 0mWmJLZF8OPY6V3DeoRSGwSUC4iI0i3Lf regen
Build 11 Last
Files 8
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • refs/tags/v0.0.0
  • refs/tags/v0.0.1
  • refs/tags/v0.0.2
  • refs/tags/v0.0.3
  • refs/tags/v0.0.4

21 Nov 2026 11:19AM UTC coverage: 78.723% (+4.1%) from 74.648%
44898753972

push

github

yyle88
Keep the cause with %w when building a fault from a reason enum

- The build func follows fmt.Errorf: %w puts that fault on the result as its cause, the message reads the same as with %v
- As returns false when a Kratos fault with no value comes in as a plain one
- Add a test on the plain-to-Kratos conversion, give the generated-code test the name of its source
- Refresh dependencies, LICENSE ending, .gitignore, release workflow and README badges

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

17 of 17 new or added lines in 4 files covered. (100.0%)

111 of 141 relevant lines covered (78.72%)

8.14 hits per line

Relevant lines Covered
Build:
Build:
141 RELEVANT LINES 111 COVERED LINES
8.14 HITS PER LINE
Source Files on main
  • Tree
  • List 8
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44898753972 main Keep the cause with %w when building a fault from a reason enum - The build func follows fmt.Errorf: %w puts that fault on the result as its cause, the message reads the same as with %v - As returns false when a Kratos fault with no value comes i... push 21 Nov 2026 11:22AM UTC yyle88 github
78.72
28710295769 main Adopt buf toolchain and rename newerk package to kratoserrors Switch code generation from protoc to buf, keeping the same plugins. Rename the newerk package to kratoserrors and lift the proto package up to the module root. Trim padded comments do... push 04 Jul 2026 03:09PM UTC yyle88 github
74.65
28312246306 main upgrade protoc-gen-go-errors target to v3 - bump the Makefile command from protoc-gen-go-errors/v2 to /v3 (Kratos v3 compat) - without this fix the next make generate would put back v2 imports and break the v3 pb.go we just shipped Co-Author... push 28 Jun 2026 05:13AM UTC yyle88 github
76.47
28311887723 main fix proto3ps go_package and regen pb.go - sync proto3ps/errors/errors.proto go_package from v2 to v3 to match upstream Kratos v3.0.0 - regen errorspb.pb.go via protoc to keep generated artifact in sync with proto source Co-Authored-By: Claud... push 28 Jun 2026 04:56AM UTC yyle88 github
76.47
28311808993 main upgrade to kratos v3.0.0 with deps and template - bump go-kratos to v3.0.0 (from v2.9.2) - bump zap to v1.28.0 - update generated pb.go to import kratos/v3/errors (api stays compatible) - align CI workflow with template: upload-artifact v7, act... push 28 Jun 2026 04:53AM UTC yyle88 github
76.47
22967810650 main add kratos-errors package Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> push 11 Mar 2026 06:19PM UTC yyle88 github
76.47
See All Builds (11)

Badge your Repo: kratos-errors

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc