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

Freegle / Iznik / 24477
72%

Build:
DEFAULT BRANCH: master
Ran 03 Jul 2026 07:27AM UTC
Jobs 4
Files 1365
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

03 Jul 2026 06:58AM UTC coverage: 71.616% (+0.001%) from 71.615%
24477

push

circleci

edwh
fix(browse): hide a poster's own posts pruned from messages_spatial (expired/withdrawn)

The browse "own posts" arm (GET /isochrone/message and /message/inbounds) shows the
viewer their own recent posts regardless of reach by querying the messages table
directly. It applied the same age-based expiry My Posts uses, but not My Posts' other
active-set condition: My Posts requires spatialid IS NOT NULL (the post is still in
messages_spatial) OR the post is Pending/Rejected. So an Approved own post that had been
pruned from messages_spatial - expired, withdrawn, deleted or taken - but still had no
messages_outcomes row and an arrival within the 90-day own-posts window kept showing on
browse for the poster, even though My Posts had already hidden it.

Reported: a ~2.5-month-old "Misanthropic calendar" OFFER (gone from messages_spatial, no
outcome row) was still showing first in the poster's own Closest feed.

Fix: add the same "EXISTS in messages_spatial OR collection IN (Pending, Rejected)"
condition to the own-posts query, so a poster's own post drops off browse at the same
moment it drops off My Posts. Pending/Rejected posts are never in spatial, so those keep
showing - that's the point of this arm: the poster sees their post immediately, including
while it awaits moderation.

Test: TestBrowseOwnPrunedFromSpatialHidden - an own post removed from messages_spatial is
hidden; one still in spatial is shown; a Pending one (never in spatial) is shown. Full Go
suite green (3369 passing).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AsgvoSgfeUwBMBbxKJHSNy

12186 of 16110 branches covered (75.64%)

Branch coverage included in aggregate %.

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

2 existing lines in 1 file now uncovered.

129999 of 182428 relevant lines covered (71.26%)

37.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.0
-4.0% iznik-batch/app/Console/Commands/Mail/SendModNotifsCommand.php
Jobs
ID Job ID Ran Files Coverage
24477 laravel - 24477 03 Jul 2026 07:27AM UTC 477
68.76
CircleCI Job 24477
24477 vitest - 24477 03 Jul 2026 07:27AM UTC 743
69.33
CircleCI Job 24477
24477 playwright - 24477 03 Jul 2026 07:27AM UTC 74
22.81
CircleCI Job 24477
24477 go - 24477 03 Jul 2026 07:27AM UTC 144
83.89
CircleCI Job 24477
Source Files on build 24477
  • Tree
  • List 1365
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #24477
  • 7b3b46cd on github
  • Prev Build on master (#24463)
  • Next Build on master (#24486)
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