Skip to content

Fix/mediastore race condition#56

Merged
kevin930321 merged 9 commits into
devfrom
fix/mediastore-race-condition
Apr 20, 2026
Merged

Fix/mediastore race condition#56
kevin930321 merged 9 commits into
devfrom
fix/mediastore-race-condition

Conversation

@kevin930321

Copy link
Copy Markdown
Collaborator

No description provided.

kevin930321 and others added 9 commits April 15, 2026 00:23
… mod grouping

Previously, catalogAssetToBundle was baked into local_bundle_index.json
during finalize_scan(). If catalog_*.json was missing at scan time (e.g.,
failed download or SKIPPED update), the disambiguation map was permanently
empty, causing mods to be grouped into wrong bundles.

Now, catalogAssetToBundle is always re-derived from the latest catalog on
disk when the index is loaded. The in-memory cache also tracks catalog
file mtime so it is invalidated when the catalog updates.
@kevin930321 kevin930321 merged commit 991f087 into dev Apr 20, 2026
1 check passed
@kevin930321 kevin930321 deleted the fix/mediastore-race-condition branch April 20, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant