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

Freegle / Iznik / 4788 / 4788
70%
master: 70%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2026 07:55PM UTC
Files 174
Run time 8s
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

17 Apr 2026 05:56PM UTC coverage: 66.261% (+0.07%) from 66.187%
4788

push

circleci

web-flow
fix(ModLogsModal): dedupe logs on push to prevent duplicates (#196)

Reproduces Discourse 9518.181 — @Neville_Reid reported the ModLogsModal
showed the same four-row block repeated three times on the Pending
Message page.

Root cause is client-side. The server query (SELECT logs.* FROM logs
WHERE ... ORDER BY logs.id DESC LIMIT ?) has no amplifying JOIN and
pagination is exclusive (logs.id < ?) so it cannot return the same
row twice in one call. But multiple ModLogsModal / ModPostingHistory
instances on the same page share a single global Pinia store, and
rapid re-opens can run fetchChunk concurrently. Both in-flight fetches
see this.context === null, both request page 1, both push identical
rows into the shared list.

Dedupe by id on push so repeated or concurrent fetches of overlapping
pages (including a later fetch that straddles the previous context
boundary) cannot produce visible duplicates.

Two Vitest tests cover the concurrent and sequential-overlap cases.
Full suite 11794/11794 passes.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

10672 of 16106 relevant lines covered (66.26%)

15.69 hits per line

Source Files on job laravel - 4788
  • Tree
  • List 174
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4788
  • CircleCI Build #4788
  • a3d0d985 on github
  • Prev Job for on master (#4706)
  • Next Job for on master (#4849)
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