mikebridge opened a new pull request, #41549: URL: https://github.com/apache/superset/pull/41549
> ⚠️ **DRAFT — do not merge.** Tracker PR for the deletion-retention **purge** of soft-deleted entities. ### What this is The self-contained purge package: `superset/commands/deletion_retention/` (force-purge, cascade, audit, window), the `deletion_retention.purge_soft_deleted` Celery task, the `add_purge_audit_log` migration, the CLI, and the full test suite (~2,000 lines). ### Why it's a draft This work **depends on the soft-delete backend** (the `deleted_at` lifecycle on charts / dashboards / datasets), which is not yet merged. The shared-file wiring — the `SUPERSET_SOFT_DELETE_RETENTION_DAYS` config, the Celery beat registration, the `__versioned__` `deleted_at` excludes, and the migration `down_revision` — is **intentionally omitted here** because it can only be applied on top of the merged backend. ### Plan Once the prerequisite soft-delete PRs merge, the relevant commit will be **cherry-picked onto the merged backend** to add the wiring and produce the final, buildable, reviewable diff. Prerequisites: - #40129 (charts soft-delete) - #40128 (dashboards soft-delete) - #40130 (datasets soft-delete) - #41166 (`SOFT_DELETE` release gate) ### Before marking ready - Re-apply shared-file wiring via the post-merge cherry-pick - Strip internal tracker references from code/comments -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
