Sidecar synthetic anchor cleanup + tier-gated classifier fix #39
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?
Summary
Two coupled cleanup passes from the 2026-05-31 subscriptions audit:
6fc8ae3— sidecar synthetic anchor cleanupOperator-reported phantom subscriptions like
sidecar:patreon:dpmakerin the Subscriptions hub.SourceService.list()now excludesurl LIKE 'sidecar:%'by default;include_synthetic=Trueopt-in stays available for admin tooling.importer._source_for_sidecarnow prefers non-sidecar Sources over synthetic anchors. Before this, gallery-dl downloads silently attached their Posts to older synthetic-anchor rows when both a synthetic and a real Source existed for the same (artist, platform) — a hangover from alembic 0022's consolidation pass.66f19d6— download event classification + missing depThree coupled pains from the same audit:
[patreon][warning] Not allowed to view post Nwas bumpingconsecutive_failuresand parking the source in "needs attention" because_categorize_error's TIER_LIMITED branch was gated onreturn_code in (1, 4). Widen to "no source-level error fired AND tier-gated warnings present → TIER_LIMITED regardless of return code."TimeoutExpiredalways wins the race and the existing handler captures partial output.[downloader.ytdl][error] Cannot import yt-dlpfired on every video attachment. Addyt-dlp>=2025.1to requirements.txt.Test plan
sidecar:*rows for any artist[downloader.ytdl][error]lines)