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

geo-engine / geoengine / 44079902818
88%
main: 89%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-1452-e65b9d1ae9ea8a39bed582a77aef54eb6893956c
DEFAULT BRANCH: main
Ran 17 Nov 2026 01:32PM UTC
Jobs 1
Files 481
Run time 1min
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

17 Nov 2026 12:05PM UTC coverage: 88.444% (+0.02%) from 88.426%
44079902818

push

github

web-flow
perf(backend): resolve the CRS axis order of OGC requests without PROJ (#1461)

* test(backend): record spatial reference specifications and OGC axis order

Regression baseline before caching the PROJ lookups: the specification of
EPSG:4326, 3857, 25832, 32632, 3035, 4258, 31467, ESRI:54009 and SR-ORG:81,
the UnknownSrsString errors for EPSG:2263 (feet), 3413 (south axes), 2299 and
99999, and the bbox and tuple reordering for east-north and north-east CRSs.

* perf(backend): cache spatial reference specifications in the application context

Every WMS GetMap, WCS request and OGC API tile matrix set description built
the specification of its CRS with PROJ: two PROJ contexts, two database
lookups, the projected area of use, and two process-wide proj_cleanup() calls,
about 14 ms on the actix worker per request.

`SpatialReferenceCache` (a DashMap owned by `PostgresContext`, reached through
`ApplicationContext::spatial_reference_cache`) resolves each spatial reference
once per application. It keeps successes only, so an unknown reference returns
the same error every time. It needs no eviction: it can hold at most one entry
per CRS in PROJ's database.

Remove the proj_cleanup() calls: proj_json and proj_proj_string each destroy
their own context and PJ object, which is all they allocate. proj_cleanup()
only frees process-wide state (the default context, the init and grid caches)
while other threads may be using PROJ for projections, so calling it per
request was a race, not a leak fix.

* perf(backend): look up the axis order without building the specification

WMS GetMap, WCS GetCoverage and the OGC API tile matrix set description only
need the axis order of their CRS, but built its whole specification: name,
PROJ string (a second PROJ context) and the projected area of use.

`SpatialReferenceCache::axis_order` resolves the PROJJSON only, keeps the result
per spatial reference, and returns the same axis order and the same errors as
the specification (Unkno... (continued)

374 of 413 new or added lines in 10 files covered. (90.56%)

7 existing lines in 4 files now uncovered.

143084 of 161779 relevant lines covered (88.44%)

790386.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
91.89
-1.13% geoengine/services/src/api/handlers/ogc/tms_spec.rs
5
98.11
0.63% geoengine/services/src/api/handlers/spatial_references.rs
5
87.7
0.42% geoengine/services/src/api/ogc/wcs/request.rs
1
99.51
-0.25% geoengine/services/src/api/handlers/ogc/tms.rs
1
62.08
0.24% geoengine/services/src/api/model/datatypes.rs
1
96.88
-0.02% geoengine/services/src/contexts/postgres.rs

Coverage Regressions

Lines Coverage ∆ File
2
89.3
-0.27% geoengine/operators/src/cache/shared_cache.rs
2
91.89
-1.13% geoengine/services/src/api/handlers/ogc/tms_spec.rs
2
94.55
-0.99% geoengine/services/src/quota/mod.rs
1
87.7
0.42% geoengine/services/src/api/ogc/wcs/request.rs
Jobs
ID Job ID Ran Files Coverage
1 44079902818.1 17 Nov 2026 01:32PM UTC 481
88.44
GitHub Action Run
Source Files on build 44079902818
  • Tree
  • List 481
  • Changed 18
  • Source Changed 14
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44079902818
  • 659074d1 on github
  • Prev Build on gh-readonly-queue/main/pr-1483-091f8a78c19d16357e14fcb6b8600fbbe38028ff (#44073613563)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc