This change adds a daily QStash-verified cron endpoint to clean up partners who aren’t enrolled in any program and updates usage/email click summaries to pull richer top-link analytics (top 100) and render links using structured metadata (link id + shortLink). It improves data hygiene, makes partner deletions more robust (handling commissions/payouts/messages/submissions/activity logs in batches), and strengthens E2E testing by adding a dedicated bounty+submissions deletion endpoint and scoping workflow E2E operations to the ACME program. Main concerns are the risk of unintended partner deletions if the selection criteria are too broad, potential performance/load from repeated batch deletion loops, and the need to ensure the new E2E-only endpoints and program scoping can’t be abused outside test environments.
