ComfyUI/app/assets/database
Luke Mino-Altherr 85cc3cad57 Filter soft-deleted and missing refs from visibility queries
list_references_by_asset_id and list_tags_with_usage were not filtering
out deleted_at/is_missing refs, allowing /view?filename=blake3:... to
serve files through hidden references and inflating tag usage counts.
Add list_all_file_paths_by_asset_id for orphan cleanup which
intentionally needs unfiltered access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 22:57:01 -04:00
..
queries Filter soft-deleted and missing refs from visibility queries 2026-03-14 22:57:01 -04:00
models.py Change preview_id to reference asset by reference ID, not content ID 2026-03-14 22:57:01 -04:00