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

Freegle / Iznik / 21646
71%

Build:
DEFAULT BRANCH: master
Ran 16 Jun 2026 03:05PM UTC
Jobs 4
Files 1288
Run time 4min
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 02:34PM UTC coverage: 70.814% (-0.2%) from 71.026%
21646

push

circleci

invalid-email-address
fix(test): seed closestPostcode sentinels in open sea so they survive a populated KNN index

The closestPostcode / findClosestPostcodeId integration tests seed a sentinel
postcode into the live spatial 'postcodes' index and assert it's returned as
nearest. They seeded at real UK cities (Aberdeen, Nottingham, Edinburgh, London),
which only works when the index is otherwise empty.

Until PR #767 the postcodes loader aborted on prod-shaped data (ST_X on a
non-point ourgeometry → "unexpected type LINESTRING"), so in CI the index built
empty and the sentinels always won. With the loader fixed, CI's spatial server
now populates 'postcodes' from a real DB, so a real postcode out-competes the
city-located sentinel:
  - LocationIdTest offset test got real id 1687432, not sentinel 99000011;
  - LocationTest got a real id absent from the *test* DB, so the by-id enrich
    returned null (assertNotNull failed).

Move every seeded sentinel + its query point into empty open sea (central North
Sea, ~lat 56.5–56.9 lng +3.0) — >300km and far past the KNN's largest
0.32°/~35km buffer from any real UK postcode. The sentinel is then unambiguously
nearest whether the index is empty or full. Verified against the live populated
index: all five points return no real postcode; seed→exact/offset KNN→remove
returns the sentinel id then clears.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

10980 of 14580 branches covered (75.31%)

Branch coverage included in aggregate %.

118915 of 168850 relevant lines covered (70.43%)

36.25 hits per line

Jobs
ID Job ID Ran Files Coverage
21646 vitest - 21646 16 Jun 2026 03:05PM UTC 703
68.69
CircleCI Job 21646
21646 go - 21646 16 Jun 2026 03:05PM UTC 136
83.01
CircleCI Job 21646
21646 laravel - 21646 16 Jun 2026 03:05PM UTC 448
67.41
CircleCI Job 21646
21646 playwright - 21646 16 Jun 2026 03:05PM UTC 70
22.96
CircleCI Job 21646
Source Files on build 21646
  • Tree
  • List 1288
  • Changed 69
  • Source Changed 0
  • Coverage Changed 69
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #21646
  • f4793ab9 on github
  • Prev Build on master (#21595)
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