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

LFDT-Panurus / panurus / 41613029322 / 24
85%
main: 85%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 10:04AM UTC
Files 523
Run time 48s
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

03 Nov 2026 09:41AM UTC coverage: 35.168% (-0.01%) from 35.179%
41613029322.24

push

github

AkramBitar
fix(nfttx): return the unmarshal error from OutputStream.StateAt (#2560)

`StateAt` checked `err == nil` where it meant `err != nil`. A bad payload was
reported as success with `state` left empty, so callers acted on garbage. The
good path worked only because `errors.Wrap(nil, ...)` returns `nil`.

Three fixes:

- flip the condition;
- reject a type holding the JSON `null` literal: it unmarshals without writing
  anything, which is the same false success;
- return an error for an out-of-range index instead of panicking.

Unit tests and `FuzzStateAtNoPanic` cover all three, and the fuzz target runs
in the nightly matrix. Revert any one fix and a test fails.

`QueryByKey` in `qe.go` has the same inverted check. Left for #2561.

Fixes #2560

Signed-off-by: AkramBitar <akram@il.ibm.com>

15619 of 44413 relevant lines covered (35.17%)

77.34 hits per line

Source Files on job itest-dlog-fabric-t2 - 41613029322.24
  • Tree
  • List 523
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 41613029322
  • 6bc12285 on github
  • Prev Job for on main (#41598260020.48)
  • Next Job for on main (#41619320345.64)
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