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

snowplow / enrich / 8092387763 / 1
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: iglu-client-4.0.2
DEFAULT BRANCH: master
Ran 29 Feb 2024 07:37AM UTC
Files 130
Run time 3s
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

29 Feb 2024 07:18AM UTC coverage: 74.387% (+0.3%) from 74.045%
8092387763.1

Pull #883

github

benjben
Switch bad row type from EnrichmentFailures to SchemaViolations for some errors

There are 3 places that currently produce an EnrichmentFailures bad row
whereas the more appropriate type is SchemaViolations:

1. When the input fields of the HTTP requests are mapped to the atomic event.
2. When the enrichments contexts get validated.
3. When the atomic fields lengths get validated.

For 1 and 3, the error should be mapped into an Iglu ValidationError
with the atomic schema referenced.

Before this change, if there was any error in the mapping of the atomic fields,
a bad row would get emitted right away and we would not try to validate
the entities and unstruct event. Now all these errors are wrapped inside
a same SchemaViolations bad row.

Likewise, before this change when an enrichment context was invalid,
we were emitting a bad row right away and not checking the lengths of
the atomic fields. Now all these errors are wrapped inside a same
SchemaViolations bad row.
Pull Request #883: Switch bad row type from EnrichmentFailures to SchemaViolations for s…

4034 of 5423 relevant lines covered (74.39%)

1.19 hits per line

Source Files on job 8092387763.1
  • Tree
  • List 0
  • Changed 42
  • Source Changed 18
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8092387763
  • ab308617 on github
  • Prev Job for on switch_to_schema_violations (#8006508963.1)
  • Next Job for on switch_to_schema_violations (#8154050413.1)
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