Repository navigation
Coalesce immutable reads through cache publication - #74
Open
Jason-Doyle wants to merge 3 commits into
Open
Jason-Doyle wants to merge 3 commits into
Jason-Doyle wants to merge 3 commits into
Conversation
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
Extend the existing per-client, per-key immutable-read promise through
lifecycle-checked cache publication. Snapshot pages, secondary-index pages and
trie nodes share the complete fill. This removes a duplicate-fetch window and
repeated publications without adding a dependency, public option, timeout,
storage format or retained-value cache.
Cache lookup still precedes joining a fill. Caller-owned results, cache
eligibility, error/retry behaviour, logout cancellation and independent
key/client scopes are preserved. Mutable HEAD and point-read bundles retain
their separate paths.
Evidence
The report, exact tables, graphs and original evidence
record the prospective protocol, frozen source, rejection criteria and
reproduction commands.
480 and completed publications from 624 to 432. These totals describe the
fixed controlled recipe mix, not production incidence or performance.
observations, 120 full-work control pairs, 83 frozen inputs, every CSV cell,
both graphs and all 18,832 clone events.
flakes or skips: 288 independently validated observations and 90 same-engine
full-work control pairs across Chromium, Firefox and WebKit using real Web
Locks.
nine expected focused failures. Repository and fixture types, package build,
isolated packed-consumer qualification and 48 built public-entrypoint probes
pass.
changelog and short discovery text describe the complete fill boundary.
Scope and decision
Merge-worthiness is 93/100 against a threshold of 85, conditional on full CI,
CodeQL and all mandatory checks passing on the current publication head.
The benefit is demonstrated only for controlled same-key overlap within one
client. Warm, sequential-cold, unrelated-key and independent-client controls
show no work reduction. No latency, throughput, heap, disk, encrypted
IndexedDB or storage-network improvement is claimed. Windows WebKit does not
qualify Apple Safari.
The pending promise retains its remote value and waiters until publication
settles; a hung custom cache operation can retain them indefinitely. Custom
cache-hook invocation counts follow fills rather than callers, and waiters
share the publication outcome, including a hard hook rejection. These costs
and compatibility boundaries are documented. The separately parked
range-candidate predicate change is excluded.