Page MenuHomePhabricator

Check data deletion status of old donations
Closed, ResolvedPublic1 Estimated Story Points

Description

Some older (canceled/deleted) donations in our database are marked as scrubbed but still contain data.

  • for the broken entries:
    • Scrub old entries that have is_scrubbed=1 as a false flag manually
      • we scrubbed manually all entries that were marked as is_scrubbed=1 and already exported --> we will try running this https://github.com/wmde/fundraising-backend/pull/1229 with 1000 items per batch (-> successful ✅ )
      • we still need to scrub the ones that are falsely set to is_scrubbed=1 but got never exported (-> those are status X, D, P, ...)
      • Investigate if tghere is any donor data in the data blobs of scrubbed entries:

Event Timeline

AbbanWMDE renamed this task from Check data deletion status of old donations to [Spike] Check data deletion status of old donations.Mar 3 2026, 10:15 AM
AbbanWMDE set the point value for this task to 3.
CorinnaHillebrand_WMDE renamed this task from [Spike] Check data deletion status of old donations to Check data deletion status of old donations.Mar 3 2026, 10:16 AM

We need to change the scrubbing script to also scrub status X and D status after a while,
also figure out how to proceed with status P (moderated)

@AbbanWMDE
I created a PR today to implement the missing "grace period" again for the donation scrubbing: https://github.com/wmde/fundraising-donations/pull/346

Please have a look, you can also extend/comment the PR already if you have other ideas on that.

AbbanWMDE changed the point value for this task from 3 to 5.Mar 19 2026, 8:38 AM
AbbanWMDE moved this task from Todo to Doing on the WMDE-FUN-Sprint-2026-03-17 board.

status update:
test database is scrubbed completely ✅
production database is scrubbed ✅

CorinnaHillebrand_WMDE updated the task description. (Show Details)
CorinnaHillebrand_WMDE updated the task description. (Show Details)
CorinnaHillebrand_WMDE updated the task description. (Show Details)
CorinnaHillebrand_WMDE updated the task description. (Show Details)
AbbanWMDE changed the point value for this task from 5 to 1.Apr 14 2026, 8:55 AM

investigate missing 8000 scrubbed=0 & name = NULL entries

AbbanWMDE moved this task from Todo to Done on the WMDE-FUN-Sprint-2026-04-28 board.
AbbanWMDE moved this task from Done to Deploy on the WMDE-FUN-Sprint-2026-04-28 board.
AbbanWMDE moved this task from Deploy to Done on the WMDE-FUN-Sprint-2026-04-28 board.
AbbanWMDE subscribed.
AbbanWMDE updated Other Assignee, removed: CorinnaHillebrand_WMDE.
AbbanWMDE added a subscriber: Mr.nonenone.