Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(get): Fix from_id cache-misses #15

Merged
merged 1 commit into from
Oct 18, 2023
Merged

fix(get): Fix from_id cache-misses #15

merged 1 commit into from
Oct 18, 2023

Conversation

ketiltrout
Copy link
Member

@ketiltrout ketiltrout commented Oct 18, 2023

Fixes both get.Dataset.from_id and get.DatasetState.from_id.

I don't think these ever worked when the item was not already in the cache.

It may be related to the fact that the tests labelled ..._no_prefetch are explicitly pre-fetching before running, meaning there was no coverage of this code in the test-suite.

@ketiltrout ketiltrout marked this pull request as draft October 18, 2023 18:02
@ketiltrout ketiltrout changed the title test fix(get): Fix from_id cache-misses Oct 18, 2023
@ketiltrout ketiltrout marked this pull request as ready for review October 18, 2023 18:37
@ketiltrout ketiltrout merged commit 5006d22 into master Oct 18, 2023
3 checks passed
@ketiltrout ketiltrout deleted the exceptions branch October 18, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants