Repository navigation
Coordinate shared custom persistent cache namespaces - #71
Merged
Jason-Doyle merged 3 commits intoDec 3, 2026
Merged
Conversation
Fix prospective state, isolation, progress, failure-drain, active-bookkeeping and evidence gates for cooperating wrappers sharing one custom delegate object.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Coordinate
NamespacedPersistentObjectCachewrappers sharing the exact same immediate delegate object and encoded namespace in one loaded module. Serialise registry updates, order complete same-key mutations, and use namespace cleanup barriers. Failed cleanup drains started deletes and preserves the first observed original rejection reason before releasing its barrier. Idle coordination state is removed.The default IndexedDB path, bounded-custom-delegate rejection, public options, stored formats and dependency manifests are unchanged.
Qualification
The prospective protocol was published before production edits. Source and collector were pushed before the detached 768-row capture against exact merged baseline
e615fda1ef8c091070e9c2970fa86ffe7b32e887.Report, exact tables, graph and raw evidence
Merge-worthiness: 92/100 against the predeclared 85/100 threshold, subject to all hard gates and review. This is an engineering judgement, not a probability.
Scope and costs
Shared registry contention, queued references, cleanup barriers and failure-drain delay are real costs. Delegates need accurate completion promises and non-reentrant mutation behaviour; inputs must remain stable until settlement. Distinct delegate identities, module copies, tabs, direct writes, reads, shared-memory invalidation and durable logout remain outside the guarantee. No latency, throughput, heap or production-frequency benefit is claimed.