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

umputun / remark42 / 28705580352
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/alter-comment-n1
DEFAULT BRANCH: master
Ran 04 Jul 2026 12:05PM UTC
Jobs 1
Files 53
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 12:01PM UTC coverage: 84.458% (+0.03%) from 84.427%
28705580352

Pull #2109

github

paskal
Cache per-user flag lookups in comment listings

alterComment issued two engine.Flag calls (Blocked, then Verified) for
every comment, so a listing of N comments triggered up to 2N BoltDB read
transactions even when many comments shared the same author. Find,
FindSince, User and Last all funnel through it.

Add a userFlagCache that memoises blocked/verified results by site and
user for the duration of a single listing, so repeated authors are
looked up once. alterComment keeps its signature for single-comment
callers (Get) by using a fresh cache; the batch paths share one.
Pull Request #2109: Cache per-user flag lookups in comment listings

35 of 37 new or added lines in 1 file covered. (94.59%)

6434 of 7618 relevant lines covered (84.46%)

36.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.02
0.03% backend/app/store/service/service.go
Jobs
ID Job ID Ran Files Coverage
1 28705580352.1 04 Jul 2026 12:05PM UTC 53
84.46
GitHub Action Run
Source Files on build 28705580352
  • Tree
  • List 53
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2109
  • PR Base - master (#28682486334)
  • Delete
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