Repository navigation
Release: v0.10.3 - #256
Merged
Merged
Release: v0.10.3#256
Conversation
…vate data v0.10.2's sandbox ran the sweep against the published branch it shares with production, and purge never deleted private data. Only the deployment with CFP_SCHEDULED_PURGE=true sweeps; purge deletes the person's private profile, legacy password, reset tokens, claim requests and sessions in the same transaction; an admin endpoint clears private data left by earlier purges, counts first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TGqwPjt3v4eMfiHpPmCKnR
- CFP_SCHEDULED_PURGE (default "false") must be "true" for a pod to sweep; otherwise it logs that the sweep is disabled. - PrivateStoreTx.deletePersonData removes profile, legacy password, reset tokens and claim requests; purge stages it with the public delete and clears session metadata after the commit. - POST /api/admin/private-data/purge-orphans (admin, apply: false|true) clears private data of people with no public record, under the write lock, answering counts only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TGqwPjt3v4eMfiHpPmCKnR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TGqwPjt3v4eMfiHpPmCKnR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TGqwPjt3v4eMfiHpPmCKnR
fix(api): gate the scheduled purge to production; purge deletes private data
Author
Changelog- fix(api): gate the scheduled purge to production; purge deletes private data [#255] @themightychris |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scheduled spam purge runs only in production, and purging a member now also deletes their private data.
Improvements