ComfyUI/app/assets/database
Luke Mino-Altherr 83997d228d 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
2026-03-24 18:34:53 -07:00
..
queries Fix shared-asset overwrite corruption, stale enrichment race, and path validation 2026-03-24 18:34:53 -07:00
models.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00