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

Freegle / Iznik / 21578
71%
master: 71%

Build:
Build:
LAST BUILD BRANCH: fix/digest-summary-outlook-br-9363-31
DEFAULT BRANCH: master
Ran 16 Jun 2026 08:22AM UTC
Jobs 4
Files 1288
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

16 Jun 2026 07:53AM UTC coverage: 70.815% (-0.001%) from 70.816%
21578

Pull #767

circleci

invalid-email-address
fix(spatial): centroid postcode geometry so 2M-row load doesn't error on non-point rows

The postcodes dataset loader called ST_X/ST_Y directly on
COALESCE(ourgeometry, geometry). A handful of type='Postcode' rows carry a
non-point ourgeometry (a LINESTRING/polygon override), and ST_X only accepts a
POINT, so the whole prod load aborted with:

  Error 3516 (22S01): POINT value is a geometry of unexpected type LINESTRING in st_x.

leaving the postcodes index empty (count 0, ready false) and breaking
Location::closestPostcode / apiv2 ClosestPostcode in production. CI passed
because its seeded test postcodes are all points.

Wrap the geometry in ST_Centroid first (a POINT is its own centroid;
LINESTRING/POLYGON collapse to a representative point), matching the existing
expression in compare.go. Verified against prod: 1,961,927 postcodes load and
KNN returns the correct nearest full postcode (WC2N 5DU for Charing Cross,
M2 4NG for central Manchester, both within ~90m).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #767: fix(spatial): centroid postcode geometry so the 2M-row load doesn't error on non-point rows

10979 of 14580 branches covered (75.3%)

Branch coverage included in aggregate %.

118917 of 168850 relevant lines covered (70.43%)

36.26 hits per line

Jobs
ID Job ID Ran Files Coverage
21578 playwright - 21578 16 Jun 2026 08:22AM UTC 70
22.96
CircleCI Job 21578
21578 laravel - 21578 16 Jun 2026 08:22AM UTC 448
67.41
CircleCI Job 21578
21578 go - 21578 16 Jun 2026 08:22AM UTC 136
83.01
CircleCI Job 21578
21578 vitest - 21578 16 Jun 2026 08:22AM UTC 703
68.69
CircleCI Job 21578
Source Files on build 21578
  • Tree
  • List 1288
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #21578
  • Pull Request #767
  • PR Base - master (#21571)
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