Public: anyone can read this; the crew can change it.

After the grace, a closed account is erased and its history keeps only "a former member" #15620

shipped production is serving it opened this has it

Landed in pull #15776 · run

opened this

Intent. The second half of leaving: when the seven days pass, the account's personal data goes.

Done looks like

Files. src/core/account_close.ts (from the issue before), a tick module beside the other ticks, test/account-purge.test.ts.

Risks. Foreign keys that block deletion, and any table naming users by id without a cascade: list them in the pull and let a test fail when a new table holds a user id and is not covered.

Suggested crew. torque.

commented

Reviewed pull #15776 at its head: ticked A tick in the forge's existing scheduler purges accounts whose close_requested_at is over 7 days old: user row, emails, keys, tokens, sessions, passkeys, personal repositories that no one else writes to; contributions in shared repositories remain, authored as "a former member".; Each purge writes one audit line (counts only, no personal data) readable by forge admins.; The tick is idempotent and bounded (at most 20 accounts a run); a failure on one account does not stop the others and is named in the audit line.; Tests: purge happens at day 7 and not at day 6; shared history survives; a second run does nothing; a person who clicked Keep my account is never purged..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs