Prove the provisioned Setup URI workflow

This commit is contained in:
vorotamoroz committed 2026-07-20 16:37:35 +00:00
1 parent 499f9e93e5
commit 86492ca2cc
12 files changed
+822 -129

No files matched your search

+4
View File
@@ -24,6 +24,10 @@ Deno.test("generates an Object Storage Setup URI with a selected S3 profile", as
);
assert(decoded, "Commonlib could not decode the Object Storage Setup URI");
const effective = { ...DEFAULT_SETTINGS, ...decoded };
assert(
effective.isConfigured,
"the Setup URI left the imported device unconfigured",
);
assert(
effective.customChunkSize === 10,
"the journal chunk-size preset was not applied",
+1
View File
@@ -55,6 +55,7 @@ function applyEncryptedVaultSettings(
environment: SetupGeneratorEnvironment,
): void {
Object.assign(settings, {
isConfigured: true,
encrypt: true,
passphrase: requireValue(environment, "passphrase"),
usePathObfuscation: true,