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

umputun / remark42 / 42591310903
87%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 09:12AM UTC
Jobs 1
Files 54
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

09 Nov 2026 09:10AM UTC coverage: 85.217% (-0.1%) from 85.333%
42591310903

push

github

web-flow
Stream the user data export as one valid JSON document (#2287)

* Stream the user data export as one valid JSON document

Previously, /userdata wrote each page of 100 comments to the gzip
stream as a separate JSON array, so a user with 100 or more comments
got an invalid document. A user with no comments got a corrupt
download: the bolt store reports that case as an error, and the error
response was written into a gzip stream whose 200 status had already
been sent.

The export still streams page by page, so memory stays at one page, but
the pages now form a single comments array. The first page is read
before anything is written, so a store error there is a normal JSON
error; a failure after that is logged and leaves the gzip stream
unterminated, so a truncated export cannot look complete. A user without
comments gets their info with an empty comment list. The bolt store's
no-comments error now wraps the new engine.ErrNoUserComments sentinel
and keeps its text. The export stays bounded at 10,000 comments, and
reaching the bound is logged.

* Close the gzip readers in the user data tests

23 of 38 new or added lines in 2 files covered. (60.53%)

2 existing lines in 1 file now uncovered.

6214 of 7292 relevant lines covered (85.22%)

33.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
76.65
-1.29% backend/app/rest/api/rest_private.go

Coverage Regressions

Lines Coverage ∆ File
2
76.65
-1.29% backend/app/rest/api/rest_private.go
Jobs
ID Job ID Ran Files Coverage
1 42591310903.1 09 Nov 2026 09:12AM UTC 54
85.22
GitHub Action Run
Source Files on build 42591310903
  • Tree
  • List 54
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 44be1da8 on github
  • Prev Build on master (#42590926362)
  • Next Build on master (#42591871490)
  • 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