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

geo-engine / geoengine / 47367591598
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-1452-e65b9d1ae9ea8a39bed582a77aef54eb6893956c
DEFAULT BRANCH: main
Ran 04 Dec 2026 04:02PM UTC
Jobs 1
Files 502
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

04 Dec 2026 03:41PM UTC coverage: 89.46% (+0.06%) from 89.404%
47367591598

push

github

web-flow
feat(backend): keep GDAL workers free while a data source rate limits reads (#1549)

* feat(backend): pause the reads of a rate limited data source in the GDAL pool

Workers retried rate limited reads on their own, each with its own
backoff, so all workers kept hitting the data source and no other read
got a worker. A worker now hands a rate limited read back to the pool
with the progress of its retries. The pool closes a gate for the data
source (host or bucket and credentials), lets one read probe it after
the pause, and opens the gate once a read gets through. Other data
sources go on meanwhile, and waiting reads get the rate limit hint.

* feat(backend): wait out short rate limits in the worker, retry longer ones per read

The domain gate of the pool did not reduce rate limits in a benchmark:
GDAL retried HTTP 429 inside each worker before the pool saw it, and
an opening gate released all waiting reads at once.

GDAL no longer retries 429 and 503 in a worker (GDAL_HTTP_RETRY_CODES).
A worker waits out a rate limit itself up to
rate_limit_wait_in_worker_seconds (default 2) and then hands the read
back to the pool, which retries it after its pause at the front of the
queue of its dataset and gives the worker to other reads meanwhile.
After a rate limit, the worker closes the dataset and clears the remote
file caches of GDAL, as GDAL 3.12 keeps a failed state of the file
otherwise.

The rate limit domain, the gate with its probe and expiry, and the
worker affinity for handed back reads are removed.

* refactor(backend): give the ids of the GDAL workers their own type

Worker ids were bare usize values next to other indices and counts in the pool.

* test(backend): benchmark reads of a rate limited data source

The range server of the benches can answer requests beyond a token
bucket with HTTP 429. The rate_limits bench reads the tiles of several
files from such a server next to the tiles of a file from one without a
limit, and prints the time, the re... (continued)

1382 of 1468 new or added lines in 8 files covered. (94.14%)

4 existing lines in 4 files now uncovered.

159258 of 178021 relevant lines covered (89.46%)

410193.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
55
13.19
0.64% geoengine/operators/src/bin/gdalsource_process_main.rs
16
97.14
0.52% geoengine/operators/src/source/gdal_worker_process/process_pool.rs
5
92.44
1.38% geoengine/operators/src/source/gdal_worker_process/throttle.rs
4
72.41
1.36% geoengine/operators/src/source/gdal_worker_process/process_common.rs
4
95.95
1.75% geoengine/operators/src/source/gdal_worker_process/process_impl.rs
2
99.46
-0.54% geoengine/operators/src/util/retry.rs

Coverage Regressions

Lines Coverage ∆ File
1
13.19
0.64% geoengine/operators/src/bin/gdalsource_process_main.rs
1
97.14
0.52% geoengine/operators/src/source/gdal_worker_process/process_pool.rs
1
96.59
-0.02% geoengine/services/src/contexts/postgres.rs
1
94.06
-0.5% geoengine/services/src/quota/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 47367591598.1 04 Dec 2026 04:02PM UTC 502
89.46
GitHub Action Run
Source Files on build 47367591598
  • Tree
  • List 502
  • Changed 11
  • Source Changed 9
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47367591598
  • efb7496f on github
  • Prev Build on gh-readonly-queue/main/pr-1534-2aca116e5451e654d0e3a698d0f32cbfb018f793 (#47367588888)
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