docs(matrix): LAB-750 ts Workers KV + Cache API backend rows - #41
Conversation
Adds the two Cloudflare-native edge backends shipped in cachekit-ts#81 to the Cache Backends table and supersedes footnote 1's phase-1 CachekitIO-only surface: backend instances are now accepted by the minimal/production/secure intents in every ts entrypoint; KV TTL floor / Cache API max-age semantics recorded. Co-authored-by: multica-agent <github@multica.ai>
WalkthroughThe SDK Feature Matrix changelog was refreshed, and the Cache Backends table now documents Workers KV and Cache API support alongside updated DynamoDB and Workers footnote details. ChangesSDK Feature Matrix
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Conflict in |
|
Auto-rebase: conflict in |
|
auto-rebase: sdk-feature-matrix.md conflict is the shared 'Last updated' changelog paragraph — HEAD's LAB-750 entry and origin/main's LAB-729/430/272 entries both rewrite the same line, and HEAD's footnote ¹ reference may interact with origin/main's own footnote ¹ narrative. Merging changelog prose without dropping/misattributing a fact needs a human, not a mechanical union. |
…-1785289585 # Conflicts: # sdk-feature-matrix.md
|
Auto-rebased onto main: only conflict was the "Last updated" banner line in |
This comment has been minimized.
This comment has been minimized.
# Conflicts: # sdk-feature-matrix.md
|
Auto-rebased onto |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@sdk-feature-matrix.md`:
- Line 83: Update the Workers KV TTL wording in the LAB-595 feature note to
state that Cloudflare rejects expirationTtl values from 1 through 59 seconds
because the minimum is 60, rather than clamping them. Keep the SDK’s explicit
ttl <= 0 no-expiry behavior separate from and clearly distinguished from the
native KV contract.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: a7f7130e-856f-433a-b606-96b021eef60a
📒 Files selected for processing (1)
sdk-feature-matrix.md
Cloudflare KV rejects expirationTtl values of 1-59s (documented minimum is 60) rather than clamping them. The clamp-to-60 is SDK behaviour in WorkersKVBackend.set, as is the ttl <= 0 no-expiry rule — attribute each to the right layer.
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Companion to cachekit-io/cachekit-ts#81 (LAB-750 — phase-2 edge storage).
/workersentry).ttl <= 0no-expiry), Cache API semantics (per-data-center,Cache-Control: max-age, synthetic never-fetched key URLs, best-effort eviction), and that backend instances now pass through theminimal/production/secureintents in every ts entrypoint.Merge after cachekit-ts#81 so the matrix never claims unshipped support.
Summary by CodeRabbit
Description
This PR updates the SDK feature matrix documentation to reflect the latest SDK version releases and refine backend implementation details.
Changes
SDK version updates (LAB-903)
Refreshed the SDK Overview version numbers against the package registries following the protocol 1.1 rollout (envelope
binencoding, cachekit-core 0.4.0):0.12.0→0.17.00.3.0→0.5.0(+ cachekit-macros0.5.0)0.3.0→0.4.00.1.2→0.1.4cachekit-core protocol 1.1 documentation
Expanded the cachekit-core note to document the v0.4.0 protocol 1.1 writer flip, where
StorageEnvelope.compressed_datanow emits msgpackbinencoding (viaserde_bytes) while readers dual-decode bothbinand the legacy array-of-ints format. Added the per-SDK rollout state: cachekit-py ≥ 0.17.0 ships it, while cachekit-rs 0.5.0 and cachekit-ts 0.1.4 still pin the 0.3 line (their 0.4.0 bumps are merged on main but unreleased).Rust SDK dependency clarification
Updated the cachekit-rs entry to note it now depends on cachekit-core for encryption primitives only (the envelope is unused for stored values), with core-version rollout state consolidated in the cachekit-core note rather than a hardcoded version.
Workers KV TTL behavior clarification (LAB-750)
Refined footnote ¹ describing Workers KV TTL handling. Clarified that KV rejects values under its 60s minimum, so the SDK clamps shorter TTLs up to 60s before the
put, and that thettl <= 0"store without expiry" behavior is an SDK rule rather than a native KV behavior.Metadata
Updated the "Last updated" line to 2026-07-29 and added the LAB-903 changelog entry recording where per-SDK rollout state is now documented.