Files
willmiao-ComfyUI-Lora-Manager/py/services
Will Miao 35bc21a5bb fix(civarchive): don't resolve foreign-ecosystem file IDs into CivitAI metadata
CivArchive's /sha256 endpoint also indexes files from other ecosystems
(e.g. civision/ModelScope) whose model_id/model_version_id belong to a
different ID space. _resolve_version_from_files fed those IDs into the
CivitAI-ID-based /models/{id} endpoint, which resolves modelVersionId
globally, so a colliding ID silently linked the local file to an
unrelated CivitAI model (hash f3a5370b... resolved to CivitAI model
119656 via version id 130022).

Two guards: skip file entries whose source marks a foreign ecosystem,
and require the resolved version's files to contain the queried SHA256
before accepting it.
2026-10-15 22:49:06 +08:00
..
2025-02-24 20:41:16 +08:00