@byok-sdk/cloud-dataplane 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -9
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -142,8 +142,8 @@ throws a `ByokCoreError` with code `object_key_prefix_invalid` at construction.
|
|
|
142
142
|
what an unset environment variable looks like, and accepting it would silently
|
|
143
143
|
decide where a deployment's objects live.
|
|
144
144
|
|
|
145
|
-
`x-amz-checksum-sha256` is deliberately not signed.
|
|
146
|
-
compatibility table implements SHA-256 as `COMPOSITE` only — not the
|
|
145
|
+
`x-amz-checksum-sha256` is deliberately not signed. The S4A-c probe found the
|
|
146
|
+
then-substrate MinIO honoring it, but R2's S3 compatibility table implements SHA-256 as `COMPOSITE` only — not the
|
|
147
147
|
`FULL_OBJECT` type a single-shot PutObject uses — so signing it would mint URLs
|
|
148
148
|
that pass against the test substrate and fail in production. `HEAD` only
|
|
149
149
|
observes existence, size and content type; it never verifies SHA-256.
|
|
@@ -309,7 +309,7 @@ export BYOK_TEST_S3_ENDPOINT=http://127.0.0.1:9100
|
|
|
309
309
|
bun run --filter @byok-sdk/cloud-dataplane test
|
|
310
310
|
```
|
|
311
311
|
|
|
312
|
-
Both variables, one gate: the compose file starts Postgres and
|
|
312
|
+
Both variables, one gate: the compose file starts Postgres and SeaweedFS together,
|
|
313
313
|
and the blob port writes a manifest row and signs against the object store in
|
|
314
314
|
the same call. Without either, the database-backed suites skip and say so. CI's
|
|
315
315
|
`dataplane` job sets `BYOK_REQUIRE_DATAPLANE=1`, which turns that absence into a
|
|
@@ -330,12 +330,14 @@ test rather than a step someone remembers. What runs:
|
|
|
330
330
|
with `psql -f`; the TypeScript side only runs it and checks it did not raise.
|
|
331
331
|
- The migrate runner's fault suite, and the reservation-admission concurrency
|
|
332
332
|
test that pins `reserve`'s no-oversell property against real contention.
|
|
333
|
-
- The object suite, against the compose
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
333
|
+
- The object suite, against the compose SeaweedFS (pinned by tag and digest; it
|
|
334
|
+
replaced MinIO when MinIO withdrew its public images). Seven of its nine
|
|
335
|
+
assertions are about what a presigned URL binds to, and a binding asserted
|
|
336
|
+
against our own verifier is self-certifying — so SeaweedFS adjudicates them
|
|
337
|
+
as an independent SigV4 implementation, and nothing stubs a signature check.
|
|
338
|
+
The two that are about retry semantics go through a fault injector wrapped
|
|
339
|
+
around `fetch`, which replaces individual attempts and never answers a
|
|
340
|
+
request itself.
|
|
339
341
|
- The worker suites, always for packaging and opt-in for serving:
|
|
340
342
|
`worker-packaging.test.ts` dry-runs `wrangler deploy` over `worker-smoke/`
|
|
341
343
|
on every run, and `worker-e2e.test.ts` additionally serves that fixture with
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byok-sdk/cloud-dataplane",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "BYOK SDK hosted data plane: canonical Postgres + R2 stores, migrations, truth transactions, and maintenance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"clean": "rm -rf dist"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@byok-sdk/cloud": "0.
|
|
53
|
-
"@byok-sdk/core": "0.
|
|
54
|
-
"@byok-sdk/protocol": "0.
|
|
52
|
+
"@byok-sdk/cloud": "0.22.0",
|
|
53
|
+
"@byok-sdk/core": "0.22.0",
|
|
54
|
+
"@byok-sdk/protocol": "0.22.0",
|
|
55
55
|
"aws4fetch": "1.0.20",
|
|
56
56
|
"fast-xml-parser": "^5.10.1",
|
|
57
57
|
"pg": "^8.22.0"
|