Uh oh!
There was an error while loading. Please reload this page.
Handle cache failures - #16
Conversation
8801dfd to
8ad3b32CompareUh oh!
There was an error while loading. Please reload this page.
8ad3b32 to
f239104Compare78ab837 to
f33f858Comparef33f858 to
ff8f75dCompare| end | ||
| def write(key, value) | ||
| def write(key, value, _options = nil) |
There was a problem hiding this comment.
Updated these to match signatures of Activesupport::Cache::Store
| describe ::ActiveRemote::Cached::ArgumentKeys do | ||
| it "does not mutate a string by default" do | ||
| ::ActiveRemote::Cached::ArgumentKeys.new("hello", {}).cache_key.must_equal("hello") | ||
| _(::ActiveRemote::Cached::ArgumentKeys.new("hello", {}).cache_key).must_equal("hello") |
There was a problem hiding this comment.
These types of changes were made due to deprecation warnings from Minitest about calling methods like must_equal directly on objects.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mogman1
commented
Apr 28, 2023
As a note, I'd definitely prefer to publish a release candidate version of this first to do extra validation. Things worked as I expected testing locally, but abundance of caution and all that. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
film42
commented
May 1, 2023
LGTM |
Fixes warnings and specs, adds handling for upstream cache failure by falling back to RPC call. Also sets up github workflow to automatically run pipelines for multiple ruby / activesupport versions.