Skip to content

feat(bindings): carry an optional cache service on loopback entrypoints - #14

Merged
airyland merged 1 commit into
vrtfrom
feat/ctx-exports-cache-channel-config
Nov 29, 2026
Merged

airyland merged 1 commit into
vrtfrom
feat/ctx-exports-cache-channel-config

Conversation

@airyland

Copy link
Copy Markdown

Schema prelude for the A3 ctx.exports cache decorator.

  • compiled-bindings.capnp: Global.cache :CacheService (a subrequest channel) next to loopbackServiceStub; absent = today's behavior. capnp compile passes.
  • No writer/reader yet: the server will set it from Worker.entrypointCaches, and the factory will wrap the loopback stub with a cache-aware channel in the next change.

This is the stable contract between the Rust globals producer and the C++ factory decorator.

compiled-bindings Global gains an optional CacheService channel for a
ctx.exports loopback entrypoint. Schema only: absent = today's behavior.
The server sets it from Worker.entrypointCaches and the factory wraps the
loopback stub with the cache channel in the next change.
@airyland
airyland merged commit 921b840 into vrt Nov 29, 2026
3 checks passed
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