ComfyUI/app/assets
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
..
api feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
database feat(assets): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00
services fix(assets): validate sibling dimensions before backfilling 2026-05-19 13:47:58 -07:00
helpers.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
scanner.py feat(assets): extract image dimensions at ingest and emit on asset responses 2026-05-19 12:27:12 -07:00
seeder.py feat(assets): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00