Skip to content

Supporters: only the endorsement form creates them, plus a cleanup command (port of #251, #257) - #258

Open
mlaetitia wants to merge 2 commits into
mainfrom
fix/T51ENG-2307-supporter-cleanup-main
Open

mlaetitia wants to merge 2 commits into
mainfrom
fix/T51ENG-2307-supporter-cleanup-main

Conversation

@mlaetitia

Copy link
Copy Markdown
Collaborator

Related to T51ENG-2307

Proposed changes

Why are these changes being made?

  • Every valid submission of any form became a pending supporter. Since the newsletter moved into the footer, that's ~480 empty ones a day.
  • The 05 Nov production backup has 90,145 pending supporters. 1,764 have a type and are real; the rest came from the newsletter, Salons RSVPs and other forms.

Testing instructions

  • After deploy, sign up to the footer newsletter: no new supporter.
  • Before the cleanup, export the tables from the SSH home (outside htdocs): wp db export ~/supporters-backup-$(date +%Y%m%d%H%M).sql --tables=wp_posts,wp_postmeta
  • wp osi-supporter-cleanup: dry run, expect ~88.4k plus signups since 05 Nov.
  • wp osi-supporter-cleanup --force --dry-run=false --yes | tee ~/supporter-cleanup.log
  • Expect 177 published and 1,764 pending supporters left.

🤖 Generated with Claude Code

mlaetitia and others added 2 commits November 13, 2026 15:04
…o remove the ones other forms created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant