Expand description
WorkspaceCache — L2 cache interface for session workspace state.
This module defines the WorkspaceCache trait, supporting types, and the
NoOpCache implementation that satisfies the trait with no-op behaviour.
The trait is the seam used by multi-pod deployments to share workspace
snapshots across replicas via an external store (e.g. Valkey/Redis).
Available implementations are NoOpCache (single-pod / local dev) and
ValkeyCache (production multi-pod, behind the valkey feature).
For single-pod deployments (and tests), NoOpCache is the default.
Structs§
- NoOp
Cache - A
WorkspaceCacheimplementation that does nothing. - Workspace
Snapshot - A serializable point-in-time snapshot of a session workspace’s metadata.
Enums§
- Cached
Overlay Entry - A file-level cache entry mirroring
OverlayEntry.
Traits§
- Workspace
Cache - L2 cache interface for workspace state across pods.