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

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

Build:
Build:
LAST BUILD BRANCH: iglu-client-4.0.2
DEFAULT BRANCH: master
Ran 07 Mar 2024 04:39PM UTC
Files 130
Run time 11s
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

07 Mar 2024 04:20PM UTC coverage: 74.452% (+0.4%) from 74.045%
8191412055.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…

4039 of 5425 relevant lines covered (74.45%)

1.19 hits per line

Source Files on job 8191412055.1
  • Tree
  • List 0
  • Changed 42
  • Source Changed 19
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8191412055
  • 9846a2f4 on github
  • Prev Job for on switch_to_schema_violations (#8006508963.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