ComfyUI/app/assets/database/queries
Luke Mino-Altherr a8b7a714d4 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-12 17:39:08 -07:00
..
__init__.py Filter soft-deleted and missing refs from visibility queries 2026-03-12 17:39:08 -07:00
asset_reference.py Filter soft-deleted and missing refs from visibility queries 2026-03-12 17:39:08 -07:00
asset.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
common.py feat(assets): align local API with cloud spec 2026-03-12 17:39:08 -07:00
tags.py Filter soft-deleted and missing refs from visibility queries 2026-03-12 17:39:08 -07:00