Unused-tag fandom fix + ML-worker logging/tuning + unified dropdown Enter #86
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?
Operator-flagged fixes and a DRY refactor. CI green (run #750,
408fcd4). No schema change (alembic head stays 0042).Fixes
fix(cleanup)— fandoms no longer flagged "unused" (fb05c5e).find_unused_tagsonly checked image_tag + series_page references, so every fandom (never applied to an image — a character carries it viafandom_id) looked unused, and the FK isondelete=SET NULL, so deleting one would strip the fandom off all its characters. Now excludes tags referenced as a character'sfandom_idand tags referenced by aseries_chapter(all-placeholder series). Genuinely orphaned fandoms still sweep.Observability + tuning (video ML)
obs(ml)—tag_and_embedlogging (b1778ca). The task logged nothing andSoftTimeLimitExceededstringifies to empty, so a timeout gave zero clue which file or why. Now logs start (id/path/mime/bytes/video?), per-phase timing, and re-raises a timeout WITH context so the activity names the file + phase. Other errors are logged then re-raised unchanged (preserves autoretry).tweak(ml)— video frame samples 10→6 (f2fbe2a). Fewer frames into the max-pool = less noisy video tags + smaller sampling budget. Deeper quality/perf review tracked in Scribe #747.DRY
refactor(ui)— unified confirm-dropdown Enter (408fcd4). NewuseAcceptOnEntercomposable: Enter on an open menu picks; Enter on a closed menu triggers the modal's primary action instead of re-opening the dropdown. Applied to the tag-merge picker (the reported one), alias picker, post→add-to-series, and the two fandom dialogs (refactored off their copy-pasted handlers). One behavior, one place.🤖 Generated with Claude Code