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

dgraph-io / dgraph / 5874758572
66%

Build:
DEFAULT BRANCH: main
Ran 16 Aug 2023 05:42AM UTC
Jobs 1
Files 250
Run time 6s
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

16 Aug 2023 04:47AM UTC coverage: 67.279% (-0.1%) from 67.404%
5874758572

push

web-flow
fix(cdc): skip bad events in CDC (#8076)

A CDC event can return an error during JSON marshalling like the
following. This change skips these events from being sent to CDC.

2021/10/12 21:58:11 json: error calling MarshalJSON for type time.Time:
Time.MarshalJSON: year outside of range [0,9999]

    github.com/dgraph-io/dgraph/x.Check
        /ext-go/1/src/github.com/dgraph-io/dgraph/x/error.go:42
    github.com/dgraph-io/dgraph/worker.(*CDC).processCDCEvents.func1
        /ext-go/1/src/github.com/dgraph-io/dgraph/worker/cdc_ee.go:207
    github.com/dgraph-io/dgraph/worker.(*CDC).processCDCEvents.func2
        /ext-go/1/src/github.com/dgraph-io/dgraph/worker/cdc_ee.go:295
    github.com/dgraph-io/dgraph/worker.(*CDC).processCDCEvents.func3
        /ext-go/1/src/github.com/dgraph-io/dgraph/worker/cdc_ee.go:331
    github.com/dgraph-io/dgraph/worker.(*CDC).processCDCEvents
        /ext-go/1/src/github.com/dgraph-io/dgraph/worker/cdc_ee.go:351
    runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1371

Co-authored-by: Aman Mangal <aman@dgraph.io>

7 of 7 new or added lines in 1 file covered. (100.0%)

58593 of 87089 relevant lines covered (67.28%)

2234806.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5874758572.1 16 Aug 2023 05:42AM UTC 0
67.28
Source Files on build 5874758572
Detailed source file information is not available for this build.
  • Back to Repo
  • 2bc63f94 on github
  • Prev Build on main (#5874430184)
  • Next Build on main (#5876059410)
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