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

sgerrand / ex_granola / 33779448846
100%

Build:
DEFAULT BRANCH: main
Ran 03 Sep 2026 04:34PM UTC
Jobs 1
Files 3
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

03 Sep 2026 04:34PM UTC coverage: 100.0%. Remained the same
33779448846

push

github

web-flow
fix: silence Req deprecation and stop Notes.stream/2 looping (#34)

* fix: replace deprecated :decode_json with :decoders

Req 0.7.0 deprecated :decode_json, so every request emitted a deprecation
warning. The replacement is a custom decoder function:

    decoders: [json: &Jason.decode(&1, keys: :atoms)]

Decoding behaviour is unchanged - responses still come back with atom keys.

This needs the :decoders option, added in Req 0.6.0, so the requirement moves
from ~> 0.5 to ~> 0.7. The floor has to clear 0.6.0 in any case: every release
up to and including it is affected by GHSA-655f-mp8p-96gv (HIGH), a
decompression bomb denial of service, fixed in 0.6.1. The old ~> 0.5 range
allowed the whole affected span.

Jason becomes an explicit dependency rather than one inherited from req, since
the decoder now calls it directly. Req 0.8 drops jason, so relying on it
transitively would break there.

* fix: stop Notes.stream/2 looping when the cursor is missing

A response with hasMore: true and a nil cursor made stream/2 request the
first page again, forever, growing the accumulator on every pass. Requiring
the cursor to be a binary falls through to the halting clause instead, so the
stream ends after the pages it did get.

The regression test hangs until the timeout without the guard.

2 of 2 new or added lines in 2 files covered. (100.0%)

27 of 27 relevant lines covered (100.0%)

4.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33779448846.1 03 Sep 2026 04:34PM UTC 3
100.0
GitHub Action Run
Source Files on build 33779448846
  • Tree
  • List 3
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33779448846
  • 42316002 on github
  • Prev Build on main (#33769522432)
  • Next Build on main (#33894672907)
  • Delete
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