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

ory / herodot / 43066526614
73%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2026 05:17PM UTC
Jobs 1
Files 34
Run time 1min
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

11 Nov 2026 05:16PM UTC coverage: 72.885% (+8.5%) from 64.427%
43066526614

push

github

web-flow
feat: add herodot v2 with standardized errors (#146)

Add the github.com/ory/herodot/v2 module, which implements the
"Standardized errors across Ory services" design: errors identified by
a domain and a reason from a reviewed proto catalog, classified by a
closed, transport-neutral code table, and rendered in the AIP-193
shape over HTTP and gRPC.

- herodot: Code, Definition, Error, Annotate, From and DebugInfo.
  Identity is (domain, reason); messages are fixed per reason.
- httperr and grpcerr: render errors, and decode errors received from
  other services. gRPC carries refined codes in a CodeInfo detail.
- protoc-gen-herodot: generates Go, JSON, TypeScript, Markdown and
  OpenAPI from catalogs, and the code table from herodot.proto.
- herodot v1: Legacy bridges DefaultError to v2 errors, with
  recorders that shadow the v2 rendering of legacy responses.
- Releases tag v1 and v2 in one commit, with precomputed go.sum
  lines, through the Release workflow.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

1059 of 1338 new or added lines in 19 files covered. (79.15%)

1895 of 2600 relevant lines covered (72.88%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
204
0.0
v2/internal/herodotpb/herodot.pb.go
25
59.68
v2/cmd/protoc-gen-herodot/main.go
15
84.85
v2/cmd/protoc-gen-herodot/codes.go
6
91.78
v2/httperr/decode.go
5
91.38
recorder.go
5
94.05
v2/from.go
4
97.77
v2/cmd/protoc-gen-herodot/output.go
4
96.19
v2/grpcerr/grpcerr.go
3
98.08
v2/cmd/protoc-gen-herodot/catalog.go
3
94.12
v2/httperr/httperr.go
2
89.47
v2/options.go
1
77.27
6.68% grpc_unwrap_interceptors.go
1
98.9
legacy.go
1
94.74
v2/debug.go
Jobs
ID Job ID Ran Files Coverage
1 43066526614.1 11 Nov 2026 05:17PM UTC 34
72.88
GitHub Action Run
Source Files on build 43066526614
  • Tree
  • List 34
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 997bd9d6 on github
  • Prev Build on master (#36704750104)
  • Next Build on master (#43066693328)
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