Skip to content

feat(cache): pass cache_manager to IQBCache#97

Merged
bassosimone merged 1 commit intomainfrom
feat/cache_remote_cache
Dec 23, 2025
Merged

feat(cache): pass cache_manager to IQBCache#97
bassosimone merged 1 commit intomainfrom
feat/cache_remote_cache

Conversation

@bassosimone
Copy link
Collaborator

This diff adds a new kwarg to the constructor of IQBCache so that we can configure a remote cache manager.

In turn, this allows people using the IQBCache to take advantage of remotely cached queries and fetch them on demand.

While there, notice that MLabCacheReader is a misnomer because we will soon be able to write the cache as a side effect, so reduce the amount of surprise by renaming it to MLabCacheManager.

This diff adds a new kwarg to the constructor of IQBCache so that
we can configure a remote cache manager.

In turn, this allows people using the IQBCache to take advantage of
remotely cached queries and fetch them on demand.

While there, notice that `MLabCacheReader` is a misnomer because
we will soon be able to write the cache as a side effect, so reduce
the amount of surprise by renaming it to `MLabCacheManager`.
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8323d9f) to head (b5d49c9).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #97   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        27           
  Lines         1906      1912    +6     
=========================================
+ Hits          1906      1912    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bassosimone bassosimone merged commit 11190ff into main Dec 23, 2025
5 checks passed
@bassosimone bassosimone deleted the feat/cache_remote_cache branch December 23, 2025 13:19
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