Platform-wide reliability and data-accuracy audit
A holistic audit pass across the entire platform, focused on data completeness, accuracy, and security:
- Scrape accuracy, failed video scrapes are no longer recorded as zero stats (previously a TikTok timeout could zero out comment/share/save counts and write a false dip into stats history). Stats history is now fully idempotent under retries.
- Metadata no longer disappears: captions, posting dates, and thumbnails are no longer wiped when a creator's scrape falls back to the secondary data source; posting dates are also derived from the video ID when TikTok omits them.
- Photo carousels can be added directly:
/photo/URLs now work in add-video (previously rejected). - Creator protection: large scrape batches are chunked so healthy creators at the tail of a batch can no longer be miscounted as failing (and eventually auto-disabled); videos of disabled creators stop consuming scrape budget.
- Fixed dead UI: campaign Top Videos / Top Creators widgets, the Disabled Creators page, and the dashboard refresh countdown were silently showing empty states for all users.
- Payout exports: CSV exports no longer drop the final day of the selected range.
- Security hardening: tightened database-level access controls across more than 100 internal functions, partition tables, and event feeds, plus several authorization fixes in the API layer.