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

hamba / avro / 18473514217
95%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2025 05:25PM UTC
Jobs 2
Files 45
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

13 Oct 2025 05:24PM UTC coverage: 94.737% (-0.4%) from 95.141%
18473514217

push

github

web-flow
feat: add SOE codecs (#514)

Avro describes a very simple Single Object Encoding in
https://avro.apache.org/docs/1.12.0/specification/#single-object-encoding-specification

Encoders put a schema fingerprint in the header, which decoders can use to look
up a schema definition for deserialization.

There are two codecs:

* soe.Codec: follows avro.Marshal/Unmarshal but adds/parses SOE header
* soe.TypedCodec: a type-safe generic version for avrogen-generated types

Both of them can encode/decode SOE, using a single schema.

Also add soe.DynamicDecoder, which has a more liberal view of types and schemas:
for each record, try to look up the associated schema from a configured
resolver, and decode anything for which a schema is found. This can be used for
full dynamic encoding of streams of records from different encoders, as long as
their schemas are available for decoding. This is similar to how the Avro Java
implementation does it.

Include a minimal in-memory schema store.

Co-authored-by: Nicholas Wiersma <nick@wiersma.co.za>

96 of 129 new or added lines in 5 files covered. (74.42%)

6264 of 6612 relevant lines covered (94.74%)

34613.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.47
soe/dynamic.go
2
92.59
soe/typed.go
4
90.0
soe/basic.go
4
81.82
soe/soe.go
21
0.0
soe/resolvers/memoryschemastore.go
Jobs
ID Job ID Ran Files Coverage
1 go-1.24 - 18473514217.1 13 Oct 2025 05:25PM UTC 45
94.74
GitHub Action Run
2 go-1.25 - 18473514217.2 13 Oct 2025 05:26PM UTC 45
94.74
GitHub Action Run
Source Files on build 18473514217
  • Tree
  • List 45
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18473514217
  • 07e49cbb on github
  • Prev Build on main (#18473181793)
  • Next Build on main (#18485517941)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc