The provided commit message does not match the changes represented in the code diffs. Here's a more appropriate commit message:
Improve cache handling and hash set logic
This update includes adding a new cache 'custom.redis' in SUPPORT_CACHES, modifying the function for setting hash and cache, and editing the test for processed actions and hash matching. These modifications enhance cache flexibility and secure the unavailability of hash and cache in case they are not set already. Additionally, the action processing test has been updated to better ensure right functionality.