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

Freegle / Iznik / 27236
72%

Build:
DEFAULT BRANCH: master
Ran 15 Jul 2026 12:40PM UTC
Jobs 4
Files 1404
Run time 3min
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

15 Jul 2026 12:18PM UTC coverage: 72.322% (+0.009%) from 72.313%
27236

push

circleci

edwh
fix(chat): filter retry-duplicate messages on read (Discourse 9913)

A chat send goes through useFetchRetry, which retries the POST on a network
error or a 5xx - neither of which proves the write failed. If the original POST
reached the server but its response was lost, the retry inserts a SECOND, real
chat_messages row (different id, identical content). The batch
cleanup:chat-duplicates cron removes one later, but until then the sender sees
two copies of their message (Jeni's report: two copies that "disappeared" once
the cron ran).

Rather than a schema change, dedupe on read in the chat store's fetchMessages:
drop a later row when it has the SAME author and byte-identical content (message,
type, refmsgid, refchatid, imageid, addressid, modnote - not just the text, so
two genuinely-different messages that share text are never merged) AND is within
the retry window of an earlier kept row. Rows with no valid timestamp are never
deduped (the window can't be established). Covers direct member chat and the
ModTools per-room panes, which share fetchMessages.

13054 of 17205 branches covered (75.87%)

Branch coverage included in aggregate %.

59 of 59 new or added lines in 1 file covered. (100.0%)

136515 of 189604 relevant lines covered (72.0%)

37.81 hits per line

Jobs
ID Job ID Ran Files Coverage
27236 playwright - 27236 15 Jul 2026 12:41PM UTC 74
22.23
CircleCI Job 27236
27236 vitest - 27236 15 Jul 2026 12:40PM UTC 755
70.42
CircleCI Job 27236
27236 go - 27236 15 Jul 2026 12:40PM UTC 152
83.48
CircleCI Job 27236
27236 laravel - 27236 15 Jul 2026 12:40PM UTC 496
69.17
CircleCI Job 27236
Source Files on build 27236
  • Tree
  • List 1404
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #27236
  • 7f2f59f1 on github
  • Prev Build on master (#27227)
  • Next Build on master (#27245)
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