Skip to content

Implement cache fallback - #760

Merged
randomir merged 8 commits into
dwavesystems:masterfrom
randomir:fix/handle-inaccessible-cache-location
Sep 23, 2026
Merged

randomir merged 8 commits into
dwavesystems:masterfrom
randomir:fix/handle-inaccessible-cache-location

Conversation

@randomir

@randomir randomir commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

In the case when the primary cache store create/access fails (e.g. a read-only file-system), a fallback strategy is used: memory for in-memory cache, disable to turn the cache off for the current session, or fail to fail hard.

AI Generation Disclosure

AI not used.

@codecov

codecov Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.07%. Comparing base (f455e02) to head (63e7a24).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #760      +/-   ##
==========================================
+ Coverage   90.00%   90.07%   +0.06%     
==========================================
  Files          44       44              
  Lines        5425     5460      +35     
==========================================
+ Hits         4883     4918      +35     
  Misses        542      542              

☔ View full report in Codecov by Harness.
📢 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.

@randomir
randomir force-pushed the fix/handle-inaccessible-cache-location branch from 5c1c0f2 to f918fe9 Compare September 21, 2026 20:34
@randomir
randomir requested a review from thisac September 21, 2026 20:52

@thisac thisac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @randomir !

Comment thread dwave/cloud/api/client.py Outdated
Comment thread dwave/cloud/api/client.py Outdated
@randomir
randomir merged commit 224246a into dwavesystems:master Sep 23, 2026
36 checks passed
@randomir
randomir deleted the fix/handle-inaccessible-cache-location branch September 23, 2026 12:54
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