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

Freegle / Iznik / 25218
73%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 03:15PM UTC
Jobs 4
Files 1373
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

06 Jul 2026 02:46PM UTC coverage: 72.443%. First build
25218

push

circleci

invalid-email-address
fix(fromcountry): populate messages.fromcountry on web + email posts

fromcountry (fromip geocoded to a country) drives the ModTools
"different country" warning in MessageHistory.vue, but nothing has
populated it since posting moved off V1: the Go web-submit path and the
Laravel incoming-mail path both stored fromip only.

Go (web/API posts): embed GeoLite2-Country.mmdb in the apiv2 binary and
add utils.CountryCodeForIP; SubmitMessage now stores the ISO code (NULL
when unresolved). Embedding means the lookup works on the prod DB nodes
with no separate mmdb to ship. GEOIP_MMDB_PATH overrides for a fresher db.

Laravel (email posts): the geoip2 package was never added when the mail
path moved to Laravel, so the country blocklist was a silent no-op too.
Add geoip2/geoip2 + a bundled mmdb (resources/geoip, config default),
expose SpamCheckService::lookupIPCountryCode, and store fromcountry on
the group-post insert. readGeoIPCountry now catches \Throwable so a
missing package/db degrades to NULL rather than fataling the pipeline.

The read path already expands the 2-letter code to a full name for
display, so no reader changes are needed.

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

12748 of 16817 branches covered (75.8%)

Branch coverage included in aggregate %.

36 of 48 new or added lines in 4 files covered. (75.0%)

132893 of 184224 relevant lines covered (72.14%)

38.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
80.65
iznik-server-go/utils/geoip.go
4
81.58
iznik-batch/app/Services/Mail/Incoming/SpamCheckService.php
2
87.53
iznik-server-go/message/message.go
Jobs
ID Job ID Ran Files Coverage
25218 go - 25218 06 Jul 2026 03:15PM UTC 146
84.22
CircleCI Job 25218
25218 playwright - 25218 06 Jul 2026 03:15PM UTC 74
22.56
CircleCI Job 25218
25218 vitest - 25218 06 Jul 2026 03:15PM UTC 748
70.35
CircleCI Job 25218
25218 laravel - 25218 06 Jul 2026 03:15PM UTC 478
69.43
CircleCI Job 25218
Source Files on build 25218
  • Tree
  • List 1373
  • 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 #25218
  • a886feaf on github
  • Prev Build on master (#25201)
  • Next Build on master (#25249)
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