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

GrottoCenter / grottocenter-api / 26531098449
87%

Build:
DEFAULT BRANCH: develop
Ran 27 May 2026 06:38PM UTC
Jobs 1
Files 403
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

27 May 2026 06:36PM UTC coverage: 86.911% (+0.07%) from 86.841%
26531098449

push

github

ClemRz
fix(massif): validate polygon geometry before area computation

Closes #1606. PostGIS ST_Area() on geography type throws an unhandled
XX000 error when a polygon has invalid winding order or other geometry
issues. This caused a 500 on massif creation with complex MultiPolygons.

- Add MassifService.validatePolygon() that checks ST_IsValid and catches
  XX000 errors from ST_Area, returning user-friendly error messages
- Map PostGIS/GEOS error keywords to actionable messages via a single
  POLYGON_ERROR_MESSAGES table
- Apply validation in both create and update controllers
- Add regression tests for invalid winding order and self-intersecting
  polygons on both POST and PUT endpoints
- Add unit tests for matchPolygonError mapping function

3385 of 4041 branches covered (83.77%)

Branch coverage included in aggregate %.

30 of 31 new or added lines in 3 files covered. (96.77%)

6814 of 7694 relevant lines covered (88.56%)

54.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.7
-0.08% api/services/MassifService.js
Jobs
ID Job ID Ran Files Coverage
1 26531098449.1 27 May 2026 06:38PM UTC 403
86.91
GitHub Action Run
Source Files on build 26531098449
  • Tree
  • List 403
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26531098449
  • b29bb51c on github
  • Prev Build on develop (#26499644744)
  • Next Build on develop (#26531491536)
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