Gated Patreon posts: skip on ingest + cleanup tool (#874) #112
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tier-gated Patreon posts (
current_user_can_view == False) were having their blurred locked-preview media downloaded as if real.Ingester fix (#874)
PatreonClient.post_is_gated— gates only on an explicitcurrent_user_can_view == False(missing/None → viewable, never over-filter).ingest_corerun()+preview()skip gated posts entirely: no media download, no post-record stub. Skipped before the #862 body canary so they don't inflate its sample; surfaced asN gated-skipped.Cleanup tool (#874 follow-up)
A one-shot Settings → Maintenance action ("Clean up gated-post previews") to purge the blurred previews grabbed before the fix. The gated flag was never persisted, so it re-walks each enabled Patreon source (read-only) to re-derive the currently-served blurred filehashes, then matches by content hash against stored
source_filehash— real content downloaded when access existed has a different hash and is provably spared. NULL hash → unverifiable, kept + reported. On apply: delete matched files, clear the seen/dead-letter ledger (so real media re-ingests if access returns), remove bare gated posts. Preview/apply share one predicate (rule 93).Verified green on dev (CI run 1170,
5401512).🤖 Generated with Claude Code