Skip to content

Phase 3.5: kill remaining SRH callers (/api/series, search-featured, rpc-hub-stats)#1314

Merged
Flotapponnier merged 1 commit into
mainfrom
feat/kill-remaining-srh-callers
Jul 20, 2026
Merged

Phase 3.5: kill remaining SRH callers (/api/series, search-featured, rpc-hub-stats)#1314
Flotapponnier merged 1 commit into
mainfrom
feat/kill-remaining-srh-callers

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Finishes the SRH read-path elimination started in Phase 3. Three files still called readMaterialized directly, generating ~2.6k SRH requests per 3k Caddy log lines. This PR wraps them all with loadSnapshotFromBlob(slug, sig) ?? readMaterialized(slug, sig). Blob returns null on any error → falls through to SRH, worst case = pre-Phase-3.5 behavior.

Adapter (loadSnapshotFromBlob in bench-blob.ts) synthesizes a MaterializedSnapshot shape with empty state (state is worker-internal, not read by site).

…rpc-hub-stats) via loadSnapshotFromBlob adapter
@Flotapponnier
Flotapponnier merged commit 6e75a81 into main Jul 20, 2026
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