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

Freegle / Iznik / 27048
72%
master: 72%

Build:
Build:
LAST BUILD BRANCH: feature/paypal-giving-fund-favourite
DEFAULT BRANCH: master
Ran 14 Jul 2026 12:41AM UTC
Jobs 4
Files 1404
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

14 Jul 2026 12:18AM UTC coverage: 72.299%. First build
27048

Pull #1066

circleci

edwh
fix(message): re-derive locationid from lat/lng on PATCH so TN postcode edits stick

PATCH /message (and /message/tn/:tnpostid) applied req.Lat/req.Lng to messages.lat/lng
but never touched messages.locationid. Both the subject-line reconstruction
(constructLocationString) and the owner/mod-facing location display always prefer
locationid over raw lat/lng, so a TN edit that only supplies corrected coordinates left
the postcode pinned to whatever locationid was set before the edit - appearing to
"revert" and staying stuck no matter how many times the coordinates were corrected
(Discourse 9908).

resolvePatchLocationID keeps locationid in sync with lat/lng when the caller (partner
integrations like Trash Nothing, which have no concept of Freegle location IDs) supplies
coordinates without an explicit locationid, using the same nearest-postcode lookup
already used by the read path and TN mail ingestion. An explicit locationid still wins.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #1066: fix(message): re-derive locationid from lat/lng on PATCH so TN postcode edits stick

13006 of 17141 branches covered (75.88%)

Branch coverage included in aggregate %.

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

136206 of 189241 relevant lines covered (71.97%)

37.76 hits per line

Jobs
ID Job ID Ran Files Coverage
27048 go - 27048 14 Jul 2026 12:41AM UTC 152
83.4
CircleCI Job 27048
27048 playwright - 27048 14 Jul 2026 12:41AM UTC 74
22.21
CircleCI Job 27048
27048 laravel - 27048 14 Jul 2026 12:41AM UTC 496
69.15
CircleCI Job 27048
27048 vitest - 27048 14 Jul 2026 12:41AM UTC 755
70.41
CircleCI Job 27048
Source Files on build 27048
  • Tree
  • List 1404
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #27048
  • Pull Request #1066
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