Repository navigation
Conversation
for example in openeo-geopyspark-driver refs #827 Open-EO/openeo-geopyspark-driver#1104
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The cached-failure branch returns without logging, but the updated test_get_failure_shared expects a “skipping request to ... after cached failure” message in caplog.text. No existing log emits that message, so the test assertion fails.
1 open issue
What changed in this PR
Makes STAC cube-size estimation easier to reuse in backend code by allowing custom request caches.
Changes:
- Adds a minimal cache interface and dictionary-backed implementation.
- Supports injected caches and explicit cached-failure markers in the estimator, with additional tests.
- Bumps the version to
0.56.0a3.
| File | Description |
|---|---|
tests/utils/test_caching.py |
Tests cache storage, defaults, keys, and clearing. |
tests/metadata/test_estimates.py |
Tests custom caches and cached failures. |
openeo/utils/caching.py |
Defines the cache protocol, miss sentinel, and dictionary cache. |
openeo/metadata/_estimates.py |
Adds cache injection and failure markers. |
openeo/_version.py |
Advances the prerelease version. |
Review effort: Balanced
soxofaan
added a commit
to Open-EO/openeo-geopyspark-driver
that referenced
this pull request
Dec 4, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

for example in openeo-geopyspark-driver
refs #827 Open-EO/openeo-geopyspark-driver#1104
dependency for Open-EO/openeo-geopyspark-driver#2053