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

enetx / g / 28710015244
91%

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2026 03:02PM UTC
Jobs 1
Files 58
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

04 Jul 2026 02:56PM UTC coverage: 90.55% (-0.2%) from 90.774%
28710015244

push

github

enetx
feat!: SeqResult lazy transformers are consumer-driven on Err

Map, Filter, Exclude, Dedup, Unique, Skip, StepBy, Take, Chain, Intersperse,
Inspect, Scan, and FlatMap no longer terminate the sequence at the first Err:
the Err is yielded downstream like any other element and the source keeps
iterating for as long as the consumer keeps accepting values. Previously the
transformer itself returned false after yielding an Err, so a single transient
error silently truncated the rest of the stream even when the consumer wanted
to skip it.

Fail-fast is now exclusively the consumer's choice, matching the Rust idiom
(itertools map_ok/filter_ok + try_* terminals):
- break on the Err element (yield returns false), or
- use the short-circuiting terminals — TryCollect, Fold, Reduce, All, Any,
  First, Find, Nth — whose behavior is unchanged.

Err elements stay transparent to transformer logic: Take/Skip count only Ok
elements, Dedup/Unique exclude Err from comparison state, Intersperse emits no
separator around an Err.

Tests: new result_iter_errcont_test.go covers continuation for all 13
transformers plus guards locking consumer-break and TryCollect fail-fast; the
two tests that encoded the old terminate-on-Err contract (FlatMap cross-type,
ErrSeq Chain) now assert both sides — continuation under a continuing consumer
and fail-fast under a breaking one.

12 of 13 new or added lines in 1 file covered. (92.31%)

18 existing lines in 1 file now uncovered.

6276 of 6931 relevant lines covered (90.55%)

9884.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.74
0.78% result_iter.go

Coverage Regressions

Lines Coverage ∆ File
18
81.9
-3.97% slice.go
Jobs
ID Job ID Ran Files Coverage
1 28710015244.1 04 Jul 2026 03:02PM UTC 58
90.55
GitHub Action Run
Source Files on build 28710015244
  • Tree
  • List 58
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 704bfcf1 on github
  • Prev Build on refs/tags/v1.0.226 (#28683979821)
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