ComfyUI/app/assets
Matt Miller 51487d702e fix(assets): tighten job_ids validator + add schema-level tests
Aligns with the parallel hardening from draft PR #13848 (now closed as
a duplicate). The validator now:

- Raises ValueError on non-string list items (was: silently dropped).
- Raises ValueError on non-string / non-list top-level values like dict
  or int (was: silently passed through to Pydantic's downstream coercion).

Adds tests-unit/assets_test/queries/test_list_assets_query.py covering
the validator end-to-end: CSV canonicalization, dedup order, default
empty, invalid UUID, non-string list item, non-string non-list value,
and the max_length=500 boundary.
2026-05-19 20:00:07 -07:00
..
api fix(assets): tighten job_ids validator + add schema-level tests 2026-05-19 20:00:07 -07:00
database feat(assets): add job_ids filter to GET /api/assets 2026-05-19 19:02:11 -07:00
services feat(assets): add job_ids filter to GET /api/assets 2026-05-19 19:02:11 -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): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00
seeder.py feat(assets): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00