Complete Commonlib rc.6 integration and setup workflows

This commit is contained in:
vorotamoroz
2026-07-21 15:00:28 +00:00
parent e005f9eb13
commit 1ef8c88139
150 changed files with 31041 additions and 260 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Utilities
These utilities support self-hosted CouchDB provisioning and Setup URI generation. They consume an exact immutable `@vrtmrz/livesync-commonlib` registry version declared in `livesync-commonlib-version.ts`; the utility lockfile records its resolved package integrity. The setup-tool test keeps the domain-specific static npm specifiers aligned with that declaration. Update the declaration, the two facades, and the lockfile together when selecting a newer release.
These utilities support self-hosted CouchDB provisioning and Setup URI generation. They consume an exact immutable `@vrtmrz/livesync-commonlib` registry version declared in `livesync-commonlib-version.ts`; the utility lockfile records its resolved package integrity. This selection is independent of the plug-in's runtime dependency and advances only when the utility behaviour is revalidated against a newer package. The setup-tool test keeps the domain-specific static npm specifiers aligned with that declaration. Update the declaration, the two facades, and the lockfile together when selecting a newer release.
## CouchDB provisioning
+8
View File
@@ -90,6 +90,14 @@ Deno.test("generates a random-room P2P Setup URI without copying a device identi
!effective.P2P_AutoBroadcast,
"P2P auto-broadcast was enabled without an explicit request",
);
assert(
effective.customChunkSize === 0,
"the P2P profile inherited the self-hosted CouchDB chunk-size recommendation",
);
assert(
effective.sendChunksBulkMaxSize === 1,
"the P2P profile did not retain the conservative manual resend size",
);
assert(
!Object.hasOwn(decoded, "P2P_DevicePeerName"),
"the Setup URI copied a device-specific P2P peer name",