Files
supabase/apps/studio/data/storage
Francesco Sansalvadore cbcdf4c84c fix(studio): storage lifecycle policy execution (#54138)
## Problem

Non-current versions in storage weren't showing the correct expiration
value based on the lifecycle policies settings.

## Solution

Fix client logic and improve communication around expiration.

Adding "Archived at" info make the version history crowded, so some
information has been moved into the dropdown menu of each noncurrent
version.

<img width="445" height="314" alt="Screenshot 2026-11-26 at 16 58 23"
src="https://github.com/user-attachments/assets/efb345f7-9a1c-4a53-b5e2-8b05505f9856"
/>

Note: when the "Newest noncurrent versions to keep" threshold is met,
older versions that exceed such thresholds will expire no earlier than
in 1d.

## Review instructions

- Enable object versioning and set lifecycle policies on a File Storage
bucket
- add new versions to reach and exceed policy threasholds
- check that expiration rules apply as intended
2026-11-27 10:25:51 +01:00
..