#111688·sentry

Namespace collision between Session Replays and FileBlobs prevents S3 Lifecycle Management

Author: adiantekCreated Mar 26, 2026Updated Sep 29, 2026
LabelsProduct Area: ReplaysImprovementTech Debt

There is a path collision in the underlying storage (S3) between Session Replay segments and generic FileBlobs.

It is impossible to configure an S3 Lifecycle Policy to expire Replays based on their retention period (e.g., prefix 90/) because this prefix also contains permanent FileBlobs (artifacts, symbols) that happen to start with the same hash.

$ s3cmd ls s3://sentry/sentry/90/
                          DIR  s3://sentry/sentry/90/2/
                          DIR  s3://sentry/sentry/90/3/
                          DIR  s3://sentry/sentry/90/4/
                          DIR  s3://sentry/sentry/90/7b0d/
                          DIR  s3://sentry/sentry/90/c649/
                          DIR  s3://sentry/sentry/90/dec7/