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

Freegle / Iznik / 23800
72%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2026 08:31AM UTC
Jobs 2
Files 859
Run time 2min
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

28 Jun 2026 08:19AM UTC coverage: 72.364% (-0.001%) from 72.365%
23800

push

circleci

invalid-email-address
perf(stats): hoist 30-day-window stat queries out of the per-group loop

generate() ran the POST_METHOD_BREAKDOWN, MESSAGE_BREAKDOWN and
ACTIVE_USERS queries once per group, each re-scanning the full 30-day
site-wide window (~118k messages_groups rows) and re-filtering by
groupid. With ~500 groups that's ~500 identical window scans per date.

The rippled_in=0 predicate the stats fix added sits in no index, so the
optimiser drives these from messages.arrival (the whole window) rather
than the (groupid,...) index — making each per-group scan ~118k rows.
Under the daytime cron storm a single date wedged for 30+ min; the
2026-05-14..06-27 rippled_in backfill could not complete.

Fix mirrors the existing searchCounts / regenerateWeightForRange()
pattern: compute each metric once per date with GROUP BY groupid in
buildDailyContext(), then look it up per group. One windowed scan per
date instead of ~500, no new index. Verified byte-identical per-group
results vs the old queries; the three hoisted queries total ~8.5s/date.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aXkxBPEiPSJBaRMjz7opk

10742 of 12324 branches covered (87.16%)

Branch coverage included in aggregate %.

98623 of 138807 relevant lines covered (71.05%)

42.06 hits per line

Jobs
ID Job ID Ran Files Coverage
23800 go - 23800 28 Jun 2026 08:31AM UTC 141
83.82
CircleCI Job 23800
23800 vitest - 23800 28 Jun 2026 08:31AM UTC 718
69.02
CircleCI Job 23800
Source Files on build 23800
  • Tree
  • List 859
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #23800
  • 1215d4b2 on github
  • Prev Build on master (#23796)
  • Next Build on master (#23808)
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