ComfyUI/tests-unit/assets_test
Cursor Agent fe1ac8963d Emit hash alongside asset_hash on all Asset responses
Add a `hash` field to the Asset response schema that carries the same
value as the existing `asset_hash` field. Both fields are now populated
in _build_asset_response, so every Asset-returning endpoint (GET, POST,
PUT) includes both.

No existing fields are removed. Tests updated to assert both fields.

Co-authored-by: Matt Miller <MillerMedia@users.noreply.github.com>
2026-05-08 18:56:48 -07:00
..
queries feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
services fix(assets): recognize temp directory in asset category resolution (#13159) 2026-03-25 19:59:59 -07:00
conftest.py Emit hash alongside asset_hash on all Asset responses 2026-05-08 18:56:48 -07:00
helpers.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_assets_missing_sync.py Emit hash alongside asset_hash on all Asset responses 2026-05-08 18:56:48 -07:00
test_crud.py Emit hash alongside asset_hash on all Asset responses 2026-05-08 18:56:48 -07:00
test_downloads.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_file_utils.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_list_filter.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_metadata_filters.py Assets Part 2 - add more endpoints (#12125) 2026-01-31 02:22:05 -05:00
test_prune_orphaned_assets.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_sync_references.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_tags_api.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
test_uploads.py Emit hash alongside asset_hash on all Asset responses 2026-05-08 18:56:48 -07:00