Files
Viktor Petersson fe942a50f6 fix(sentry): also drop transient redis TimeoutError events (#3028)
- The before_send filter caught redis.exceptions.ConnectionError but
  not redis.exceptions.TimeoutError — in redis-py the two are
  siblings under RedisError, not parent/child, so a redis outage that
  hangs the socket (rather than refusing) slipped through to Sentry
- Surfaced post-deploy as ANTHIAS-1B (Timeout connecting to server,
  viewer resolution reporter) once the build-hash release tags made
  it identifiable
- Match on both types; add the redis-stubs TimeoutError entry and a
  regression test that also pins the sibling (not subclass) relation

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 21:07:30 +02:00
..