ComfyUI/app/assets/services
Luke Mino-Altherr a1233b1319
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Fix shared-asset overwrite corruption, stale enrichment race, and path validation
- Detach ref to new stub asset on overwrite when siblings share the asset
- Add optimistic mtime_ns guard in enrich_asset to discard stale results
- Normalize and validate output paths stay under output root, deduplicate
- Skip metadata extraction for stub-only registration (align with fast scan)
- Add RLock comment explaining re-entrant drain requirement
- Log warning when pending enrich drain fails to start
- Add create_stub_asset and count_active_siblings query functions

Amp-Thread-ID: https://ampcode.com/threads/T-019cfe06-f0dc-776f-81ad-e9f3d71be597
Co-authored-by: Amp <amp@ampcode.com>
2026-03-17 19:08:44 -07:00
..
__init__.py feat(assets): register output files as assets after prompt execution 2026-03-17 19:08:44 -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 Use ExtractedMetadata in ingest_existing_file instead of passing raw dict 2026-03-17 19:08:44 -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
ingest.py Fix shared-asset overwrite corruption, stale enrichment race, and path validation 2026-03-17 19:08:44 -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 refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05: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