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