Hi Aaron! Enabling a retention policy for partitions is a pretty extensive change, and I think we'd want to deliberate carefully before we enable something like this. Nowhere else in dagster's system do we automatically wipe event log data (which is responsible for populating which partitions materialized, what the status of runs are, etc.) and I think it could be tricky for users if some desired data becomes irrecoverable. Currently we put the onus on users to manage deleting their own data if desired.
I'd recommend filing an issue for now so we can track it in the backlog as I'm not sure we'd want to explicitly support this functionality, so don't want to send you on a rabbithole for building out this functionality 🙂 but happy to review or point you in the right direction for future contributions.