feat(core-bindings): pick up cachekit-core 0.4.0 — bin envelopes (LAB-901) - #91
Conversation
…-901) Bump cachekit-core 0.3.0 → 0.4.0 in both native bindings (NAPI + wasm32). Core 0.4.0 emits StorageEnvelope compressed_data as msgpack bin (protocol 1.1); pre-0.4.0 array-of-integers envelopes stay readable forever (dual-read). Byte-verification, both bindings held to identical bytes: - re-vendor protocol/test-vectors/wire-format.json (v1.1.0: 6 legacy + 6 *_bin vectors) and drive the full vector set through the NAPI lane as well as the workerd/wasm lane - pack emits the *_bin ground-truth envelopes byte-for-byte - legacy vectors + legacy canonical fixture decode via the real retrieve path (permanent dual-read proof) - bin-marker assert on arbitrary fresh packs (bin8 + bin16 sizes), round-trip identity for compressible + incompressible payloads No ts-side serialization code changes — the codec is single-sourced in cachekit-core. Secrets baseline refreshed for the moved/added hex test vectors (false positives, pre-existing pattern).
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 53 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (6)
Comment |
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:
|
Closes LAB-901. Parent: LAB-764 stage 5 (protocol 1.1 rollout, TypeScript leg).
What
Bump
cachekit-core0.3.0 → 0.4.0 in both native bindings —cachekit-core-ts(NAPI) andcachekit-core-wasm— and prove the protocol 1.1 wire change through the real TS stack. Core 0.4.0 emitsStorageEnvelope.compressed_dataas msgpack bin (core#59, spec protocol#44); pre-0.4.0 array-of-integers envelopes remain readable forever (dual-read).No ts-side serialization code changes — the codec is single-sourced in cachekit-core. The diff is the two Cargo pins + locks, the re-vendored spec vectors, and tests.
Byte-verification (proven, not asserted)
protocol/test-vectors/wire-format.jsonv1.1.0 (6 legacy + 6*_binvectors) and now drive the full vector set through both lanes: NAPI (Node lane,test/protocol) and wasm inside real workerd (test/workers).packoutput equals every*_binground-truth envelope byte-for-byte, in both bindings — which also pins the two bindings byte-identical to each other and to every other SDK.simple_string_binexactly and decode the legacysimple_stringenvelope.Checks
.secrets.baselinerefreshed — hex test vectors are line-pinned there (pre-existing pattern), and the vector additions moved them.Docs gate
No README or docs.cachekit.io statement describes the
compressed_datafield encoding (checked SDK READMEs + docs repoenvelope/compressed_datahits); container-level claims ("LZ4 + xxHash3-64", byte-compatibility across NAPI/wasm) remain true. Test-file headers updated to protocol v1.1 with the dual-read note. Nothing else needed changing.