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

Freegle / Iznik / 25298 / 25298
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2026 01:24AM UTC
Files 748
Run time 22s
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

07 Jul 2026 12:55AM UTC coverage: 70.364%. Remained the same
25298

push

circleci

invalid-email-address
fix(browse): ship reach bounding-box, not the full polygon — 64MB→45KB, fixes "no posts"

The nearby/mygroups feed selected ST_AsText(rr.polygon) as reach_wkt for every
in-reach post. The reach-gate's exact display polygons are huge (measured up to
~1.25MB of WKT each), so a single browse load serialized tens of MB - one heavy
user's feed was 64,326,257 bytes across 264 rows - and the query ran 30-52s
(apiv2 SLOW SQL log on prod). Clients timed out and showed NO posts
(discourse 9870, howiestarling@gmail.com et al). The backfill makes it worse
over time: every post it processes gains a full exact polygon.

reach_wkt is consumed only by ReachRadiusMetres (the relevance score's 'close'
term), which takes the farthest polygon vertex from the origin. The polygon's
bounding-box envelope gives that extent for ~100 bytes instead of megabytes, so
select ST_AsText(ST_Envelope(rr.polygon)) in all three arms (reach, own-posts,
mygroups). Same-user feed payload drops 64MB -> 45KB (264 rows), max row
1.25MB -> 197B, and the query returns fast.

Visibility is unchanged: the WHERE still tests ST_Contains on the FULL polygon,
so which posts appear is identical - only the score's 'close' denominator now
uses the bounding radius (a small, uniform over-estimate that just nudges
ordering). Mod reach-map endpoints that draw the real polygon are untouched.

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

12183 of 14025 branches covered (86.87%)

Branch coverage included in aggregate %.

75869 of 111113 relevant lines covered (68.28%)

34.34 hits per line

Source Files on job vitest - 25298
  • Tree
  • List 748
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25298
  • CircleCI Build #25298
  • f6c2fc3c on github
  • Prev Job for on master (#25289)
  • Next Job for on master (#25307)
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