Skip to content

Conversation

@smalluban
Copy link
Contributor

Fixed listing model invalidation bug: Listing models with loose: true storage now properly invalidate when items are changed or added

Renamed cache API: Changed cache.set() to cache.sync() for clearer semantics and added entry.resolved = true to prevent duplicate getter calls

Simplified validation logic: Store now uses entry.resolved and validate() checks instead of complex model state comparisons for cache invalidation

Updated tests: All cache tests now use sync() instead of set(), plus added new test to verify listing invalidation works correctly in loose mode

@coveralls
Copy link

Coverage Status

coverage: 99.914%. remained the same
when pulling 39eccbf on fix-store
into 1307ad8 on main.

@smalluban smalluban merged commit 8b29696 into main Oct 9, 2025
2 checks passed
@smalluban smalluban deleted the fix-store branch October 9, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants