mirror of
https://github.com/apache/superset.git
synced 2026-07-24 23:56:22 +00:00
Reject stale/empty/corrupt cached screenshot payloads instead of serving them: get_from_cache_key now treats a payload that claims a successful screenshot but has empty or non-image bytes as a cache miss, and compute_and_cache applies the same cheap header check before marking a result as cached-success, falling back to ERROR status otherwise. Co-Authored-By: Claude <noreply@anthropic.com>