Deleted files 3/3: purge log — record of finally-deleted files (#278) #281
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of epic #278.
Backend
auto-retention|admin-manual|space-delete), acting admin where applicable.trash-purge), so instances with audit disabled still get the purge log, and instances with audit enabled get both views consistently.UI (mockup-first)
Deleted files → Purge log tab:
Acceptance
Shipped as v0.6.51 (PR #285), live on both dogfoods. Pure frontend — the audit log already recorded both purge kinds, and the admin audit query already filters by action; the tab merges
manual-purge+auto-purgequeries, newest first, capped at 200.As built (per the signed-off mockup, fidelity-diffed before shipping): flat hairline rows with mono timestamp and mono original path; red manual pill with "purged by " vs teal automatic pill with "retention sweep · owner " (the audit user field means different things for the two actions, so the label disambiguates); path-prefix filter (button + Enter); audit-source footer.
Dogfood checklist (fresh login after the roll):
#admin/trash/logshows your #280 test purges as manual rows attributed to the purging admin/spaces/Fall)With this, the epic #278 surface is complete: Retention (v0.6.48), Manual purge (v0.6.49 + v0.6.50 polish), Purge log (v0.6.51). Automatic-sweep rows will appear once an instance runs with auto-purge enabled.