ComfyUI/app/assets/services
Matt Miller f2c7330800 fix(assets): validate sibling dimensions before backfilling
Per CodeRabbit review on #13991: the previous loop accepted any sibling
with `kind == "image"` and copied whichever dimension keys happened to
be present, then returned. A partial sibling (kind set but missing or
invalid width/height) could persist incomplete metadata onto the new
reference even when a later sibling had valid dimensions.

Now we validate that the sibling has both width and height as positive
integers before adopting its dimensions, and continue scanning to the
next sibling otherwise.
2026-05-19 13:47:58 -07:00
..
__init__.py feat(assets): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00
asset_management.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
bulk_ingest.py feat(assets): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00
file_utils.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
hashing.py Import assets seeder later, print some package versions. (#12841) 2026-03-08 16:25:30 -04:00
image_dimensions.py feat(assets): extract image dimensions at ingest and emit on asset responses 2026-05-19 12:27:12 -07:00
ingest.py fix(assets): validate sibling dimensions before backfilling 2026-05-19 13:47:58 -07:00
metadata_extract.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
path_utils.py fix(assets): recognize temp directory in asset category resolution (#13159) 2026-03-25 19:59:59 -07:00
schemas.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
tagging.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00