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

geo-engine / geoengine / 43263792407
89%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 05:35PM UTC
Jobs 1
Files 480
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

12 Nov 2026 03:50PM UTC coverage: 88.294% (+0.2%) from 88.129%
43263792407

push

github

web-flow
perf(backend): read GDAL sources through cached file blocks (#1422)

* feat(backend): run concurrent reads of one key once

SingleRead<K, V> runs a read once for all concurrent callers with the same key,
e.g. callers that miss the same cache entry, instead of each reading and
inserting the value. It runs in its own task, so a cancelled caller does not
fail the others. The task is aborted once all callers are gone, so that the
GDAL pool can drop the queued read of an aborted query instead of reading it
before the visible tiles. File block reads of the GDAL sources are its first
user.

* perf(backend): cache only the output tiles of a processing graph by default

With the new raster cache, every raster operator was wrapped, so every
intermediate tile was compressed and stored. `[cache] raster_levels`
selects "outputs" (default, the root operator) or "all" (as before).

* refactor(backend): one read path for the GDAL sources

GdalSource and MultiBandGdalSource read through the same code: a tile plan
names the files of one output tile, `assemble_tile` reads and composes
them (highest z-index first, skipping files whose area is already valid),
and `tile_stream` drives the plans with bounded read-ahead. The two
duplicate readers are removed.

* feat(backend): level reads and band levels in the GDAL worker

- `GdalReadKind::Level { factor }` reads a window of the level `factor`
  times coarser than the full resolution at native size; a missing level
  is an error, never a resampled read.
- `RasterInfo` has the size and block size of every level.
- The pool joins concurrent reads only if the full request matches, not
  just its hash, which leaves out e.g. the properties mapping.

* feat(backend): read only the overview levels a dataset declares

Source datasets declare the power-of-two overview levels every file has
(`SpatialGridDescriptor.maxOverviewLevel`, migration 0039; unset for
existing datasets, which keep GDAL's choice). Pixel i of level f covers
the ... (continued)

2021 of 2127 new or added lines in 32 files covered. (95.02%)

7 existing lines in 4 files now uncovered.

140811 of 159480 relevant lines covered (88.29%)

526531.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
94.73
geoengine/operators/src/source/gdal_read/blocks.rs
13
97.74
geoengine/operators/src/source/gdal_read/mod.rs
11
87.93
1.25% geoengine/operators/src/cache/new_raster_cache/mod.rs
8
0.0
0.0% geoengine/services/src/cli/tile_import.rs
7
93.97
geoengine/operators/src/cache/single_read.rs
6
94.74
0.47% geoengine/operators/src/source/gdal_worker_process/process_impl.rs
6
96.64
3.32% geoengine/operators/src/source/multi_band_gdal_source/mod.rs
5
13.16
-0.3% geoengine/operators/src/bin/gdalsource_process_main.rs
5
97.33
5.82% geoengine/operators/src/source/gdal_source/mod.rs
5
96.33
0.02% geoengine/operators/src/source/gdal_worker_process/process_pool.rs
4
96.18
-0.08% geoengine/services/src/api/handlers/datasets.rs
4
66.0
0.29% geoengine/services/src/contexts/mod.rs
2
81.57
0.34% geoengine/operators/src/engine/result_descriptor.rs
2
96.9
0.08% geoengine/services/src/contexts/postgres.rs
1
64.27
1.77% geoengine/operators/src/engine/execution_context.rs
1
96.09
8.74% geoengine/operators/src/source/gdal_worker_process/reader.rs

Coverage Regressions

Lines Coverage ∆ File
3
66.78
2.9% geoengine/operators/src/source/gdal_worker_process/process_common.rs
2
89.3
-0.27% geoengine/operators/src/cache/shared_cache.rs
1
66.0
0.29% geoengine/services/src/contexts/mod.rs
1
96.9
0.08% geoengine/services/src/contexts/postgres.rs
Jobs
ID Job ID Ran Files Coverage
1 43263792407.1 12 Nov 2026 05:35PM UTC 480
88.29
GitHub Action Run
Source Files on build 43263792407
  • Tree
  • List 480
  • Changed 34
  • Source Changed 31
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43263792407
  • d62be128 on github
  • Prev Build on gh-readonly-queue/main/pr-1405-c43a3b18819d03f9b4fd37b79a06aa6bf9653af2 (#43246572400)
  • Next Build on main (#43315542644)
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