ComfyUI/app/assets
Matt Miller 93f671d795 fix(assets): reject booleans in sibling dimension validation (use type-is)
Per CodeRabbit follow-up on #13991: bool is a subclass of int in Python,
so isinstance(True, int) is True. The previous strict-int gate would
have accepted width=True (truthy + > 0) as a valid dimension.
Realistic occurrence is low (extract_image_dimensions returns proper
ints, JSON doesn't serialize bools as numbers), but the validation gate
exists for defense-in-depth so it should be actually strict.
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): reject booleans in sibling dimension validation (use type-is) 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